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

NameInNotes
fromqueryStart of the range, inclusive. Defaults to 30 days before to.
toqueryEnd of the range, inclusive. Defaults to now.

Responses

StatusMeaning
200Totals for the range and a row per day
401The API key is missing, malformed, expired or revoked
403The API key lacks the analytics:read scope
422The range is invalid or longer than 366 days

Every response body is described in the OpenAPI spec, which this page is generated from.