AI Sync

AI Call History

List Call History

GEThttps://app.rizzdial.com/api/ai/call-history
List Call History
curl --request GET \
  --url 'https://app.rizzdial.com/api/ai/call-history?per_page=15&date_range=Today&agent_id=All&direction=All&user_sentiment=All&call_successful=All' \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "records": [
      {
        "id": "ODg=",
        "direction": "outbound",
        "agent_name": "Outbound",
        "from_number": "+14155550100",
        "call_successful": "Yes",
        "recording_available": true
      }
    ],
    "pagination": {
      "to": 1,
      "from": 1,
      "total": 1,
      "per_page": 15,
      "last_page": 1,
      "current_page": 1
    }
  },
  "success": true
}

List Call History#

Paginated AI calls for the signed-in company, newest first. Ids are base64. List rows truncate call_summary and call_transcript; use Get Call History for the full text.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

per_pageintegerquery

Rows per page. Default 15. Maximum 30

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?per_page=15&date_range=Today \
  --header 'Authorization: Bearer {{bearer_token}}'
data.recordsarray

Base64 id, time, agent_name, numbers, call_duration, direction, hangup_reason, user_sentiment, call_successful, recording_available, truncated summary and transcript

data.columnsobject

available column definitions and selected keys

data.paginationobject

total, current_page, per_page, last_page, from, and to