Export calls history
POST/call/export
Export a list of call attempts as a CSV file. Large exports are split into several files of at most 4MB each: when the response carries a non-null next_offset, call the endpoint again with that value as offset to get the next file.
Body ParametersJSON
offset: number
Number of already-exported rows to skip, within the filters’ page/page_size window. Pass the next_offset value from the previous response to fetch the next file of a split export.
minimum0
maximum9007199254740991
Export calls history
curl https://www.getrevox.com/api/call/export \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $REVOX_API_KEY" \
-d '{
"filters": {
"assignee_ids": [
"string"
],
"assistant_ids": [
"string"
],
"campaign_ids": [
"string"
],
"directions": [
"inbound"
],
"from_phone_numbers": [
"string"
],
"outcomes": [
"not_interested"
],
"page": 1,
"page_size": 1,
"results": [
"IVR"
],
"statuses": [
"initializing"
]
},
"offset": 0
}'{
"csv": "csv",
"filename": "filename",
"next_offset": -9007199254740991
}Returns Examples
{
"csv": "csv",
"filename": "filename",
"next_offset": -9007199254740991
}