Notify HIU when consent is APPROVED, DENIED or REVOKED
Hosted by the HIP/HIU, not by ABDM. ABDM calls this endpoint at the callback URL registered for your bridge, so the path below is relative to that URL.
Health information user will get notified about the consent request granted or denied, consent revoked, consent expired. For consent request grant, status=GRANTED, consentRequestId=<consent-REQUEST-ID>, and consentArtefacts is an array of generated consent artefact Ids. For consent request expiry, status=EXPIRED, consentRequestId=<consent-REQUEST-ID> For consent request denied, status=DENIED, consentRequestId=<consent-REQUEST-ID> For consent revocation, status=REVOKED, consentArtefacts is an array of revoked consent artefact ids. Unique UUID for track the end to end request transaction Actual time of the request was initiated, ISO 8601 represents date and time by starting with the year, followed by the month, the day, the hour, the minutes, seconds and milliseconds. Identifier of the health information user to which the request was intended The consent request id from a consent. Allows alpha numeric character and special characters like "^[a-zA-Z0-9_\-@,. ":/]{0,255}$" One of List of consent artefact ids that were created. OK Bad Request. The request could not be processed because it was malformed or failed validation - a missing mandatory field, a value in the wrong format, or a header that did not match the body.Authorizations
Authorizationbearer tokenRequiredHeaders
REQUEST-IDstringRequiredTIMESTAMPstringRequiredX-HIU-IDstringRequiredBody
notificationobjectRequirednotification.consentRequestIdstringRequirednotification.statusstringRequiredGRANTEDEXPIREDDENIEDREQUESTEDREVOKEDnotification.reasonstringRequirednotification.consentArtefactsobject[]Requirednotification.consentArtefacts.idstringRequiredResponses
200400
Where this fits
hiecm-m3.yaml declares this callback at module level and names no call against it. Which call produces it is not documented, so this page does not say.