Endpoints
GET /webhooks/{id}/deliveries
Delivery log for a subscription — debug why your handler didn't fire.
GET
/api/v1/webhooks/{id}/deliveriessecret keyPaginated delivery history for one subscription. Each row tells you what we tried to send, when, how many attempts have run, the HTTP status your endpoint returned, and the next retry timestamp. This is the source of truth when debugging missing events. Same `{ data, pagination }` envelope as other listings.
Body parameters
limitinteger1–100. Default 50.offsetintegerDefault 0.statusstringFilter by `pending` · `succeeded` · `failed` · `dead_letter`.
Request
curl "https://sandbox.key2pays.com/api/v1/webhooks/wh_3f6c7b1…/deliveries?status=failed&limit=10" \ -H "Authorization: Bearer sk_test_51N8mP...exampleK3Y"
Response
{
"data": [
{
"id": "wd_a749dc7…",
"event": "payment.completed",
"status": "failed",
"attempts": 3,
"lastStatusCode": 503,
"lastError": "Service Unavailable",
"nextAttemptAt": "2026-05-12T18:05:00.000Z",
"succeededAt": null,
"createdAt": "2026-05-12T17:48:00.000Z",
"relatedTxId": "TXN-MP2WEMT1-KAPL"
}
],
"pagination": { "total": 4, "limit": 10, "offset": 0, "pages": 1 }
}