Redeliver Webhook Events

Webhooks

Redeliver Webhook Events

Sends events to this endpoint again — the same body, event id and sentAt they first had, with x-katexs-attempt one higher. Either { "deliveryId": "whd_…" } for one delivery, sent now (the answer says whether it arrived; if it fails it joins the retry schedule), or { "since": "<ISO time>" } for every delivery that has not succeeded since then — at most 7 days back, when payloads are dropped — queued and sent within a minute (202 { queued }). The endpoint must be switched on. A build key may do this: it reaches only your own endpoint.

POST/webhooks/{id}/redeliver

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.

Request body

deliveryIdstring
One delivery (whd_…) to send again now.
sincestring (date-time)
Re-send every delivery that has not succeeded since this time; at most 7 days back.

Example request

bash
curl -X POST "https://app.katexs.com/api/v1/webhooks/{id}/redeliver" \
  -H "Authorization: Bearer $KATEXS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "deliveryId": "whd_2b6f0c1e-7a4d-4e59-9c3a-1f8e6d2b7a40"
}'

Responses

StatusDescription
200One delivery re-sent; what happened.
202Failed deliveries in the window queued.
400Neither or both of deliveryId and since, or since not a time within the last 7 days.
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 or delivery in this workspace.
409The endpoint is switched off; the delivery was a test or was sent before events were kept (nothing to re-send); or this delivery is being sent right now (try again in a minute).
410The event is older than 7 days; its payload is gone.
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

deliveredbooleanrequired
Whether the endpoint answered with a 2xx.
statusintegerrequired
What the endpoint answered; 0 when it could not be reached.
errorstring | nullrequired
Why it failed, or null.
attemptsintegerrequired
Attempts so far, this one included.
200 response
{
  "delivered": true,
  "status": 200,
  "error": null,
  "attempts": 3
}

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