Notifications APIs
Internal dispatch and authenticated test-notification endpoints.
POST /api/notifications/dispatch
Internal endpoint for rule evaluation + fanout.
Headers
x-internal-key: <NOTIFICATION_SECRET>
content-type: application/jsonBody
{
"project_id": "uuid",
"fingerprints": ["sha256..."]
}Response
{
"sent": 3,
"failed": 1
}POST /api/notifications/test
Authenticated user endpoint to test one alert channel.
Body
{
"channel_id": "uuid"
}Behavior
- Verifies logged-in user owns the channel's project
- Sends synthetic alert through selected adapter
- Returns
{ "success": true }on success