Query Parameters
format
(string, optional, default:csv
): The desired file format. Can becsv
orjson
.status
(string, optional): Filter calls by their status.assistant_id
(integer, optional): Filter calls by a specific assistant.date_from
(string, optional): Filter calls from this date (ISO 8601 format).date_to
(string, optional): Filter calls to this date (ISO 8601 format).
Response
The response is not a JSON object in the traditional sense, but a file that your browser will prompt you to download. Ifformat=csv
:
You will receive a text/csv
file named calls_export.csv
.
CSV Content
format=json
:
You will receive an application/json
file named calls_export.json
containing an array of call objects.
JSON Content
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Export format: csv or json
Filter by call status
Filter by assistant ID
Filter calls from this date
Filter calls to this date
Response
Successful Response