# webhooks.deliveries.stats

Summarize webhook deliveries of real events (not tests) for the last 1, 7 or 30 days: how many were delivered, failed or are still waiting, median and 95th percentile response times, deliveries per day, each endpoint's counts, the busiest event types and the most common failure reasons.

`GET | POST /api/v1/accounting/webhooks.deliveries.stats`

Permissions: `accounting:read`, `accounting:admin` · Roles: admin

MCP tool: `accounting_webhooks_deliveries_stats`

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `days` | integer |  | -9007199254740991 to 9007199254740991. Default `7`. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/webhooks.deliveries.stats \
  -H "Authorization: Bearer $OATMILK_API_KEY"
```

Reference page: https://app.getoatmilk.com/docs/api/webhooks.deliveries.stats
