Runs examples for real against your account. Test keys only; kept in this tab, never stored on our side. Get a key
ZapSMTP / Docs / Webhooks

List delivery attempts

GET/v1/webhooks/{id}/deliveries

List the last 100 delivery attempts of a webhook (newest first).

Requires a full-access key.

attempt starts at 1. body is the exact payload sent (omitted above 64 KB); error is omitted on success.

Path parameters

idstringrequired
Webhook id

Errors

restricted_api_keyHTTP 403
not_foundHTTP 404
webhook not found
GET/v1/webhooks/{id}/deliveries
curl 'https://zapsmtp.xyz/v1/webhooks/019a1c55-0d6e-7f21-8b3a-5e9d4c7b2a10/deliveries' \
  -H "Authorization: Bearer $ZAP_API_KEY"
Set ZAP_API_KEY in your environment.
Response 200 OK
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "event_id": "evt_4f1c9a2b7e3d5c8a1b6f0e2d",
      "event_type": "email.bounced",
      "attempt": 2,
      "status_code": 503,
      "error": "HTTP 503",
      "duration_ms": 412,
      "at": "2026-10-21T15:09:17.004Z",
      "body": {
        "id": "evt_4f1c9a2b7e3d5c8a1b6f0e2d",
        "type": "email.bounced",
        "created_at": "2026-10-21T15:04:12.381Z",
        "data": {
          "email_id": "019a1f2e-7c3b-7d41-9a52-0c4b8e6f1a23",
          "to": "jane@example.org"
        }
      }
    }
  ]
}