> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List deliveries handlers

> **Required scope:** read

**Required scope:** `read`

### Path parameters

<ParamField path="id" type="string" required>
  Webhook endpoint id
</ParamField>

### Query parameters

<ParamField query="limit" type="integer">
  Max deliveries (default 50, max 100)
</ParamField>

### Response

`DeliveryListResponse`

<ResponseField name="count" type="integer" required />

<ResponseField name="deliveries" type="DeliveryAttempt[]" required>
  <Expandable title="DeliveryAttempt">
    <ResponseField name="attempt" type="integer (int32)" required />

    <ResponseField name="duration_ms" type="integer (int64)" required />

    <ResponseField name="endpoint_id" type="string" required />

    <ResponseField name="error" type="string" />

    <ResponseField name="event_id" type="string" required />

    <ResponseField name="event_type" type="string" required />

    <ResponseField name="id" type="string" required />

    <ResponseField name="response_preview" type="string" />

    <ResponseField name="sent_at" type="string (date-time)" required />

    <ResponseField name="status_code" type="integer (int32)" />

    <ResponseField name="succeeded" type="boolean" required />
  </Expandable>
</ResponseField>

<ResponseField name="endpoint_id" type="string" required />

### Status codes

| Code  | Meaning                                            |
| ----- | -------------------------------------------------- |
| `200` | Recent delivery attempts, newest first             |
| `401` | Unauthorized — missing or invalid credentials      |
| `403` | Forbidden — the key/token lacks the required scope |
| `404` | Not found                                          |
| `429` | Rate limited — see Retry-After / X-RateLimit-Reset |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.nsr.stateset.com/api/v1/webhooks/{id}/deliveries' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "count": 2,
    "deliveries": [
      {
        "attempt": 1,
        "duration_ms": 8,
        "endpoint_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "error": "string",
        "event_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "event_type": "string",
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "response_preview": "string",
        "sent_at": "2026-08-31T14:22:05Z",
        "status_code": 1,
        "succeeded": true
      }
    ],
    "endpoint_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }
  ```
</ResponseExample>
