Overview
The Webhook Subscriptions API lets an organization register HTTP or HTTPS endpoints that receive signed JSON payloads when subscribed events occur. Subscriptions are scoped to an organization, and every delivery includes anX-Allternit-Signature header computed with HMAC-SHA256 over the payload.
For details on verifying delivery signatures and example consumers, see the general Webhooks page.
Base URL
Authentication
All subscription routes require a valid bearer token and an active organization. See Authentication.Subscription object
Endpoints
Events
Delivery makes up to 3 attempts per event. Connect errors, timeouts and 5xx responses are retried with a backoff of 5 s, then 20 s (base overridable with
ALLTERNIT_WEBHOOK_RETRY_BASE_SECS); a 4xx response is not retried. Each attempt is recorded and visible through the deliveries endpoint. Only session.event_created and deployment.run_updated are documented with a payload here; check the deliveries list for the exact body of the others.
Create a subscription
Request body
Example request
Example response
List subscriptions
Example response
Update a subscription
Request body
Example request
Delete a subscription
204 No Content on success.
List deliveries
status filter: pending, delivered, or failed (anything else returns 400). page defaults to 1; limit defaults to 50 and is clamped to 1-100. The response holds deliveries, total, page, and limit. A subscription outside your organization returns 404.