AI Sync

AI Call History

Export Call History

GEThttps://app.rizzdial.com/api/ai/call-history/export
Export Call History
curl --request GET \
  --url 'https://app.rizzdial.com/api/ai/call-history/export?format=csv&limit=5000&date_range=Today&agent_id=All&direction=All&user_sentiment=All&call_successful=All' \
  --header 'Authorization: Bearer <token>'
401
{
  "error": "<string>",
  "message": "<string>",
  "error_description": "<string>"
}

Export Call History#

Downloads a CSV of the filtered list. Only csv is supported on this endpoint. Filename starts with AI_Call_History_.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

formatstringquery

Must be csv

limitintegerquery

Max rows. Default 5000. Maximum 10000

date_rangestringquery

Today, Yesterday, Last 7 Days, Last 14 Days, Last 30 Days, This Week Sun, This Week Mon, Last Week Sun, Last Week Mon, Last Business Week, This Month, Last Month, Last Year. For a custom window send start_date and end_date

start_datestringquery

Custom start date Y-m-d

end_datestringquery

Custom end date Y-m-d

agent_idstringquery

All or an agent_id from List Call History Agents

directionstringquery

All, inbound, outbound, or web

user_sentimentstringquery

All, Positive, Neutral, Negative, or Unknown

call_successfulstringquery

All, Yes, or No

hangup_reasonstringquery

All or a hangup reason such as user_hangup, agent_hangup, call_transfer, voicemail_reached

from_numberstringquery

Partial match on the from number

to_numberstringquery

Partial match on the to number

min_durationstringquery

Minimum duration. H:i:s or seconds. 00:00:00 means no minimum

max_durationstringquery

Maximum duration. H:i:s or seconds. All means no maximum

columnsstringquery

Comma-separated column keys from List Call History Columns

company_idintegerquery

Signed-in company by default. Agency accounts may pass a child company id

curl --request GET \
  --url https://app.rizzdial.com/api/ai/call-history/export?format=csv&date_range=Today \
  --header 'Authorization: Bearer {{bearer_token}}'
filecsv

Streamed CSV attachment when rows exist

Returns 404 when no rows match. Spreadsheet and PDF downloads on the product page are not this endpoint.