Get calls summary
Returns the totals of the calls of a period and of the period just before it, for comparison: answered and missed calls (with the reason), outcomes, channels, talk time, report cards, sentiment and transfers to a person. The figures are the same as in the summary of the app. Durations are talk time, not billed minutes: for those use GET /usage. Required scope: calls:read. With a test key (vx_test_) it behaves exactly as with a live key and consumes nothing.
Authentication
Headers
API version for this request; defaults to the version the key is pinned to.
Query parameters
The period to read, in the timezone. Default 7d. today: from midnight to now. 7d, 30d: the last 7 or 30 days, today included. last_month: the previous calendar month. 6m, 12m: the last 6 or 12 months. custom: from from to to, at most 13 months.
First day of a custom period, YYYY-MM-DD, in the timezone. Only with period=custom.
Last day of a custom period, YYYY-MM-DD, included. Only with period=custom.
IANA time zone the period is computed in, for example Europe/Rome (default). It decides where days start and end.
Response
Always call_summary.
The period of current.
The period of the same length just before, used for previous.