---
title: "POST /abdm/v1/hip/patient/profile/on-share"
method: POST
path: "/abdm/v1/hip/patient/profile/on-share"
---

# POST /abdm/v1/hip/patient/profile/on-share

`POST /abdm/v1/hip/patient/profile/on-share`

This API receives the Token Generated by the facility.

## Headers

- `X-Pt-Id` string
- `X-Partner-Pt-Id` string
- `X-Hip-Id` string

## Request body

- ScanandshareHipScanAndShareOnRequest
  - `abha_address` string, required — Abha address of the patient.
  - `error` CommonsError
    - `code` integer — Error code indicating the type of error
    - `message` string — Detailed error message
  - `hip_code` string — Counter id at the facility
  - `request_id` string, required — Request ID that is received in the webhook call.
  - `token` ScanandshareToken
    - `expires_at` integer — Token expiry time
    - `token_number` string, required — Token number

## Response `202`

Accepted

## Other responses

- `4XX`
- `5XX`

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/revisions/9ea23456f722/schema)
