---
title: "Delivery analytics"
description: "Analytics endpoints for event-webhook messages and their destinations."
hidden: true
noindex: true
seo:
  noindex: true
---

These endpoints read the delivery metrics of event-webhook messages. They need `analytics:read`. See the [overview](/legacy).

| Method | Endpoint | Notes |
|---|---|---|
| `GET` | `/api/v2/analytics/delivery` | Messages, destinations, and errors |
| `GET` | `/api/v2/analytics/messages` | Aggregate message metrics |
| `GET` | `/api/v2/analytics/time-series` | Time-series message metrics (`granularity`) |
| `GET` | `/api/v2/analytics/top-urls` | Top destination URLs (`limit`) |

#### Message summary

```bash
curl "https://api.anlyon.com/api/v2/analytics/messages?startDate=2025-01-01T00:00:00Z&endDate=2025-01-31T23:59:59Z" \
  -H "Authorization: Bearer anlyon_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```

#### Time series

```bash
curl "https://api.anlyon.com/api/v2/analytics/time-series?startDate=2025-01-01T00:00:00Z&endDate=2025-01-31T23:59:59Z&granularity=day" \
  -H "Authorization: Bearer anlyon_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```

#### Top URLs

```bash
curl "https://api.anlyon.com/api/v2/analytics/top-urls?startDate=2025-01-01T00:00:00Z&endDate=2025-01-31T23:59:59Z&limit=10" \
  -H "Authorization: Bearer anlyon_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```
