List call history
list_call_historyThe account's calls, newest first, from the phone system and from AI agents and WhatsApp calling, one row shape: when, direction, numbers (last four digits), extension and its user, contact, AI agent or person, campaign, outcome, duration, closing sentiment, test flag. Filter by handled_by, outcome, direction, extension (digits) and campaign_id (ids as list_voice_campaigns returns them, or "none" for no campaign), and by an AI objective's result (evaluation_id with evaluation_result, always both; phone-system rows are left out then). Covers the last 30 days unless since is given; page with meta.next_cursor. meta.warming, meta.phone_unavailable or meta.incomplete true means the list is incomplete. Campaign (campaign_id), sentiment and AI agent (handled_by, ai_agent) data apply only when the account has that feature (contact center, AI decisions, AI phone agents); without it rows omit those fields and those filters are ignored, so an absent field does not mean no campaign or a person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ISO 8601 date or time; calls from then on. | |
| until | No | ISO 8601 date or time; calls up to then. | |
| cursor | No | meta.next_cursor of the previous answer. | |
| fields | No | Optional: return only these fields of each record. | |
| outcome | No | ||
| per_page | No | Defaults to 25. | |
| direction | No | ||
| extension | No | ||
| handled_by | No | Ignored without the AI phone agents feature. | |
| campaign_id | No | Ids from list_voice_campaigns; "none": no campaign. Ignored without contact center. | |
| evaluation_id | No | An objective (criterion in get_ai_call_report quality.evaluations). | |
| evaluation_result | No |