Configure endpoints
Webhook endpoints are managed in the dashboard under Platform → Alerts → Webhooks. For each endpoint you can:- Set the destination URL that will receive deliveries
- Subscribe to specific events (you do not need to handle every event)
- Use the signing secret to verify deliveries with HMAC SHA-256
- View the delivery history to inspect payloads, response codes, and retry status
Event catalog
All events are grouped by resource. The catalog is also available programmatically — events are added over time without breaking existing subscriptions.Batches
To act on batch completion, subscribe to
batch-lifecycle and read the status field from the payload.
Model versions
Workspace
API keys
Verifying deliveries
Every delivery is signed with HMAC SHA-256 using the endpoint’s signing secret. The dashboard surfaces the secret on the endpoint detail view and lets you rotate it at any time. To verify a delivery on your side:- Read the signature headers from the incoming request.
- Recompute the HMAC SHA-256 of the payload using your endpoint’s signing secret.
- Compare against the value in the signature header using constant-time comparison.
- Reject deliveries whose timestamp is outside your tolerance window (5 minutes is a sensible default).
Retry and delivery semantics
Avra delivers webhooks with at-least-once semantics. Your endpoint should treat deliveries as idempotent and dedupe on the delivery ID surfaced in the request headers. Failed deliveries (non-2xx response or timeout) are automatically retried with exponential backoff. If all retries are exhausted, the delivery is marked failed in the dashboard and can be inspected or manually replayed from the delivery history.Observability
The dashboard exposes a delivery log per endpoint with response codes, payloads, and failure reasons. Useful for debugging integration issues without instrumenting your own consumer. Individual deliveries can be replayed manually.Best practices
- Respond within 5 seconds. Acknowledge the delivery immediately and process the payload asynchronously on your side.
- Dedupe on the delivery ID. Avra may retry deliveries; idempotent consumers prevent double-processing.
- Use separate endpoints per environment. Different secrets, different delivery logs, no cross-contamination.
- Subscribe narrowly. Register endpoints only for the events you actually consume.