Receive the other side's transfer status
Hosted by the PHR application and by the HIU, 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 and the HIU. This API is used to receive the status of the health record transfer process: the HIU receives what the PHR app sent to notify, and the PHR app receives what the HIU sent. 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 transaction id, the session status and each care context's transfer status. When the transfer completed. TRANSFERRED, PARTIAL_TRANSFERRED or FAILED from the PHR app or health locker; RECEIVED, PARTIAL_RECEIVED or FAILED from the HIU. One of DELIVERED or ERRORED from the PHR app or health locker; VALID, CORRUPTED, BLANK or ERRORED from the HIU. One of Authorizations
Authorizationbearer tokenRequiredHeaders
request-idstringRequiredtimestampstringRequiredx-hiu-idstringRequiredBody
notificationobjectRequirednotification.transactionIdstringRequirednotification.doneAtstringRequirednotification.statusNotificationobjectRequirednotification.statusNotification.sessionStatusstringRequiredTRANSFERREDPARTIAL_TRANSFERREDRECEIVEDPARTIAL_RECEIVEDFAILEDnotification.statusNotification.statusResponsesobject[]Requirednotification.statusNotification.statusResponses.careContextReferencestringRequirednotification.statusNotification.statusResponses.hiStatusstringRequiredDELIVEREDERROREDVALIDCORRUPTEDBLANKnotification.statusNotification.statusResponses.descriptionstringResponses
Where this fits
You produce this callback by calling Notify the HIE-CM of the transfer status, once, after the data transfer completes..