Creating webhooks

To set up a webhook, go to the integrations page. From there, click Webhooks, then Add webhook.

You have 5 seconds to respond to a notification. If you don't send a response within that time, the notification is treated as failed and will be retried only once after 1 minute.

Webhook Secret

Setting a webhook secret allows you to ensure that POST requests sent to the payload URL are from Onset. When you set a secret, you'll receive the X-Onset-Token header in the webhook POST request.

Example Payload

{
  id: "f29e155c-9e40-4eab-95a1-8c7bba728749",
  event: "release.created",
  data: {
   ...
  }
}

Last updated