POST
/
webhooks

Body

application/json
url
string
required

The 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
required

The UUID of the webhook. Automatically generated.

url
string
required

The URL that the webhook will send events to.

enableBatching
boolean
required

Whether to enable batching for the webhook.

createdAt
string
required

The date and time the webhook was created.

eventTypes
string[]
required

The event types that the webhook will send. Use * to match all event types.

eventNames
string[]
required

The event names that the webhook will send. Use * to match all event names.