curl --request POST \
--url 'https://prod-api.ringg.ai/ca/api/v0/calling/history/download?start_date=2025-09-25T00:00:00%2B05:30&end_date=2025-09-25T23:59:59%2B05:30&agent_id=00000000-0000-4000-8000-0000000000a1&status=completed&include_analysis=true&call_type=outbound&bulk_list_id=123e4567-e89b-12d3-a456-426614174000&voicemail=false&from_number=%2B1234567890&to_number=%2B0987654321&call_id=550e8400-e29b-41d4-a716-446655440000' \
--header 'X-API-KEY: <x-api-key>'{
"message": "Call history export has been queued. You will receive an email shortly.",
"emails": [
"ops@example.com",
"qa@example.com"
]
}Download Call History
Export call history to CSV by email, filtered by date range, agent, status, call type, campaign, number or call ID, with optional post-call analysis columns.
curl --request POST \
--url 'https://prod-api.ringg.ai/ca/api/v0/calling/history/download?start_date=2025-09-25T00:00:00%2B05:30&end_date=2025-09-25T23:59:59%2B05:30&agent_id=00000000-0000-4000-8000-0000000000a1&status=completed&include_analysis=true&call_type=outbound&bulk_list_id=123e4567-e89b-12d3-a456-426614174000&voicemail=false&from_number=%2B1234567890&to_number=%2B0987654321&call_id=550e8400-e29b-41d4-a716-446655440000' \
--header 'X-API-KEY: <x-api-key>'{
"message": "Call history export has been queued. You will receive an email shortly.",
"emails": [
"ops@example.com",
"qa@example.com"
]
}{"message": "Call history export has been queued. You will receive an email shortly.", "emails": ["owner@example.com"]}. The download link arrives by email; large exports take several minutes.
Choose who receives the export
By default the link goes to the requester; with an API key, that is the workspace owner. To send it to specific teammates instead, addemail. Repeat it for several people.
400 and no one receives the export. To send it to someone new, invite them to the workspace first.curl --request POST \
--url 'https://prod-api.ringg.ai/ca/api/v0/calling/history/download?start_date=2025-09-25T00:00:00%2B05:30&end_date=2025-09-25T23:59:59%2B05:30&email=ops@example.com&email=qa@example.com' \
--header 'X-API-KEY: <x-api-key>'
- A comma-separated list (
email=ops@example.com,qa@example.com) works too. - The link goes only to these addresses, one email each. The workspace owner is not copied.
- Every address must belong to an active member of your workspace: invite accepted and not removed. Otherwise the request returns
400naming the address, and no one is emailed. Invite them to the workspace first.
Notes
call_typeisinbound,outboundorwebcall. The export covers every call that matches the filters.include_analysis=trueadds the platform and Advanced Analysis results.- The CSV holds call details, status and timestamps, agent and campaign, transcript and recording links, and custom variables.
- The emailed link is valid for 7 days and downloads a ZIP with one CSV.
- Recording links in the export may expire; fetch a fresh link from Get call details.
409means the same export is already running;429means too many exports are running, so try again later.
Query Parameters
Email the download link to these addresses instead of the requester. Each address must be a member of your workspace (invited, invite accepted, not removed); invite new people to the workspace first. Repeat the parameter (email=a@example.com&email=b@example.com) or comma-separate (email=a@example.com,b@example.com). The link goes only to these addresses, one email each; the workspace owner is not copied. Every address must belong to an active member of your workspace (invite accepted, not removed), or the request returns 400 and nothing is sent. Omit it to send the link to the requester (for an API key, the workspace owner).
["ops@example.com", "qa@example.com"]
Response
The export was queued. The download link arrives by email.
Was this page helpful?