Destinations and routes
A destination is where team alerts are sent:shared_email: a shared inbox such asops@example.com. It starts aspending. Kapso emails a verification link, and the destination becomesactiveonce someone opens it. Addresses that belong to a project member are rejected, because members get personal alerts instead.slack_channel: a channel in a connected Slack workspace. Connect it in the dashboard. After that, it shows up in the API and you can route alerts to it.
Event types
GET /notifications/events returns the catalog. Route on each entry’s key, for example workflow.execution_failed, billing.credits_low, or findings.detected.
Route alerts to a shared inbox
Create the destination:PUT /notifications/routes is idempotent. Repeating it returns the existing route.
Sending kind: "slack_channel" to POST /notifications/destinations returns 400. Add Slack channels in the dashboard, then use GET /notifications/destinations to get their IDs for routing.
Remove destinations and routes
DELETE /notifications/destinations/{destination_id} disables the destination and deletes its routes. DELETE /notifications/routes/{id} deletes a single route.
