Skip to main content
POST
cURL
The response only confirms the export was queued: {"message": "Call history export has been queued. You will receive an email shortly."}. The download link arrives by email; large exports take several minutes.

Notes

  • call_type is inbound, outbound or webcall. The export covers every call that matches the filters.
  • include_analysis=true adds 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.
  • 409 means the same export is already running; 429 means too many exports are running, so try again later.

Authorizations

X-API-KEY
string
header
required

Headers

X-API-KEY
string
required

(Required) Your Ringg AI API key.

Example:

"rg_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Query Parameters

start_date
string<date-time>

Filter calls starting from this date (ISO 8601 format with timezone)

Example:

"2025-09-25T00:00:00+05:30"

end_date
string<date-time>

Filter calls up to this date (ISO 8601 format with timezone)

Example:

"2025-09-25T23:59:59+05:30"

agent_id
string[]

Filter by agent ID(s) - can be repeated for multiple agents.

Example:
status
enum<string>

Filter by call status.

Available options:
registered,
ongoing,
retry,
error,
completed,
failed,
cancelled,
forwarded
Example:

"completed"

include_analysis
boolean
default:false

Include call analysis data (platform_analysis and client_analysis) in the export.

Example:

true

call_type
enum<string>

Filter by call type.

Available options:
inbound,
outbound,
webcall
Example:

"outbound"

bulk_list_id
string

Filter by bulk list ID.

Example:

"123e4567-e89b-12d3-a456-426614174000"

voicemail
boolean

Filter by voicemail status.

Example:

false

from_number
string

Filter by caller phone number.

Example:

"+1234567890"

to_number
string

Filter by callee phone number.

Example:

"+14155550123"

call_id
string

Filter by specific call ID.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

The export was queued. The download link arrives by email.

message
string

Confirmation that the export was queued.

Example:

"Call history export has been queued. You will receive an email shortly."