> ## Documentation Index
> Fetch the complete documentation index at: https://docs.traceback.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Alert Routing & Webhooks

> Route high-severity incident notifications to Slack, PagerDuty, and custom webhooks.

Traceback provides a flexible rules engine to trigger alerts based on error thresholds, spike frequencies, and regression events.

## Notification Destinations

* **Slack / Discord**: Post enriched crash summaries with stack traces and AI root-cause snippets to targeted channels.
* **PagerDuty / Opsgenie**: Automatically page on-call engineers for high-severity P0/P1 incidents.
* **Linear / Jira / GitHub Issues**: Automatically file tickets with full repro steps.
* **Custom HTTP Webhooks**: POST JSON payloads to your internal endpoints.

***

## Webhook Payload Example

When an alert triggers, Traceback posts the following payload:

```json theme={null}
{
  "event": "incident.triggered",
  "incident_id": "inc_829104",
  "project": "checkout-service",
  "environment": "production",
  "title": "Unhandled Rejection: Stripe webhook timeout",
  "first_seen": "2026-09-03T18:00:00Z",
  "error_count_last_5m": 142,
  "affected_users": 89,
  "ai_summary": "Network timeout calling Stripe /v1/charges due to elevated latency on upstream gateway.",
  "permalink": "https://app.traceback.dev/issues/iss_9281"
}
```
