GuidesAPI ReferenceRelease Notes
Log In
API Reference

Consent notifications

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 endpointMethod and pathRequirementPurpose
Notify consent updatePOST /consent/event/{operation}ConditionalReceive 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 changeExamplesSetting
OzoneA scheduled Ozone job marks a consent as expirednotifyOnInternallySourcedEvent
Your organisationYour application updates or revokes a consent through the Consent Manager APIsnotifyOnLfiSourcedEvent
The ADRThe ADR's request creates a consent or withdraws a sharing arrangementnotifyOnTppSourcedEvent

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:

  1. Read the operation path parameter to identify the consent change. Ozone sends it in lowercase: post means the consent was created; patch means it was updated. These values describe the change, not the notification's HTTP method, which is always POST.
  2. 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.
  3. Return HTTP 201 or 204 to 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