# List deliveries

> List deliveries. GET /v1/webhooks/{id}/deliveries in the Raylight API.

### GET /v1/webhooks/{id}/deliveries

**List deliveries**

Auth: `Authorization: Bearer rl_live_...` with the `productions` scope.

Parameters:

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | uuid | yes | The endpoint id. |
| `limit` | query | integer | no |  |

Responses:

| Status | Meaning |
| --- | --- |
| 200 | Deliveries, newest first. |
| 400 | Invalid request. |
| 401 | Missing, invalid or revoked key. |
| 403 | The key lacks the `productions` scope (code `api_key_missing_scope`), or its owner has view-only access to the workspace (code `forbidden`). |
| 404 | No such endpoint or workspace for this key (code `not_found`). |
| 429 | Rate limited, or a monthly cap reached. |
| 503 | Webhooks are not switched on for this server (code `disabled`). Every webhook route answers this while they are off. |

Response body (200):

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `deliveries` | object[] | yes |  |
| `deliveries[].id` | uuid | yes |  |
| `deliveries[].endpointId` | uuid | yes |  |
| `deliveries[].productionId` | uuid \| null | yes |  |
| `deliveries[].event` | enum | yes | One of: `production.pitch_ready`, `production.skipped`, `production.greenlit`, `production.progress`, `production.delivered`, `production.failed`, `production.declined`, `production.cancelled`, `ping`. |
| `deliveries[].status` | enum | yes | One of: `pending`, `succeeded`, `exhausted`. |
| `deliveries[].attempts` | integer | yes |  |
| `deliveries[].nextAttemptAt` | datetime \| null | yes |  |
| `deliveries[].lastResponseStatus` | integer \| null | yes |  |
| `deliveries[].lastResponseBody` | string \| null | yes |  |
| `deliveries[].lastError` | string \| null | yes |  |
| `deliveries[].lastAttemptAt` | datetime \| null | yes |  |
| `deliveries[].deliveredAt` | datetime \| null | yes |  |
| `deliveries[].createdAt` | datetime | yes |  |

Example (curl):

```bash
curl https://api.raylight.app/v1/webhooks/$ID/deliveries \
  -H "Authorization: Bearer $RAYLIGHT_API_KEY"
```

## More

- Previous: [Send a test event](https://www.raylight.app/docs/reference/post-v1-webhooks-id-test.md)
- Next: [Redeliver an event](https://www.raylight.app/docs/reference/post-v1-webhooks-id-deliveries-deliveryid-redeliver.md)
- All docs: https://www.raylight.app/llms.txt
- Everything in one file: https://www.raylight.app/llms-full.txt
- OpenAPI: https://api.raylight.app/v1/openapi.json
