Aller au contenu principal
Version: 1.0.0

Notifications API

In-app notification centre, preferences, personal and organisation webhooks (Discord and signed generic webhooks), broadcasts and the delivery log. No browser push.

Notifications are created from platform events (Kafka), monitoring alerts and broadcasts. Each notification type has default channels (in_app, email, discord, webhook) that users override in their preferences; opt-in types have none. Deliveries are idempotent per (source event, recipient, channel), retried with exponential backoff and marked failed after DELIVERY_MAX_ATTEMPTS (event notifications.delivery.failed).

Texts are rendered in French or English: ?locale=, then Accept-Language, then French.

Generic webhooks receive a CloudEvent (application/cloudevents+json, type atl.notification.<type>, id = delivery ID) signed with X-Atl-Signature: sha256=&lt;hex HMAC-SHA256 of the raw body with the webhook secret&gt;, plus X-Atl-Delivery. Webhook URLs and secrets are encrypted (keyring, subject = webhook ID); the secret is only returned at creation and rotation. Destinations resolving to private, loopback or link-local addresses are refused and redirects are not followed.

Authorization: users manage their own notifications, preferences and personal webhooks (user principals or user API keys). Organisation webhooks need notifications.webhook.manage on atl:notifications:*:webhook/<id|*>; broadcasts need notifications.broadcast.send on atl:notifications:*:broadcast/*. Writes are audited.

Authentication​

Security Scheme Type:

apiKey

Cookie parameter name:

atl_session