Skip to main content
GET
Call analytics aggregates
Requires analytics:read (opt-in). Date range capped at 93 days. groupBy: day | agent | campaign | direction.

Authorizations

Authorization
string
header
required

Paste only your API key (ond_live_… or ond_test_…). Do not type the word Bearer — the playground adds it.

Query Parameters

groupBy
enum<string>
default:day
Available options:
day,
agent,
campaign,
direction
startedAfter
string<date-time>
startedBefore
string<date-time>

Response

Aggregates

groupBy
string
from
string
to
string
totals
object
groups
object[]