Export Call History CSV
Export call history records as a CSV file with optional transcript and post-analysis data.
POST
Headers
x-api-keystringrequiredAPI key used for authenticating requests to the API.
x-workspace-idstringrequiredWorkspace identifier for the API.
Request Body
includeTranscriptsbooleandefault: falseWhether to include full call transcripts in the export.
includePostAnalysisbooleandefault: falseWhether to include post-call analysis data in the export.
limitnumberMaximum number of records to export.
batchIdstringFilter by batch call ID.
agentIdstringFilter by agent ID.
statusstringFilter by call status.
directionstringFilter by call direction.
dateRangeobjectDate range filter.
Response
The response is streamed as a CSV file with Content-Type: text/csv and Content-Disposition: attachment headers.
The CSV includes columns for call ID, phone numbers, direction, status, duration, agent, flow name, cost, summary, variables, and optionally transcript and post-analysis data.
