Skip to Content
Developers
Reports

Call totals over a period, grouped by day, campaign, buyer or publisher

Needs the reports:read scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/account/reports/calls

Authorization

key
headerAuthorizationBearer <traki_account_…>

Query Parameters

start*string
Formatdate-time
end*string
Formatdate-time
groupBy?string
Default"day"
Value in"day""campaign""buyer""publisher"
campaignId?string
Formatuuid
buyerId?string
Formatuuid
publisherId?string
Formatuuid

Response Body

Success

application/json
  1. response
start*string
end*string
groupBy*string
rows*array<>
Example Request
curl 'https://api.traki.io/v1/account/reports/calls?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "start": "string",  "end": "string",  "groupBy": "string",  "rows": [    {      "group": "string",      "label": "string",      "calls": -9007199254740991,      "answered": -9007199254740991,      "billable": -9007199254740991,      "durationSec": -9007199254740991,      "revenue": "string",      "payout": "string"    }  ]}