Get account's call logs

GET {{baseUrl}}/phone/call_logs?page_size=30&from=<date>&to=<date>&type=<string>&next_page_token=<string>&path=<string>&time_type=startTime&site_id=<string>&charged_call_logs=<boolean>

Returns an account's call logs.

Prerequisites: * A Business or Enterprise account * A Zoom Phone license * Account owner or a role with Zoom Phone management

Scopes: phone:read:admin,phone_call_log:read:admin

Granular Scopes: phone:read:list_call_logs:admin

Rate Limit Label: HEAVY

Request Params

KeyDatatypeRequiredDescription
page_sizenumberThe number of records returned within a single API call.
fromstringThe start time and date in yyyy-mm-dd or yyyy-MM-dd'T'HH:mm:ss'Z' format. The date range defined by the from and to parameters should be a month as the response only includes one month's worth of data. The month defined should fall within the last six months. If unspecified, returns data within the 24 hours.
tostringRequired only when the from parameter is specified. End time and date in yyyy-mm-dd or yyyy-MM-dd'T'HH:mm:ss'Z' format, the same format as the from parameter.
typestringThe type of the call logs. The value can be either &quot;all&quot; or &quot;missed&quot;.
next_page_tokenstringThe next page token paginates through a large set of results. A next page token is returned whenever the set of available results exceeds the current page size. The expiration period for this token is 15 minutes.
pathstringFilter the API response by path of the call. The value of this field can be one of the following: voiceMail, message, forward, extension, callQueue, ivrMenu, companyDirectory, autoReceptionist, contactCenter, disconnected, commonAreaPhone,
pstn, transfer, sharedLines, sharedLineGroup, tollFreeBilling, meetingService, parkPickup,
parkTimeout, monitor, takeover, sipGroup
time_typestringEnables you to search call logs by start or end time. Choose startTime or endTime.
site_idstringUnique identifier of the site. Use this query parameter if you have enabled multiple sites and would like to filter the response of this API call by call logs of a specific phone site.
charged_call_logsstringWhether to filter API responses to include call logs that only have a non-zero charge.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;call_logs&quot;:[{&quot;answer_start_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;call_end_time&quot;:&quot;\u003cstring\u003e&quot;,&quot;call_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;call_type&quot;:&quot;contactCenter&quot;,&quot;callee_country_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_country_iso_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_did_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_number_type&quot;:2,&quot;callee_number_source&quot;:&quot;external&quot;,&quot;caller_country_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_country_iso_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_did_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_number_type&quot;:1,&quot;caller_number_source&quot;:&quot;external&quot;,&quot;caller_billing_reference_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;charge&quot;:&quot;\u003cstring\u003e&quot;,&quot;client_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;date_time&quot;:&quot;\u003cstring\u003e&quot;,&quot;device_private_ip&quot;:&quot;\u003cstring\u003e&quot;,&quot;device_public_ip&quot;:&quot;\u003cstring\u003e&quot;,&quot;direction&quot;:&quot;\u003cstring\u003e&quot;,&quot;duration&quot;:&quot;\u003cinteger\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;owner&quot;:{&quot;extension_number&quot;:&quot;\u003clong\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;user&quot;},&quot;path&quot;:&quot;\u003cstring\u003e&quot;,&quot;rate&quot;:&quot;\u003cstring\u003e&quot;,&quot;recording_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;recording_type&quot;:&quot;Automatic&quot;,&quot;result&quot;:&quot;\u003cstring\u003e&quot;,&quot;site&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;},&quot;user_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;hold_time&quot;:&quot;\u003cinteger\u003e&quot;,&quot;waiting_time&quot;:&quot;\u003cinteger\u003e&quot;,&quot;department&quot;:&quot;\u003cstring\u003e&quot;,&quot;cost_center&quot;:&quot;\u003cstring\u003e&quot;},{&quot;answer_start_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;call_end_time&quot;:&quot;\u003cstring\u003e&quot;,&quot;call_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;call_type&quot;:&quot;international&quot;,&quot;callee_country_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_country_iso_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_did_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;callee_number_type&quot;:2,&quot;callee_number_source&quot;:&quot;byop&quot;,&quot;caller_country_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_country_iso_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_did_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_number&quot;:&quot;\u003cstring\u003e&quot;,&quot;caller_number_type&quot;:2,&quot;caller_number_source&quot;:&quot;byop&quot;,&quot;caller_billing_reference_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;charge&quot;:&quot;\u003cstring\u003e&quot;,&quot;client_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;date_time&quot;:&quot;\u003cstring\u003e&quot;,&quot;device_private_ip&quot;:&quot;\u003cstring\u003e&quot;,&quot;device_public_ip&quot;:&quot;\u003cstring\u003e&quot;,&quot;direction&quot;:&quot;\u003cstring\u003e&quot;,&quot;duration&quot;:&quot;\u003cinteger\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;owner&quot;:{&quot;extension_number&quot;:&quot;\u003clong\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;user&quot;},&quot;path&quot;:&quot;\u003cstring\u003e&quot;,&quot;rate&quot;:&quot;\u003cstring\u003e&quot;,&quot;recording_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;recording_type&quot;:&quot;OnDemand&quot;,&quot;result&quot;:&quot;\u003cstring\u003e&quot;,&quot;site&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;},&quot;user_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;hold_time&quot;:&quot;\u003cinteger\u003e&quot;,&quot;waiting_time&quot;:&quot;\u003cinteger\u003e&quot;,&quot;department&quot;:&quot;\u003cstring\u003e&quot;,&quot;cost_center&quot;:&quot;\u003cstring\u003e&quot;}],&quot;from&quot;:&quot;\u003cstring\u003e&quot;,&quot;next_page_token&quot;:&quot;\u003cstring\u003e&quot;,&quot;page_count&quot;:&quot;\u003cinteger\u003e&quot;,&quot;page_size&quot;:&quot;\u003cinteger\u003e&quot;,&quot;to&quot;:&quot;\u003cstring\u003e&quot;,&quot;total_records&quot;:&quot;\u003cinteger\u003e&quot;}