webhooks
The patient's decision, sent to the requester
On a grant, carries every consent artefact id created against the request, with the request id. On a denial, carries the denial, with reason set if the gateway supplied one.
Authorizations
Authorizationbearer tokenRequiredThe accessToken from POST /api/hiecm/gateway/v3/sessions. Send it as Authorization: Bearer <ACCESS_TOKEN>.
Body
notificationobjectRequirednotification.consentRequestIdstringRequirednotification.statusstringRequirednotification.reasonstringnullRequiredSet when the request was denied; null otherwise.
notification.consentArtefactsobject[]Requirednotification.consentArtefacts.idstringRequiredResponses
200Your bridge acknowledged the callback with 200 OK. The gateway validates the body you send back, so a 200 carrying the wrong body is still a failure.
Where this fits
Answer this callback by calling Acknowledge a consent notification, as the HIU.