API
Create Webhook
Create a new webhook.
POST
/
webhooks
Body
application/json
url
string
requiredThe URL that the webhook will send events to.
enableBatching
boolean
Whether to enable batching for the webhook. Defaults to false
.
eventTypes
string[]
The event types that the webhook will send. Defaults to ["*"] (all event types)
.
eventNames
string[]
The event names that the webhook will send. Defaults to ["*"] (all event names)
.
Response
200 - application/json
uuid
string
requiredThe UUID of the webhook. Automatically generated.
url
string
requiredThe URL that the webhook will send events to.
enableBatching
boolean
requiredWhether to enable batching for the webhook.
createdAt
string
requiredThe date and time the webhook was created.
eventTypes
string[]
requiredThe event types that the webhook will send. Use *
to match all event types.
eventNames
string[]
requiredThe event names that the webhook will send. Use *
to match all event names.