---
title: "Share patient profile details"
method: POST
path: "/v0.5/patients/profile/share"
tags: ["profile", "cm facing"]
---

# Share patient profile details

`POST /v0.5/patients/profile/share`

Request for sharing patient's profile details to HIP

## Headers

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

## Request body

- ShareProfileRequest
  - `patient` object, required
    - `hipCode` string — additional details about HIP retrieved after scanning QR.
    - `userDemographics` object, required
      - `address` PatientAddress
        - `district` string
        - `line` string
        - `pincode` string
        - `state` string
      - `dayOfBirth` integer
      - `gender` 'M' | 'F' | 'O' | 'U', required
      - `healthId` string, required
      - `healthIdNumber` string, required
      - `identifiers` Identifier[]
        - `type` 'MOBILE' | 'MR' | 'NDHM_HEALTH_NUMBER' | 'HEALTH_ID'
        - `value` string
      - `monthOfBirth` integer
      - `name` string, required
      - `yearOfBirth` integer, required
  - `requestId` string, uuid, required — a nonce, unique for each HTTP request.
  - `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:** * Invalid Request
- `401` — **Causes:** * Unauthorized request
- `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)
