Export calls history
POST/call/export
Export a list of call attempts as a CSV file.
Body ParametersJSON
include_metadata: optional boolean
Whether to include the metadata in the CSV file. These are the fields you (optionally) attached when placing the call.
include_structured_output_fields: optional boolean
Whether to include the structured output fields in the CSV file. These are generated by our AI agent during call analysis phase.
Returns
csv: string
filename: string
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"
]
}
}'{
"csv": "csv",
"filename": "filename"
}Returns Examples
{
"csv": "csv",
"filename": "filename"
}