Receive the HIU's data push URL and encryption key, as the PHR app
Hosted by the PHR application, not by ABDM. The HIE-CM calls this endpoint at the callback URL registered for your bridge, so the path below is relative to that URL.
This is a callback API for the PHR application. The HIE-CM provides the HIU's answer to the share request: the data push URL to post the records to, and the ECDH key material to encrypt them with. Generate your own key pair and nonce, encrypt each record, and POST them to the data push URL, then call POST /api/hiecm/patient-record/v3/notify with the transfer status. JWT access token issued by the ABDM session API after successful validation of client id and secret. Random UUID, a v4 style guid, unique per callback. ISO 8601 timestamp of when the callback was sent. Identifier of the health information user to which the request was intended. The data push URL and the encryption key. The transactionId the share request carried. The HIU's URL the PHR app posts the encrypted records to. The REQUEST-ID of the share request this answers.Authorizations
Authorizationbearer tokenRequiredHeaders
request-idstringRequiredtimestampstringRequiredx-hiu-idstringRequiredBody
hiRequestobjectRequiredhiRequest.transactionIdstringRequiredhiRequest.dataPushUrlstringRequiredhiRequest.keyMaterialobjectRequiredresponseobjectRequiredresponse.requestIdstringRequiredResponses
Where this fits
You produce this callback by calling Reply to a share request with the data push URL and the encryption key..