Webhook endpoints
Register an endpoint
Start receiving signed messages at your server.
See the webhook guide for how to check signatures.
Authentication
A signed-in session: the cookie from Log in. Changes also need the X-CSRF-Token header.
Body
urlstringrequiredYour HTTPS address.
eventsarrayrequiredconversion.succeeded, conversion.failed or conversion.cancelled.
descriptionstringoptionalA note for yourself.
Response
201 Created
webhook_endpointobjectid, url, description, events, created_at and previous_secret_expires_at.
secretstringThe signing secret. Store it now.
noticestringA reminder that the secret won't be shown again.
Errors
| Status | Code | What to do |
|---|---|---|
| 400 | invalid_request | The URL or events aren't valid. See field. |
| 409 | too_many_webhook_endpoints | Remove an endpoint first. |
| 401 | unauthenticated | Log in first, or log in again. |
| 403 | csrf_failed | Send the csrf_token as X-CSRF-Token. |