POST
/
abdm
/
v1
/
care-contexts
/
discover
/
link
/
init
curl --request POST \
  --url https://api.eka.care/abdm/v1/care-contexts/discover/link/init \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cc_ref_id": "<string>",
  "patient_ref_id": "<string>",
  "txn_id": "<string>"
}'
{
  "txn_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
cc_ref_id
string
required

Unique Identifier for the care context.

patient_ref_id
string
required

The unique identifier for the patient within the Healthcare Information Provider (HIP).

txn_id
string
required

Transaction ID received in the previous API response.

Response

200
application/json
OK
txn_id
string

Transaction ID required for the next API call.