Skip to content

Create Webhook

POST
/webhooks

Create a webhook that delivers selected event types to a target URL in the current namespace.

Authorizations

bearerAuth

Generate an API token here

Type
HTTP (bearer)

Parameters

Header Parameters

compatibility-date*

API compatibility date in YYYY-MM-DD format. Must be a date after 2025-11-01.

Type
string
Required
Example"2025-11-01"
Pattern
"^\\d{4}-\\d{2}-\\d{2}$"
organization-id*
Type
string
Required
Min Length
1
Max Length
40

Request Body

application/json
object
Max Length256
Format"uri"
Min Length8
Max Length40
string[]
Required
Min Items1

Responses

success.webhook.create

application/json
object
object
Required

Playground

Authorization
Headers
Body

Samples