Analytics
Daily email totals
GET/v1/analyticsrequires analytics:read
Aggregates by day over the requested range. Defaults to the last 30 days; the range cannot exceed 366 days.
Requestcurl -X GET https://api.transmit.dev/v1/analytics \
-H "Authorization: Bearer tr_v2_…"Parameters
| Name | In | Notes |
|---|---|---|
from | query | Start of the range, inclusive. Defaults to 30 days before to. |
to | query | End of the range, inclusive. Defaults to now. |
Responses
| Status | Meaning |
|---|---|
200 | Totals for the range and a row per day |
401 | The API key is missing, malformed, expired or revoked |
403 | The API key lacks the analytics:read scope |
422 | The range is invalid or longer than 366 days |
Every response body is described in the OpenAPI spec, which this page is generated from.