Skip to main content
GET
/
api
/
canary
/
webhook-endpoints
List Webhook Endpoints
curl --request GET \
  --url http://localhost:3000/api/canary/webhook-endpoints \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "webhook_001",
      "merchantId": "merchant_456",
      "url": "https://example.com/webhooks",
      "events": [
        "checkout.session.completed",
        "purchase.succeeded",
        "transfer.completed"
      ],
      "active": true,
      "metadata": {},
      "createdAt": "2025-01-15T10:30:00.000Z",
      "updatedAt": "2025-01-15T10:30:00.000Z"
    }
  ],
  "pagination": {
    "limit": 50,
    "offset": 0,
    "total": 3,
    "hasMore": false
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

merchantId
string
required

The ID of the merchant. This parameter is required.

limit
number

Maximum number of records to return

offset
number

Number of records to skip

Response

Successfully retrieved webhook endpoints

data
object[]
required
pagination
object
required