Skip to main content
GET
Get call stats

Authorizations

Authorization
string
header
required

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

projectId
string

Project to read. Omit to total every project in the organization.

sessionId
string

Identifier of the connected Polymorfa session.

Value constraints

Required string length: 1 - 128
direction
enum<string>

Specifies direction for this query parameter.

Allowed values

Available options:
inbound,
outbound
upstream
enum<string>

Specifies upstream for this query parameter.

Allowed values

Available options:
linked_device,
cloud_api
outcome
enum<string>

Specifies outcome for this query parameter.

Allowed values

Available options:
answered,
missed,
declined,
failed,
in_progress
since
string<date-time>

Specifies since for this query parameter.

Value constraints

until
string<date-time>

Specifies until for this query parameter.

Value constraints

groupBy
enum<string>
default:day

Specifies group by for this query parameter.

Allowed values

Available options:
day,
hour,
session,
outcome
timezone
string
default:UTC

Specifies timezone for this query parameter.

Value constraints

Maximum string length: 64
Example:

"Europe/Lisbon"

Response

Success

data
object
required

Structured data carried by this object.