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 names that the webhook will send. Defaults to ["*"] (all event names)
.
The event types that the webhook will send. Defaults to ["*"] (all event types)
.
Whether to flatten the event data. This is useful for downstream systems that don't support nested data structures. Defaults to false
.
Response
The date and time the webhook was created.
Whether to enable batching for the webhook.
The event names that the webhook will send. Use *
to match all event names.
The event types that the webhook will send. Use *
to match all event types.
Whether to flatten the event data. This is useful for downstream systems that don't support nested data structures.
The URL that the webhook will send events to.
The UUID of the webhook. Automatically generated.
Was this page helpful?