AlertsDelivery Channels
Webhooks
Send alert payloads to any HTTP endpoint for custom integrations.
For custom integrations, Sazabi can POST alert payloads to any HTTP endpoint.
Features
- Send alert data to any URL
- JSON payload with full alert details
- Automatic retry on failure (3 attempts with exponential backoff)
Setup
Navigate to Settings > Integrations > Webhooks.
Enter your webhook URL.
Optionally add custom headers for authentication.
Test the webhook with a sample payload.
Webhook payload
When an alert is triggered, Sazabi sends a POST request with the following structure:
{
"timestamp": "2024-01-15T10:23:45Z",
"event": "alert.triggered",
"alert": {
"id": "alert_abc123",
"name": "Checkout errors elevated",
"severity": "high",
"status": "open",
"whatHappened": "Payment processing errors increased 5x in the last 10 minutes",
"whyItHappened": "Database connection pool exhausted under load",
"howToFix": "Scale up database connection pool or restart payment service",
"createdAt": "2024-01-15T10:23:45Z",
"projectId": "proj_xyz789",
"projectName": "Production API",
"alertThreadUrl": "https://app.sazabi.com/threads/thread_def456"
},
"organization": {
"id": "org_abc123"
}
}Event types
Webhooks are triggered for the following events:
| Event | Description |
|---|---|
alert.triggered | New alert triggered |
alert.resolved | Alert marked as resolved |
alert.muted | Alert was muted |
alert.unmuted | Alert was unmuted |
Webhook deliveries are retried up to 3 times with exponential backoff. If all retries fail, the delivery is marked as failed in your integration logs.