List Webhook Deliveries

Webhooks

List Webhook Deliveries

The endpoint's recent deliveries, newest first — one row per event, however many attempts it took; 7 days (or the last 50, whichever is more) are kept. status and error are from the latest attempt, 0 when your endpoint could not be reached. attempts counts them, and nextRetryAt says when the next automatic one is due (null once delivered or out of retries). Test sends are listed as test with no eventId. Payloads are not returned: they carry your customers' details. Returns at most 50 rows and has no cursor: nextCursor is always null. A delivery counts toward switching the endpoint off only when it used up all six attempts: five such events in a row switch it off, and since each takes about 8½ hours to give up, a dead endpoint can take up to about two days to be switched off.

GET/webhooks/{id}/deliveries

Path parameters

idstringrequired
The endpoint's id (wh_…).

Headers

Katexs-Workspacestring
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace. Refused with 404 (Workspace not found.) when the id is unknown, is not one of your customers, or is not an org_… id; 410 when that customer was deleted (restore it with POST /customers/{id}/restore until it is erased); 403 when the key belongs to one customer workspace (it cannot act as another); 400 when your workspace is not a developer workspace. /customers/* and GET /customers/usage are your own workspace's and refuse the header with 400: call them without it.

Example request

bash
curl "https://app.katexs.com/api/v1/webhooks/{id}/deliveries" \
  -H "Authorization: Bearer $KATEXS_API_KEY"

Responses

StatusDescription
200The recent deliveries.
400Katexs-Workspace was sent from a workspace that is not a developer workspace.
401The key is missing, wrong or revoked. The answer is always the same, whichever it is.
403The key's access level (read-only or build) does not allow this request, the plan does not include it, or a customer's key named another workspace in Katexs-Workspace. code says which: key_scope_read, key_scope_build, workspace_header_forbidden, or forbidden.
404No such endpoint in this workspace.
410The customer named in Katexs-Workspace was deleted. POST /customers/{id}/restore brings it back until its erase date.
429Over a per-minute limit. Wait for Retry-After seconds. code and limit say which limit: rate_limit_resources (240 requests a minute for the workspace), rate_limit_family (2,400 across a developer's customers), rate_limit_calls, rate_limit_messages, rate_limit_codes, rate_limit_code_recipient, concurrent_calls or number_daily_limit.

Response fields

itemsobject[]required
nextCursornullrequired
Always null: the last 50 deliveries are one page. Present so every list reads alike.
200 response
{
  "items": [
    {
      "id": "whd_2b6f0c1e-7a4d-4e59-9c3a-1f8e6d2b7a40",
      "eventId": "evt_9d1c4b7e-3f2a-4c8d-b6e5-0a7f3e2d1c98",
      "event": "call.analysed",
      "status": 500,
      "delivered": false,
      "error": "Internal Server Error",
      "attempts": 2,
      "nextRetryAt": "2026-10-06T09:18:04.120Z",
      "at": "2026-10-06T09:12:03.551Z",
      "lastAttemptAt": "2026-10-06T09:13:04.120Z"
    },
    {
      "id": "whd_7c3e1a9f-2d4b-4f86-8a1c-6e5d4b3a2f10",
      "eventId": "evt_4a8e2c6d-1b3f-4d7a-9e5c-2f1a0b9c8d76",
      "event": "lead.captured",
      "status": 200,
      "delivered": true,
      "error": null,
      "attempts": 1,
      "nextRetryAt": null,
      "at": "2026-10-06T08:58:41.007Z",
      "lastAttemptAt": "2026-10-06T08:58:41.007Z"
    }
  ],
  "nextCursor": null
}

Last updated November 2026 · Found a problem? Email support@katexs.com