Basic search
Basic search is active when the advanced_search parameter is missing or set to 0:
/api/v2/calls.json?daterange=2024/11/01-2024/12/01&search_term=12345
Several parameters may be combined. All of them must match.
| Parameter | Description |
|---|---|
| daterange | Filter by date range. The format is YYYY/MM/DD-YYYY/MM/DD or YYYY/MM/DD. The following query returns all recordings from 2024/11/01 00:00:00 to 2024/12/01 24:00:00: The following query returns all recordings of 2024/11/01: The dates are interpreted in the time zone of the API user. If the user has no time zone configured, the time zone of the group, tenant, or system default is used. |
user_id |
Filter by user ID. |
user_login |
Filter by user login. |
group_id |
Filter by group ID. |
tenant_id |
Filter by tenant ID. |
search_term |
Search a text in the phone numbers, phone names, original calling and dialed numbers, agent ID, and notes. Partial match, case insensitive. |
category_id |
Filter by tag ID. |
client_id |
Filter by client ID. |
broadworks_user_id |
Filter by BroadWorks user ID. |
broadworks_group_id |
Filter by BroadWorks group ID. |
protocol_tracking_id |
Filter by PBX tracking ID. |
active_only |
Return active calls only. |
order_by |
Sort order: |
limit, start, max_total_calc |
Paging parameters. See Collections. |