Skip to main content
GET
Get email marketing metrics

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

time_range
enum<string>
required

Time range preset or "custom" for a custom date range.

Available options:
today,
yesterday,
7d,
30d,
90d,
12m,
custom
Example:

"7d"

start_date
string

Start date (YYYY-MM-DD). Required when time_range is "custom".

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-04-01"

end_date
string

End date (YYYY-MM-DD). Required when time_range is "custom". At most 365 days after start_date.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-04-10"

domain_id
string<uuid>

Only count emails sent from this sending domain. Cannot be combined with broadcast_id.

Example:

"01234567-89ab-cdef-0123-456789abcdef"

broadcast_id
string<uuid>

Only count this broadcast. Cannot be combined with domain_id.

Example:

"01234567-89ab-cdef-0123-456789abcdef"

tz_offset
integer
default:0

Time zone offset in minutes from UTC, -720 to 840. Default 0 (UTC). An offset that is not a whole hour, such as 330 for UTC+5:30, is rounded to the hour, so counts shift by up to 30 minutes. goal_reached is summed over whole UTC days: with any offset other than 0 it can include most of a day outside the range.

Required range: -720 <= x <= 840
Example:

-300

Response

The requested Email Metrics

Aggregated email marketing metrics including totals, time-series data, and metadata.

totals
object
required
read-only

Aggregate metric counts and rates for the selected time range.

series
object[]
required
read-only

Time-bucketed data points.

meta
object
required
read-only

Metadata about the query.