List calls
Returns the calls of the organization in a period, newest first by default, one page at a time. Each item has times, duration, direction, status, the two phone numbers, the agent and the outcome of the report card. The summary, the collected data and the transcript are never in the list: read them on the single call. There is no filter by caller number on purpose (a phone number must not travel in a URL): to find the data of a person use POST /caller-requests/search. 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.
Only calls with one of these statuses, comma-separated: completed, interrupted, failed, in_progress, forwarded, missed_lines_busy, missed_quota, missed_suspended, missed_platform, missed_agent_suspended. completed also matches calls transferred to a person (transferred is not a filter value). The meaning of each value is in status of the response.
true: only calls rejected before an agent answered (missed_*). false: only answered calls. Omitted: both.
Only one channel. inbound: phone calls received. outbound: phone calls made by an agent. web: conversations in the web widget.
Only the calls on this phone line of the organization (not the caller number), in international format, for example +390212345678. The lines are listed by GET /lines.
Only calls with this report card outcome: positive, needs_review, negative, or not_evaluated (no report card, or not computed yet).
true: only calls that passed between agents of a team. false or omitted: every call.
Order by start time: desc newest first (default), asc oldest first. The cursor is tied to the order: do not change it between pages.
Opaque cursor from next_cursor of the previous page, to read the next one. Pass it back unchanged, with the same filters; omit it for the first page.
Response
true if there are more items after this page.
Pass it as cursor to read the next page; null on the last page.