deep linking
Send an SMS with a deep link to the ABHA App
Also known as: SMS Deep Link Notify. Requests ABDM to send an SMS to a patient's mobile number containing a deep link to download/open the ABHA App. Used when a patient is not yet on ABDM and the HIP wants to invite them to link their health records.
Certification cases HIP_INIT_NOTIFY_HIECM, 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.
Body
requestIdstringRequiredUnique request ID (UUIDv4)
timestampstringRequirednotificationobjectRequirednotification.phoneNostringRequiredPatient mobile number with country code (e.g. 917812345678)
notification.hipobjectRequirednotification.hip.namestringRequirednotification.hip.idstringRequiredResponses
Callbacks
- After this call, ABDM posts The outcome of an SMS deep link notify call you made to
/v3/patients/sms/on-notify. Open the callback.