Webhooks V2

Get all webhooks

Get all webhooks (paginated).

get/webhooks

Request

Query parameters

order'ASC' | 'DESC'
Example:ASC

ASC / DESC ordering (default DESC)

pageCursorstring

Cursor of the required page

pageSizenumber
Example:10

Maximum number of items in the page

Response

A paginated response containing WebhookDto objects

nextstring nullable

The ID of the next page

Example response

{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "url": "https://example.com/webhook",
      "description": "This webhook is used for transactions notifications",
      "events": [
        "transaction.created",
        "transaction.status.updated"
      ],
      "status": "ENABLED",
      "createdAt": 1625126400000,
      "updatedAt": 1625126400000,
      "webhookMtlsId": "6f1b7c62-0f2e-4f1a-9a5e-9f2b1c3d4e5f",
      "webhookOauthId": "123e4567-e89b-12d3-a456-426614174000",
      "customHeaders": [
        "x-gateway-key",
        "x-region-tag"
      ]
    }
  ],
  "next": "eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9"
}

Changes

No recorded changes to this operation across all 1 revision of this API.