POST requests. Use it to react to a finished run or a new review task without polling the API.
Event subscriptions need a plan with the Webhooks feature and the event subscription permissions.
Before you start
- Generate a webhook signing key. Every delivery is signed with it, and without an active key deliveries fail.
- Pick the environment in the app header. A subscription belongs to the environment selected when you create it and receives only that environment’s events, so create one in Development for testing and another in Production for live traffic.
Creating a subscription
- Go to Settings → Event Subscriptions
- Click New Event Subscription
- Enter the endpoint URL. It must start with
https:// - Select the events to send (at least one)
- Optionally pick Workflows to limit the subscription to their events. Leave it empty to receive events from every workflow in the environment. The field shows only if your role can view workflows
- Optionally add a Description (up to 200 characters)
- Click Create Event Subscription
Sending a test event
Choose Send test event on a subscription to deliver aping event to its endpoint right away. The result shows the status code your endpoint answered, or the error. A test event is sent once, is never retried and never counts toward automatic disabling.
Viewing deliveries
Choose View deliveries to see every delivery of the last 7 days with its state (Pending, Succeeded, Failed or Skipped) and the status code, duration and response of its 10 most recent attempts. Filter by state to find the failures. A Skipped delivery was never sent because the subscription was disabled before its next attempt, for example while it was still being retried. Replay since sends it again.Replaying events
From the deliveries view of an active subscription you can:- Replay one delivery, to send that event again with its original
id. - Replay since a date and time within the last 7 days, to send again every failed or skipped delivery since then and every event the subscription missed, oldest first.
Disabled subscriptions
A subscription is disabled when its endpoint answers410 Gone, or automatically after 20 consecutive failed attempts with no success in 72 hours. Your organization’s admins get an in-app notification and an email, and the list shows the subscription as Disabled with the reason.