Pereiti prie pagrindinio turinio
calls

List /calls

List phone calls (PBX call history). Filters: updated_since for incremental sync, created_at/started_at/updated_at date ranges, direction, staff, client, lead, phone, is_personal, has_recording, uuid. recording is present only for keys with the call recordings permission. Transcription and AI summary are only in the detail endpoint. Response: items and pagination.

GET
/calls
Authorizationstringheaderprivaloma

API key (Bearer token) created in Setup → API & MCP.

querystringquery

Optional search phrase matched against caller / destination phone number and provider call ID.

Minimum string length: 1
pageintegerquery

Page number (1-based).

Privalomas intervalas: 1 <= x
per_pageintegerquery

Results per page. limit is accepted as an alias.

Privalomas intervalas: 1 <= x <= 100
filter[uuid]stringquery

Call UUIDs. Fetch several known calls in one request.

filter[updated_since]stringquery

Calls changed (created, commented, reason set, recording synced, AI summary) at or after this ISO 8601 timestamp. Intended for incremental polling.

filter[created_since]stringquery

Calls logged at or after this ISO 8601 timestamp.

filter[created_at]stringquery

Logged date range (YYYY-MM-DD - YYYY-MM-DD).

filter[started_at]stringquery

Call start date range (YYYY-MM-DD - YYYY-MM-DD).

filter[updated_at]stringquery

Last change date range (YYYY-MM-DD - YYYY-MM-DD). Use updated_since for one-sided incremental polling.

filter[direction]stringquery

in or out.

filter[staff]string[]query

Staff UUIDs (the employee on the call).

filter[client]stringquery

Client UUIDs.

filter[lead]stringquery

Lead UUIDs.

filter[phone]stringquery

Phone number in any format; matches the caller or the destination. Fewer than 7 digits matches nothing.

filter[is_personal]integerquery

1 = personal call of the employee, 0 = business call.

Privalomas intervalas: 0 <= x <= 1
filter[has_recording]integerquery

1 = a recording file is stored in the CRM (downloadable), 0 = not stored.

Privalomas intervalas: 0 <= x <= 1
sortstringquery

Optional sort order, comma-separated; prefix a field with - for descending (e.g. sort=-updated_at); empty values sort last. Sortable fields: answered_at, call_id, created_at, direction, ended_at, phone_from, phone_to, started_at, uuid. Default when omitted: -pc_created_at,-pc_id.

fieldsstring[]query

Optional response field paths (dot notation for nested groups, e.g. billing_address.street; array fields are returned whole). Comma-separated string is also accepted. Identifier field is always included.

Atsakymas

application/json

Search results

itemsobject[]
paginationobject
querystring