list_calls
List calls. Paginated. Filterable by company, date window, and answer status.
Instructions
List calls. Paginated. Filterable by company, date window, and answer status.
Args:
account_id: Auto-resolves if omitted.
company_id: Filter to one company. Omit for all companies.
days: Lookback in days (default 7). Ignored if start_date provided.
start_date: 'YYYY-MM-DD'.
end_date: 'YYYY-MM-DD' (defaults to today).
answer_status: Server-side filter. One of 'answered', 'missed',
'voicemail'. This is CallRail's real filter parameter.
answered: DEPRECATED alias kept for backwards compatibility.
'true' maps to answer_status='answered', 'false' to 'missed'.
(CallRail has no answered query param; passing it used to be
silently ignored, so results were unfiltered.)
source: CallRail has NO server-side source filter, so this is applied
CLIENT-SIDE to the current page only: the calls array is
filtered by exact, case-insensitive match on each call's source
field. total_records/total_pages in the response still
describe the UNFILTERED query. See source_filter in the
response for what was actually applied. For source breakdowns
prefer call_stats(group_by='source').
per_page: Max 250.
page: 1-indexed.
fields: Comma-separated additional fields to include, e.g.
'company_name,source_name,keywords,landing_page_url,device_type,
first_call,value,tags,note,gclid,fbclid,utm_source,utm_medium,
utm_campaign,utm_content,utm_term,referrer_domain'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| page | No | ||
| fields | No | ||
| source | No | ||
| answered | No | ||
| end_date | No | ||
| per_page | No | ||
| account_id | No | ||
| company_id | No | ||
| start_date | No | ||
| answer_status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |