API Reference

List Webhook Event Attempts

GET /webhooks/:id/events/:event_id/attempts — every delivery try for one event.

GET/webhooks/:id/events/:event_id/attempts

Lists every try at delivering one event, oldest first: the first send, the automatic retries and any replays. The whole list comes back in one response (has_more is always false).

Needs an API key with read access.
Path parameters
idstringrequired

The webhook id.

event_idstringrequired

The event id (msg_…).

const res = await fetch('https://www.senddart.com/api/webhooks/17/events/msg_5c1e9a0f3b7d2e84a6c1/attempts', {
  method: 'GET',
  headers: { 'Authorization': 'Bearer mb_xxxxxxxxx' },
});
const data = await res.json();
console.log(data);

Response

{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "object": "webhook_event_attempt",
      "id": "90398",
      "event_id": "msg_5c1e9a0f3b7d2e84a6c1",
      "attempt": 1,
      "status": "failed",
      "response_status": 503,
      "error": null,
      "created_at": "2026-11-21T10:15:32.118Z"
    },
    {
      "object": "webhook_event_attempt",
      "id": "90412",
      "event_id": "msg_5c1e9a0f3b7d2e84a6c1",
      "attempt": 2,
      "status": "succeeded",
      "response_status": 200,
      "error": null,
      "created_at": "2026-11-21T10:16:33.402Z"
    }
  ]
}
The attempt object
attemptnumberoptional

The try number, starting at 1. A replay takes the next number.

statusstringoptional

succeeded when your endpoint answered 2xx, otherwise failed.

response_statusnumber | nulloptional

The HTTP status your endpoint answered with. null when there was no answer.

errorstring | nulloptional

Why the try failed when there was no usable answer, such as a timeout.

An unknown webhook or event id returns 404 not_found.