Skip to main content
POST
The response only confirms the export was queued and lists who will get the link: {"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, add email. Repeat it for several people.
Each recipient must be a member of your workspace. The export is only emailed to people who belong to the workspace: they were invited, accepted the invite, and haven’t been removed. An address outside the workspace gets a 400 and no one receives the export. To send it to someone new, invite them to the workspace first.
  • 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 400 naming the address, and no one is emailed. Invite them to the workspace first.

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

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"

email
string<email>[]

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).

Example:

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."

emails
string[]

The addresses the download link will be sent to: the email values you passed, or the requester when email is omitted.

Example: