---
title: "Health information data request"
method: POST
path: "/v0.5/health-information/cm/request"
tags: ["data flow", "hiu facing"]
---

# Health information data request

`POST /v0.5/health-information/cm/request`

Request for Health information against a consent id. CM would generate a transactionId against each consent and pass it as trnasaction context / correlation id to the HIP and also return the same to HIU via /on-request.

## Headers

- `Authorization` string, required
- `X-CM-ID` string, required

## Request body

- HIRequest
  - `hiRequest` object, required
    - `consent` Consent, required
      - `id` string, required
    - `dataPushUrl` string, required
    - `dateRange` DateRange, required
      - `from` string, date-time, required
      - `to` string, date-time, required
    - `keyMaterial` KeyMaterial, required
      - `cryptoAlg` string, string, required
      - `curve` string, string, required
      - `dhPublicKey` KeyObject, required
        - `expiry` string, date-time, required
        - `keyValue` string, string, required
        - `parameters` string, string, required
      - `nonce` string, 32 byte string, required
  - `requestId` string, uuid, required
  - `timestamp` string, date-time, required — Date time format in UTC, includes miliseconds YYYY-MM-DDThh:mm:ss.vZ

## Response `202`

Request Accepted

## Other responses

- `400` — **Causes:** * Bad request
- `401` — **Causes:** * Token is invalid or Link has expired
- `500` — **Causes:** * Downstream system(s) is down. * Unhandled exceptions.

---

[API](https://skmtc.net/ndhm/apis/ndhm-gateway.md) · [All operations](https://skmtc.net/ndhm/apis/ndhm-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ndhm/ndhm-gateway/versions/a440e2981b29/schema)
