Webhook deliveries
Delivery attempts are recorded before the first send. Each record carries the full payload, attempt count, response status, and any error.
Auth: Authorization: Bearer zpk_... required.
GET /v1/webhook-deliveries
List recent delivery attempts.
Query params
| Param | Type | Notes |
|---|---|---|
status | pending or success or failed or retrying | Filter by delivery status. |
event | string | Filter by event name (e.g. job.completed). |
limit | integer 1-200 | Default: 50. |
Response 200
{
"data": [
{
"id": "delivery_uuid",
"endpoint_id": "endpoint_uuid",
"customer_id": "cust_uuid",
"event": "job.completed",
"event_id": "event_uuid",
"payload": { "..." },
"status": "success",
"attempt_count": 1,
"last_error": null,
"last_response_status": 200,
"next_attempt_at": null,
"delivered_at": "2026-05-29T12:00:01Z",
"created_at": "2026-05-29T12:00:00Z",
"updated_at": "2026-05-29T12:00:01Z"
}
]
}Delivery statuses:
| Status | Meaning |
|---|---|
pending | Not yet attempted. |
success | Your endpoint returned 2xx. |
failed | All retries exhausted; giving up. |
retrying | Failed attempt; will retry with backoff. |
GET /v1/webhook-deliveries/:id
Get full detail of one delivery attempt.
Path param
id -- UUID of the delivery.
Response 200
Same shape as a list item, with payload fully populated.
Errors
| Status | Meaning |
|---|---|
404 | Delivery not found. |
Payload retention
payload is stored for 7 days (successful deliveries) or 30 days (failed/retrying). After that it is cleared. Metadata (status, attempt_count, last_error, last_response_status) is retained for forensic queries. Log payloads on your side if you need longer retention.