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.
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-Tokenheader in the webhook POST request.