List calls
One agent’s calls, newest first.
Pages follow started_at (newest first, calls without one last), then id. Filters combine
with AND; the values of one repeated filter combine with OR. To pick up new calls, poll with
started_from set a little before your last sync and de-duplicate by id: a call’s status,
outcome and summary can still change after it first appears.
Authorizations
An org API key: Authorization: Bearer phk_…
Headers
Optional. Must be the key's org.
Query Parameters
The agent whose calls to list.
1Only calls in these statuses; repeat for several. Defaults to completed, ended, in_progress and in_warm_transfer.
Where a call is in its lifecycle, including the outcomes of pay-per-call transfers. Known values: completed, ended, in_progress, in_warm_transfer, queued, queueing, redial_scheduled, cancelled, dnc, failed, transferred_sold, transferred_not_sold, transferred_pending_sale, rev_share_pending_qualification, transferred_busy, transferred_no_answer, transferred_failed. More can be added, so handle values you don't recognize.
Only calls of these types, as a call's type reports them; repeat for several.
Only calls that started at or after this time (ISO 8601 with a timezone).
Only calls that started before this time (ISO 8601 with a timezone).
Only calls that ended for these reasons, as a call's ended_reason reports them; repeat for several.
Only calls with these sentiments, as a call's sentiment reports them; repeat for several.
Only calls with these outcomes, exactly as a call's outcome reports them; repeat for several.
Only calls with this customer, exactly as a call's customer_phone_number reports it, such as +14155550123. Encode the + as %2B in the URL, or it arrives as a space.
1Only calls placed by this campaign.
1Only calls that lasted at least this long. Like max_duration_seconds, it matches only calls with a duration (duration_seconds not null).
x >= 0Only calls that lasted at most this long. Like min_duration_seconds, it matches only calls with a duration (duration_seconds not null).
x >= 0Calls per page, 1 to 100.
1 <= x <= 100next_cursor from the previous page.

