Retrieve Call Logs
Retrieves a paginated list of call logs with filtering and sorting support.
Query Parameters
Pagination & Sorting
- limit (optional, number): Number of items per page (default: 10, max: 100)
- page (optional, number): The current page number to retrieve (default: 1)
- sort (optional, string): Sort field with optional
-prefix for descending order (default:-createdAt)
Filters
All filters are passed as query parameters with thefilters[field] format.
Date Filters
- filters[start_date] (optional, ISO 8601 date): Start of date range
- filters[end_date] (optional, ISO 8601 date): End of date range
Call Properties
- filters[outcome] (optional, string): Filter by call outcome
answered- Call was answeredno-answer- Call was not answeredcancelled- Call was cancelled
- filters[direction] (optional, string): Filter by call direction
inbound- Incoming callsoutbound- Outgoing calls
- filters[min_duration] (optional, number): Minimum call duration in seconds
- filters[max_duration] (optional, number): Maximum call duration in seconds
- filters[has_recording] (optional, boolean): Filter by recording availability
true- Only calls with recordingsfalse- Only calls without recordings
- filters[answered_by] (optional, string): Filter by who answered
human- Answered by a personmachine_start- Answered by voicemail/machine
- filters[is_completed] (optional, boolean): Filter by completion status
Disposition Filters
- filters[disposition_ids] (optional, number[]): Filter by disposition IDs. See Get Dispositions for available IDs.
- filters[exclude_negative_dispositions] (optional, boolean): When
true, only returns calls with positive dispositions (Meeting Set, Referral, Callback Later, etc.)
Entity Filters
- filters[user_ids] (optional, string[]): Filter by user IDs
- filters[contact_list_ids] (optional, string[]): Filter by contact list IDs
- filters[sequences] (optional, string[]): Filter by sequence IDs. See Get Sequences to discover available sequences.
Phone Number Filters
- filters[from] (optional, string[]): Filter by caller phone numbers
- filters[to] (optional, string[]): Filter by called phone numbers
Search
- filters[search] (optional, string): Full-text search across contact name, company, and phone numbers
Example Requests
Basic request with date filter:Response
Returns a JSON object containing the list of call logs with pagination metadata.Response Fields
| Field | Type | Description |
|---|---|---|
_id | string | Unique identifier |
call_id | string | Unique call identifier |
outcome | string | Call outcome (answered, no-answer, cancelled) |
direction | string | Call direction (inbound, outbound) |
answered_by | string | Who answered (human, machine_start) |
duration | number | Call duration in seconds |
to | string | Called phone number |
from | string | Caller phone number |
disposition | object | Disposition details with internal_id |
contact | object | Contact information |
contact_list | object | Associated contact list |
user | object | User who made/received the call |
recording_url | string | URL to call recording (if available) |
notes | string | Call notes |
transcription | string | Call transcription (if available) |
summary | string | AI-generated call summary (if available) |
is_completed | boolean | Whether the call is completed |
started_at | date | Call start time |
ended_at | date | Call end time |
createdAt | date | Record creation time |
updatedAt | date | Record last update time |
Authorizations
Query Parameters
Number of items per page (default: 10, max: 100)
1 <= x <= 100The current page number (default: 1)
x >= 1Sort field with optional - prefix for descending order. Default: -createdAt
Start of date range (ISO 8601)
End of date range (ISO 8601)
Filter by call outcome
answered, no-answer, cancelled Filter by call direction
inbound, outbound Minimum call duration in seconds
x >= 0Maximum call duration in seconds
x >= 0Filter by recording availability
Filter by who answered the call
human, machine_start Filter by completion status
Filter by disposition IDs. See Get Dispositions for available IDs.
When true, only returns calls with positive dispositions (Meeting Set, Referral, Callback Later, etc.)
Filter by user IDs
Filter by contact list IDs
Filter by sequence IDs. See Get Sequences to discover available sequences.
Filter by caller phone numbers
Filter by called phone numbers
Full-text search across contact name, company, and phone numbers