API implemented by your organisation to receive consent notifications from Ozone.
Keep your records or consumer dashboard up to date by receiving notifications from Ozone when a consent (a consumer's permission to share data) is created or updated.
Your organisation implements this API, and Ozone calls it to send consent notifications. Use the Notify consent update endpoint reference for the request body, required headers and response schema.
Ozone Connect endpoints
Your organisation implements the following Ozone Connect (OC) endpoint for Ozone to call when consent notifications are enabled.
| OC endpoint | Method and path | Requirement | Purpose |
|---|---|---|---|
| Notify consent update | POST /consent/event/{operation} | Conditional | Receive a notification when a consent is created or updated. |
Implement this endpoint when consent notifications are enabled for your deployment – for example, to keep your consumer dashboard in step with consents that Ozone changes, or to meet the CDR joint account notification rules. Confirm the notification settings for your deployment with your Ozone delivery team.
When Ozone sends notifications
Ozone sends a notification after a consent is created or updated, if your deployment's notification settings cover the source of the change.
| Source of the change | Examples | Setting |
|---|---|---|
| Ozone | A scheduled Ozone job marks a consent as expired | notifyOnInternallySourcedEvent |
| Your organisation | Your application updates or revokes a consent through the Consent Manager APIs | notifyOnLfiSourcedEvent |
| The ADR | The ADR's request creates a consent or withdraws a sharing arrangement | notifyOnTppSourcedEvent |
Each setting is off unless enabled. Your deployment can also be configured to notify only when a consent's status changes (notifyOnlyOnStatusChange), so updates that leave the status unchanged do not trigger a notification.
Request handling
Ozone calls the endpoint under your Ozone Connect account information base path – for example, POST {base URL}/openbanking/v1/ais/consent/event/post. Confirm the base path configured for your deployment.
When your endpoint receives a notification:
- Read the
operationpath parameter to identify the consent change. Ozone sends it in lowercase:postmeans the consent was created;patchmeans it was updated. These values describe the change, not the notification's HTTP method, which is alwaysPOST. - Read the request body for the consent's current state. For an update, Ozone reads the consent again after the change and sends the updated record, including consumer and account identifiers where they have been recorded.
- Return HTTP
201or204to acknowledge receipt of the notification.
If the notification fails
Ozone sends the notification after the consent change has been saved. If your endpoint returns an error, such as 400 or 404, Ozone logs the failure. It does not retry the notification, and it does not roll back the consent change.
To make sure your records are complete, for example after an outage, retrieve consents from the Consent Manager rather than relying only on notifications.
This endpoint has no equivalent in the Consumer Data Right (CDR) APIs, so you do not need to translate its response into a CDR response format.
Related resources
- Notify consent update – endpoint reference.
- Consents – read the full consent from the Consent Manager.
- CDR Overview – API responsibilities and how consent management connects to data sharing.
- Data sharing diagram – the participating systems and data-sharing flow.