Webhook endpoints

Register an endpoint

Start receiving signed messages at your server.

POST/v1/webhook-endpoints

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

urlstringrequired

Your HTTPS address.

eventsarrayrequired

conversion.succeeded, conversion.failed or conversion.cancelled.

descriptionstringoptional

A note for yourself.

Response

201 Created

webhook_endpointobject

id, url, description, events, created_at and previous_secret_expires_at.

secretstring

The signing secret. Store it now.

noticestring

A reminder that the secret won't be shown again.

Errors

StatusCodeWhat to do
400invalid_requestThe URL or events aren't valid. See field.
409too_many_webhook_endpointsRemove an endpoint first.
401unauthenticatedLog in first, or log in again.
403csrf_failedSend the csrf_token as X-CSRF-Token.