Get call stats
Returns call volume, outcomes, answer rate and connected duration for a time range, grouped by day, hour, number or outcome, with an hour-of-week heatmap. Filters match the call records endpoints. Without since and until the range is the last 7 days. Day and hour groups use the requested timezone and include empty buckets.
Requires sessions:read. Project tokens only access resources in their own project.
Authorizations
Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.
Query Parameters
Project to read. Omit to total every project in the organization.
Identifier of the connected Polymorfa session.
Value constraints
1 - 128Specifies direction for this query parameter.
Allowed values
inbound, outbound Specifies upstream for this query parameter.
Allowed values
linked_device, cloud_api Specifies outcome for this query parameter.
Allowed values
answered, missed, declined, failed, in_progress Specifies since for this query parameter.
Value constraints
Specifies until for this query parameter.
Value constraints
Specifies group by for this query parameter.
Allowed values
day, hour, session, outcome Specifies timezone for this query parameter.
Value constraints
64"Europe/Lisbon"
Response
Success
Structured data carried by this object.