Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer YOUR_API_KEY.

Query Parameters

dateFromUTC
string

Start of the reporting window. A UTC ISO 8601 timestamp is canonical; a plain YYYY-MM-DD date is accepted and read as that day at 00:00:00Z. A timestamp must carry Z or an explicit offset, since one without a zone would be read as server-local time and shift the window. An empty string clears the bound. Any other value is refused with 400.

dateToUTC
string

End of the reporting window, inclusive. A UTC ISO 8601 timestamp is canonical; a plain YYYY-MM-DD date is accepted and covers that whole day, through 23:59:59.999Z. A timestamp must carry Z or an explicit offset, since one without a zone would be read as server-local time and shift the window. An empty string clears the bound. Any other value is refused with 400.

projectName
string

Optional display label alongside locationId. It never selects a project. A name sent alone is refused with 400.

Minimum string length: 1
locationId
string

Location ID of the project to read. Required when selecting a project; omit every project selector for an agency-wide read. Project names are labels only and never select a project on their own.

Minimum string length: 1
campaignId
string

Restrict the summary to the leads one campaign dialled. Calls recorded without campaign attribution are not returned by this filter, so an older window can show fewer leads here than an unfiltered read.

Minimum string length: 1
masterCampaignId
string

Restrict the summary to the leads a whole master campaign dialled, across every linked project the user can see. Each linked project runs its own child campaign with its own id, so one campaignId returns only one project's share. Cannot be combined with campaignId. Sending both is a 400.

Minimum string length: 1
agentVariantId
string

Restrict the figures to one Agent Variant inside a split test, so two variants of the same campaign can be compared. Requires campaignId and cannot be combined with masterCampaignId: a variant id only identifies a variant within its own campaign, so an unscoped one has no meaning and is rejected.

Minimum string length: 1

Response

Analytics per lead-age segment.

success
boolean
required
Example:

true

data
object
required

The analytics summary split by lead age.