GET
/
api
/
webhook
/
v2
/
endpoints
curl --request GET \
  --url 'https://api.atoa.me/api/webhook/v2/endpoints?page=0&size=10' \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "4a124f25-fe8d-47a0-92c8-16d94cbfe24c",
      "url": "https://your-server.com/webhooks",
      "description": "Production orders endpoint",
      "environment": "PRODUCTION",
      "events": [
        { "event": "PAYMENTS_STATUS", "label": "Payment Status" },
        { "event": "REFUND_STATUS", "label": "Refund Status" }
      ],
      "hasAuthentication": false,
      "authenticationType": null,
      "failureCount": 0,
      "lastDeliveredAt": "2025-06-01T12:00:00.000Z"
    }
  ],
  "totalCount": 1,
  "page": 0,
  "size": 10
}

Returns a paginated list of all webhook endpoints for your business account. The environment (SANDBOX or PRODUCTION) is determined by the API key used — you will only see endpoints for that environment.

Authorization

Bearer <token>

Query Parameters

page
number

Zero-based page number. Defaults to 0.

size
number

Number of items per page (max 50). Defaults to 10.

Response

data
array

Array of endpoint objects. See Create endpoint for the full endpoint shape.

totalCount
number

Total number of endpoints for your account in this environment across all pages.

page
number

Current zero-based page number.

size
number

Page size used for this response.