Skip to main content
GET
Campaign Call Stats

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Query Parameters

group_by
enum<string>
default:outcome

Grouping criteria: outcome, status, status_outcome, tag

Available options:
outcome,
status,
status_outcome,
tag,
source,
campaignType
campaign_id
string | null

Filter by campaign ID

Required string length: 24
Pattern: ^[0-9a-f]{24}$
Example:

"5eb7cf5a86d9755df3a6c593"

statuses
string[] | null

Filter by one or more call statuses

outcomes
string[] | null

Filter by one or more outcomes

tags
string[] | null

Filter tag stats by tag strings (substring match)

size
integer
default:300

Number of items per page

Required range: x >= 1
page
integer
default:1

Page number

Required range: x >= 1
search
string | null

Search keywords

start
string<date-time> | null

Filter by start time (ISO 8601 format)

end
string<date-time> | null

Filter by end time (ISO 8601 format)

Response

Aggregated call counts grouped by the chosen dimension

message
string
required

Result description

Example:

"Stats fetched successfully."

data
StatEntry · object[]
required

Aggregated counts grouped by the requested dimension ('outcome', 'status', 'status_outcome', 'tag', 'source', 'campaignType'). Each entry contains a 'count' field and a group key field named after the dimension.