# List recent deliveries

`GET /webhooks/{id}/deliveries`

Requires the `businesses` scope.

Newest first, the debugging view: what was sent, when, and what your endpoint answered.

## Path parameters

| Name | Type | | Description |
|---|---|---|---|
| `id` | string | **required** | Webhook endpoint id. |

## Query parameters

| Name | Type | | Description |
|---|---|---|---|
| `limit` | integer |  | Max rows (default 50, cap 200). |

## Response

`200`: `{ "ok": true, … }`

| Field | Type | | Description |
|---|---|---|---|
| `ok` | boolean | **required** |  |
| `deliveries` | array of WebhookDelivery | **required** |  |

Errors: `400`, `401`, `403`, `404`, `429`. Every failure answers `{ "error": …, "reason": … }`. Branch on `reason`.

## Examples

### cURL

```bash
curl -X GET "$BASE/webhooks/$DOC_ID/deliveries?limit=" \
  -H "X-Api-Key: $KEY"
```
### Node

```node
const res = await fetch(`${BASE}/webhooks/${DOC_ID}/deliveries`, {
  method: 'GET',
  headers: {
    'X-Api-Key': KEY,
  },
})
const data = await res.json()
if (!data.ok) throw new Error(data.reason)
```
### Python

```python
import requests
res = requests.get(
    f"{BASE}/webhooks/{DOC_ID}/deliveries",
    headers={"X-Api-Key": KEY},
)
data = res.json()
```