# list_webhook_deliveries

List recent deliveries of an endpoint

`GET /v1/webhook-endpoints/{endpoint_id}/deliveries`

| | |
| --- | --- |
| Risk | read |
| Authentication | API key or OAuth access token |
| Scopes | `webhooks:read` |
| Idempotency | natural: repeating the call gives the same result |
| Dry run | not applicable |
| Success status | 200 |
| Response type | application/json |

## What it does

- Use when: You debug an endpoint: which events were sent, the receiver's status codes and when the next retry is.
- Do not use when: you want the event payloads (call list_events).
- Side effects: None.
- Reversible: Not applicable, nothing changes.
- Required scope: webhooks:read.
- Idempotency: safe to repeat.
- Typical next step: call redeliver_webhook for a delivery that failed.

## Scopes

- `webhooks:read`: Read webhook endpoints and their deliveries.

## Request

### Path parameters

| Field | Type | Description |
| --- | --- | --- |
| `endpoint_id` | string |  |

### Query parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer, min 1, max 200, default 50 | no | Page size, 1 to 200. Default 50. |
| `cursor` | string, max 1024 characters | no | Opaque cursor from next_cursor of the previous page. Valid only with the same filters. |

Every read also accepts `fields=a,b,c` to return only those top-level fields.

## Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | array of object | yes |  |
| `data[].id` | string | yes | The webhook-id header value, stable across retries. |
| `data[].endpoint_id` | string | yes |  |
| `data[].event_id` | string | yes |  |
| `data[].state` | one of "pending", "delivering", "succeeded", "failed", "exhausted", "canceled" | yes |  |
| `data[].attempts` | integer, min -9007199254740991, max 9007199254740991 | yes |  |
| `data[].next_attempt_at` | string or null | yes |  |
| `data[].last_status` | integer, min -9007199254740991, max 9007199254740991 or null | yes | HTTP status of the last attempt, when the receiver answered. |
| `data[].last_error_class` | string or null | yes | timeout, network, dns_error, blocked_address, redirect, http_4xx, http_5xx, rate_limited, gone or consumer_lost. |
| `data[].last_duration_ms` | integer, min -9007199254740991, max 9007199254740991 or null | yes |  |
| `data[].created_at` | string | yes | RFC 3339 UTC timestamp. |
| `data[].finished_at` | string or null | yes |  |
| `next_cursor` | string or null | yes | Pass as cursor to get the next page; null on the last page. |
| `has_more` | boolean | yes |  |

## Examples

### page

Request:

```bash
curl 'https://api.seemly.com/v1/webhook-endpoints/whe_4d8x2p0q7r3m9k1v5t6w8y0z/deliveries' \
  -H "Authorization: Bearer $SEEMLY_API_KEY"
```

Response: `200`:

```json
{
  "data": [
    {
      "id": "whd_7k3m9p2q4r6s8t0v1w3x5y7z",
      "endpoint_id": "whe_4d8x2p0q7r3m9k1v5t6w8y0z",
      "event_id": "wev_2c4e6g8j0m2p4r6t8w0y2a4c",
      "state": "succeeded",
      "attempts": 1,
      "next_attempt_at": null,
      "last_status": 200,
      "last_error_class": null,
      "last_duration_ms": 142,
      "created_at": "2026-12-02T09:31:00Z",
      "finished_at": "2026-12-02T09:31:01Z"
    }
  ],
  "next_cursor": null,
  "has_more": false
}
```

## Errors

| Status | Codes |
| --- | --- |
| 400 | [`validation_failed`](/developers/md/errors/validation_failed) |
| 401 | [`unauthenticated`](/developers/md/errors/unauthenticated), [`credential_revoked`](/developers/md/errors/credential_revoked), [`credential_expired`](/developers/md/errors/credential_expired) |
| 403 | [`insufficient_scope`](/developers/md/errors/insufficient_scope), [`plan_does_not_include`](/developers/md/errors/plan_does_not_include), [`api_suspended`](/developers/md/errors/api_suspended), [`consent_required`](/developers/md/errors/consent_required) |
| 404 | [`not_found`](/developers/md/errors/not_found) |
| 429 | [`rate_limited`](/developers/md/errors/rate_limited) |
| 503 | [`service_unavailable`](/developers/md/errors/service_unavailable) |

Every error is an `application/problem+json` body with a `code`, a `fix` sentence and `next_actions`. See [reading a problem response](/developers/md/guides/agents#reading-a-problem-response).

## Typical next steps

- [`redeliver_webhook`](/developers/md/operations/redeliver_webhook)
- [`get_webhook_endpoint`](/developers/md/operations/get_webhook_endpoint)

## Related

- [OpenAPI document](https://api.seemly.com/v1/openapi.json)
- [Agent guide](/developers/md/guides/agents)
