cURL
curl --request GET \ --url https://api.trench.dev/webhooks
{ "limit": 123, "offset": 123, "total": 123, "results": [ { "uuid": "123e4567-e89b-12d3-a456-426614174000", "url": "https://your-webhook-url.com", "enableBatching": true, "createdAt": "2021-01-01T00:00:00.000Z", "eventTypes": [ "page", "track", "identify", "group" ], "eventNames": [ "UserSignedUp", "UserLoggedIn" ], "flatten": true } ] }
Get all webhooks under your account.
The webhooks have been successfully retrieved. Requires private API key in Bearer token.
The limit of the pagination.
The offset of the pagination.
The total number of results. If null, the total is unknown.
null
Show child attributes
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.
Was this page helpful?