GET
/
webhooks
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
    }
  ]
}
This endpoint requires your private API key.

Response

200 - application/json
The webhooks have been successfully retrieved. Requires private API key in Bearer token.
limit
number | null
required

The limit of the pagination.

offset
number | null
required

The offset of the pagination.

total
number | null
required

The total number of results. If null, the total is unknown.

results
object[]
required