Skip to main content
POST
Get metrics for multiple broadcasts

Authorizations

Authorization
string
header
required

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

Body

application/json
broadcast_ids
string<uuid>[]
required

Broadcast IDs to fetch metrics for (1-50, duplicates removed).

Required array length: 1 - 50 elements
Minimum string length: 1
Example:
time_range
enum<string>
default:12m

Time range preset or "custom" for a custom date range. Defaults to "12m" if omitted.

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-09"

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"

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

Batch metrics results keyed by broadcast ID

results
object
required

Metrics keyed by broadcast ID

errors
object
required

Errors keyed by broadcast ID. Values are error codes: "not_found" or "fetch_failed".

meta
object
required

The time range the totals cover