Webhooks
Configure Webhook
Set your webhook URL
POST
Configure Webhook
Configure Webhook
Sets the account’s webhook URL. There is one URL per account, and every event goes to it.Request body
Webhook URL. HTTPS only on this endpoint, and it must not point at
localhost, 127.0.0.1, 0.0.0.0 or ::1. Deliveries are additionally refused at send time to any host that resolves to a private, loopback or link-local address. A host that does not resolve within 3 seconds is refused the same way.Response
The signing secret for
X-Webhook-Signature. Generated the first time a URL is set on the account and stable afterwards.Response
Rate limit
The webhook URL can be changed up to 10 times a minute per account. The budget is shared with the dashboard door described below (PATCH /api/v1/account/webhook). Over it, the request is refused with 429 and the URL stays as it was:
Response
Retry-After header. A request refused for an API key does not count against the budget.
The dashboard door
The dashboard uses a second pair of endpoints on the same account-level fields —GET /api/v1/account/webhook to read the URL and secret, and PATCH /api/v1/account/webhook to set or clear them. They accept the same values with two differences: PATCH also allows an http:// URL, and sending {"webhook_url": null} clears the webhook.
Clearing the URL keeps the secret, so re-enabling the webhook later does not invalidate the verification code you already deployed.
Both endpoints require a website session as well.