Skip to main content
GET
Aggregated call metrics for a time window (authoritative call count)

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Query Parameters

from
string<date-time>
required

Inclusive ISO-8601 start with offset (e.g. 2026-04-01T00:00:00+03:00)

to
string<date-time>
required

Exclusive ISO-8601 end with offset

compare_prev
boolean
default:false

Include previous block for the immediately prior window of equal length

granularity
enum<string>
default:total

Only total is currently supported

Available options:
total
channel
string

Comma-separated channel tokens

Example:

"call,whatsapp_call"

agent_uuid
string<uuid>
campaign_uuid
string<uuid>

Response

OK

meta
object
totals
object
duration_sec
object
buckets
object
outcome
object
cost
object
previous
object | null