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 events

GET/v1/webhooks/{id}/events

Events sent to this endpoint, newest first, each with its outcome and number of attempts (from the endpoint’s last 100 delivery attempts).

Requires a full-access key.

Path parameters

idstringrequired
Webhook id.

Errors

not_foundHTTP 404
Unknown webhook.
GET/v1/webhooks/{id}/events
curl 'https://zapsmtp.xyz/v1/webhooks/019a1c55-0d6e-7f21-8b3a-5e9d4c7b2a10/events' \
  -H "Authorization: Bearer $ZAP_API_KEY"
Set ZAP_API_KEY in your environment.
Response 200 OK
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "object": "webhook_event",
      "id": "evt_5f0c2a9b7d1e4c3a8b6f2e10",
      "type": "email.delivered",
      "status": "delivered",
      "attempts": 2,
      "last_status_code": 200,
      "first_attempt_at": "2026-10-22T10:00:00Z",
      "last_attempt_at": "2026-10-22T10:05:01Z"
    }
  ]
}