Skip to content
VaakyoDocs
Navigation
Open console →

Calls

Export Calls

GET/api/v1/calls/export

Calls as CSV, newest first: one row per call with its outcome, cost, summary and one column per extracted field (extracted.<key>). At most 50,000 rows.

Authorization

An API key (X-API-Key or Authorization: Bearer), or a signed-in member with the calls.view permission.

X-API-KeyAuthorization: Bearercalls.view

Query parameters

daysintegerdefault: 30

calls from the last N days (unless since is given)

1 to 365

timezonestringdefault: "Asia/Kolkata"

IANA zone for created_at

at most 64 characters

agent_idstring

an agent id, or several comma-separated

at most 1400 characters

statusstring

comma-separated statuses

at most 80 characters

directionstring

outbound, inbound or web (comma-separated)

at most 40 characters

qstring

text in a number, the agent's name or the call id

at most 80 characters

batch_idstring

only the calls of this batch (campaign)

at most 64 characters

sincestring | null

created at or after this time (ISO 8601)

date-time

untilstring | null

created before this time (ISO 8601)

date-time

call_idstring

a call id or its beginning

at most 64 characters

phone_numberstring

the agent's number(s), comma-separated (caller id or dialled number)

at most 400 characters

customer_numberstring

the customer's number, or a part of it

at most 20 characters

Response

200Success.

No body.

401No credentials, or they are invalid or revoked.
detailstring

What went wrong, in plain words.

403Your role (or an API key) lacks the permission.
detailstring

What went wrong, in plain words.

422Validation Error
detailobject[]
Show item attributes
locstring | integer[]
msgstring
typestring
429Over the per-key rate limit; wait for Retry-After.
detailstring

What went wrong, in plain words.

Esc