data field. Below is an example request body:
Body
The URL that the webhook will send events to.
"https://your-webhook-url.com"
Whether to enable batching for the webhook. Defaults to false.
true
The event types that the webhook will send. Defaults to ["*"] (all event types).
["page", "track", "identify", "group"]The event names that the webhook will send. Defaults to ["*"] (all event names).
["UserSignedUp", "UserLoggedIn"]Whether to flatten the event data. This is useful for downstream systems that don't support nested data structures. Defaults to false.
true
Response
The webhook has been successfully created. Requires private API key in Bearer token.
The UUID of the webhook. Automatically generated.
"123e4567-e89b-12d3-a456-426614174000"
The URL that the webhook will send events to.
"https://your-webhook-url.com"
Whether to enable batching for the webhook.
true
The date and time the webhook was created.
"2021-01-01T00:00:00.000Z"
The event types that the webhook will send. Use * to match all event types.
["page", "track", "identify", "group"]The event names that the webhook will send. Use * to match all event names.
["UserSignedUp", "UserLoggedIn"]Whether to flatten the event data. This is useful for downstream systems that don't support nested data structures.
true