Developer API
Notifications
Read the team's notification feed and manage members' alert subscriptions.
The feed
Notifications belong to the team; whether each is read is the token owner's own.
| Route | Permission | Notes |
|---|---|---|
GET /notifications | notifications.read | Newest first. Filters unread=true and category. Returns {items, next_cursor, unread_count}. |
GET /notifications/unread-count | notifications.read | {unread_count} |
PATCH /notifications/{notification_id} | notifications.mark_read | {"read": true} or false |
PATCH /notifications/read-all | notifications.mark_read | {marked, unread_count} |
{
"id": "880",
"type": "incident.opened",
"category": "incident",
"severity": "critical",
"title": "Checkout API is down",
"message": "2 of 2 regions failing",
"action_url": "https://app.stazus.com/teams/7/incidents/42",
"project_id": "301", "project_name": "Customer API",
"check_id": "501", "check_name": "Checkout API",
"incident_id": "42", "incident_title": "Checkout API is down",
"actor_user_id": null,
"metadata": {},
"created_at": "2026-11-08T08:05:00.000Z",
"read_at": null
}Types include incident.opened, incident.escalated, incident.deescalated, incident.resolved, incident.reopened, warning.raised, budget.exceeded and system.broadcast, and more may be added. Notifications are kept for 90 days.
Subscriptions
Members get alert email for the projects and checks they're subscribed to, at their enabled, verified contact methods.
| Route | Permission | Notes |
|---|---|---|
GET /members/{user_id}/subscriptions | subscriptions.read | |
POST /members/{user_id}/subscriptions | subscriptions.create | Exactly one of {"check_id": "501"} or {"project_id": "301"}. 409 already_subscribed. |
DELETE /members/{user_id}/subscriptions/{subscription_id} | subscriptions.delete | 204 |
GET /checks/{check_id}/recipients | subscriptions.read | Who an alert about the check would email and whether they can receive it. |
Last updated on