Skip to main content

Create a webhook

POST 

/v1/projects/:project_id/webhooks

Register an endpoint and subscribe it to one or more event types. The response carries secret — the signing key, in plaintext. This is the only time it is returned. Store it where your receiver can read it; if you lose it, rotate rather than re-create, so the endpoint keeps its delivery history. A project holds at most 20 webhooks, inactive ones included; the 21st is refused with 409 webhook_limit_reached. Returns 501 on a deployment with no credential-sealing key configured, since the secret could not then be stored safely.

Request​

Responses​

Webhook created. The signing secret is included, once.