Create Webhook
Webhooks
Create Webhook
Register a new webhook endpoint and receive its signing secret
POST
Create Webhook
Request
Headers
Requires an API key with the
webhooks:write permission.Body Parameters
HTTPS URL that will receive event deliveries. Must start with
https://. URLs that resolve to private IP ranges are rejected (SSRF protection).Array of event type strings to subscribe to. See Webhooks for the full list of 28 supported events.
Optional human-readable description (max 200 chars).
Whether the webhook should be active immediately. Set to
false to register but pause deliveries.Response
Example Response
Errors
| Status | Code | Description |
|---|---|---|
| 400 | invalid_url | URL is not HTTPS, is malformed, or resolves to a private IP range |
| 400 | invalid_events | One or more event names are not recognized |
| 400 | missing_required_field | url or events is missing |
| 401 | invalid_key | Invalid or expired API key |
| 403 | insufficient_permissions | Missing webhooks:write permission |
| 409 | duplicate_webhook | A webhook with this URL already exists |
| 429 | rate_limited | Rate limit exceeded |