Delivery analytics
Analytics endpoints for event-webhook messages and their destinations.
These endpoints read the delivery metrics of event-webhook messages. They need analytics:read. See the overview.
| 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
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
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
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"
