Skip to main content

webhooks

A consent notification to an HIU bridge

Inbound to the HIU bridge, at the bridge URL you registered.

POST/v0.5/consents/hiu/notify

Authorizations

Authorizationbearer tokenRequired

The accessToken from POST /api/hiecm/gateway/v3/sessions. Send it as Authorization: Bearer <ACCESS_TOKEN>. M2 also uses per flow tokens, a link token for linking and an authorisation token for patient scoped calls. Their header names are not yet published.

Responses

202

Your bridge accepted the callback. The gateway validates the body you send back, so a 202 carrying the wrong body is still a failure.

The callback never arrives

Where this fits

Answer this callback by calling Acknowledge a consent notification, as the HIU.