POST
/
abdm
/
v1
/
care-contexts
/
discover
curl --request POST \
  --url https://api.eka.care/abdm/v1/care-contexts/discover \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "hip_id": "<string>",
  "ref_id": "<string>"
}'
{
  "patient": [
    {
      "care_contexts": [
        {
          "display": "<string>",
          "id": "<string>"
        }
      ],
      "display": "<string>",
      "id": "<string>"
    }
  ],
  "txn_id": "<string>"
}

Authorizations

Authorization
string
header
required

The API requires a Bearer token (JWT) for authentication.

Body

application/json
hip_id
string
required

Unique identifier for the Health Information Provider (HIP).

ref_id
string

The unique identifier for the patient within the Healthcare Information Provider (HIP), such as the patient's registration ID, email address, or phone number used at the hospital or lab.

Response

200
application/json
OK
patient
object[] | null
txn_id
string

Transaction ID required for the next API call.