Create Webhook
Create a new webhook.
Once a webhook is created, events will be sent to it based on the criteria specified in the webhook.
The data sent follows the Event schema and is sent as a JSON array in the POST request in the data
field. Below is an example request body:
Body
The URL that the webhook will send events to.
Whether to enable batching for the webhook. Defaults to false
.
The event types that the webhook will send. Defaults to ["*"] (all event types)
.
The event names that the webhook will send. Defaults to ["*"] (all event names)
.
Whether to flatten the event data. This is useful for downstream systems that don't support nested data structures. Defaults to false
.
Response
The UUID of the webhook. Automatically generated.
The URL that the webhook will send events to.
Whether to enable batching for the webhook.
The date and time the webhook was created.
The event types that the webhook will send. Use *
to match all event types.
The event names that the webhook will send. Use *
to match all event names.
Whether to flatten the event data. This is useful for downstream systems that don't support nested data structures.
Was this page helpful?