Skip to main content
GET

Get Call History

Get call history for a client. Shows all calls for the client if the user belongs to that client.

Parameters

  • Query
    • page (integer, optional, default: 1): Page number (1-indexed)
    • page_size (integer, optional, default: 50, max: 200): Number of records per page
    • search (string, optional): Search in contact name, number or agent name
    • start_date, end_date (ISO date, optional): Restrict to a date range
    • status (string, optional): Filter by call status
    • direction (string, optional): Incoming or Outgoing
    • agent_id (string, optional): Only calls handled by this agent
    • call_id, from_number, to_number (string, optional): Exact filters
    • rating (string, optional): thumbs_up, thumbs_down or unrated
Any other query parameter is ignored.

Request Example

Response

Success Response (200)

array
Array of call objects
object
Pagination metadata

Validation Error (422)