Create Webhook
POST
/webhooks
Create a webhook that delivers selected event types to a target URL in the current namespace.
Parameters
Header Parameters
compatibility-date*
API compatibility date in YYYY-MM-DD format. Must be a date after 2025-11-01.
Type
Requiredstring
Example
"2025-11-01"Pattern
"^\\d{4}-\\d{2}-\\d{2}$"organization-id*
Type
Requiredstring
Min Length
1Max Length
40Request Body
application/json
url
string
Required
Max Length
256Format
"uri"secret
string
Required
Min Length
8Max Length
40eventTypes
string[]
Required
Min Items
1Responses
success.webhook.create
application/json
object
success
const:true
Required
webhook
object
Required