hip linking
Link Care Context Notify
Sends an explicit notification to the ABDM Gateway about a newly linked care context. This is called after successful care context linking to ensure the patient's ABHA App receives a timely notification with the care context details.
Certification cases HIP_INTI_LINK_501, HIP_INTI_LINK_502, HIP_INTI_LINK_503, HIP_INTI_LINK_504, HIP_INTI_LINK_505, HIP_INTI_LINK_506
Authorizations
Authorizationbearer tokenRequiredBearer token obtained from POST /hiecm/gateway/v3/sessions
Headers
REQUEST-IDstringRequiredA fresh UUID that you generate for this request. The callback that answers it carries the same value, so this is how you match an asynchronous reply to the call that caused it. Store it before you send the request, not after.
TIMESTAMPstringRequiredThe current time in ISO 8601, UTC, with milliseconds and a Z suffix, from a synchronised clock. The sandbox rejects IST and accepts UTC.
X-CM-IDstringRequiredWhich consent manager you are talking to. sbx on the sandbox and abdm in production. A dedicated error code exists for an invalid value here, which tells you how often it is wrong.
X-HIP-IDstringRequiredIdentifier of the Health Information Provider the request or callback belongs to. This is per facility, and it is what a callback arriving at your one bridge URL is routed on. The bridge URL and your credentials belong to the integration, not to the facility.
Body
notificationobjectRequirednotification.patientobjectRequirednotification.patient.idstringPatient ABHA address
notification.careContextobjectRequirednotification.careContext.patientReferencestringnotification.careContext.careContextReferencestringnotification.hiTypesobject[]Requirednotification.datestringRequirednotification.hipobjectRequiredid, name and type are all required. What name and type contain beyond a string is not documented.
notification.hip.idstringRequirednotification.hip.namestringRequirednotification.hip.typestringRequiredResponses
Callbacks
- After this call, ABDM posts The outcome of a care context notify call you made to
/v3/links/context/on-notify. Open the callback.