Calls
Export calls history
https://www.getrevox.com/api/call/exportExport 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.
Request body
filtersobjectrequiredShow 16 fieldsHide 16 fields
querystringstatusesarray of enum (string)requiredDefault
[]directionsarray of enum (string)requiredDefault
[]resultsarray of enum (string)requiredDefault
[]outcomesarray of enum (string)requiredDefault
[]assistant_idsarray of stringrequiredDefault
[]campaign_idsarray of stringrequiredDefault
[]from_phone_numbersarray of stringrequiredDefault
[]assignee_idsarray of one ofrequiredDefault
[]Show 2 variantsHide 2 variants
One ofstringstring
One ofstringstring (constant)
variablesarray of objectShow 2 fieldsHide 2 fields
keystringrequiredvaluestringrequired
to_phone_numberstringcall_idsarray of stringpageintegerrequiredmin 1 · max 9007199254740991Default
1page_sizeintegerrequiredmin 1 · max 50000Default
50000sort_bystringsort_directionenum (string)One of
ascdesc
offsetintegerrequiredNumber 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.
min 0 · max 9007199254740991Default
0include_structured_output_fieldsbooleanWhether to include the structured output fields in the CSV file. These are generated by our AI agent during call analysis phase.
include_metadatabooleanWhether to include the metadata in the CSV file. These are the fields you (optionally) attached when placing the call.
Responses
csvstringrequiredfilenamestringrequirednext_offsetintegerrequirednullableNon-null when the export was split because this file reached the 4MB cap: pass it as offset in a follow-up call to get the next file. Null when this file completes the export.
min -9007199254740991 · max 9007199254740991