What it is for
This page is for teams that integrate with notifications or read their data: how an integration sends, which routes the module uses and with which permission, and what each table holds. It replaces the old “Preferences & Inbox” page, which now redirects here; preferences and the inbox are covered in the routes and tables below.Sending from an integration
An external system sends withPOST /api/v3/notification and an API key.
Example: an event item that names the customer by RUT, sent with the
x-api-key header.
Each call creates a request that groups its sends and counts accepted, duplicated and rejected items.
POST /api/v3/notification/dispatch is deprecated: it answers with Deprecation and Sunset headers and only
accepts the portal onboarding welcome.
Routes of the module
All routes are under/api/v3/notification.
The webhooks of the providers are in Providers and webhooks;
which role holds each permission is in Roles and permissions.
The own-preference routes take the user from the session and refuse to turn off a category that cannot be turned
off. They never accept another user.
POST /{id}/retry and POST /{id}/resend check the send again before writing anything: an inactive event or
channel, a suppressed address or an opt-out answers 409 with the code notification-not-eligible and the
decision reason in reason. Quiet hours, the frequency cap and the time to live do not apply.Data model
notification.