List call logs
GET
/phone/metrics/call_logs
Dashboards
phone:read:admin
, phone:write:admin
Rate Limit Label:
Heavy
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://api.zoom.us/v2/phone/metrics/call_logs'
响应示例响应示例
{
"call_logs": [
{
"call_id": "600097",
"callee": {
"codec": "opus",
"device_type": "Windows_Client 5.2.42619.0804",
"extension_number": "1003",
"headset": "Logitech USB Headset H340",
"isp": "other",
"microphone": "Logitech USB Headset H340",
"phone_number": "+1200009995",
"site_id": "8f71O86ghjIFAdQ"
},
"caller": {
"codec": "opus",
"device_type": "Windows_Client 5.2.42619.0804",
"extension_number": "1021",
"headset": "Logitech USB Headset H340",
"isp": "other",
"microphone": "Logitech USB Headset H340",
"phone_number": "+100006180",
"site_id": "8f71O6rWT8KFUGQmJIFAdQ"
},
"date_time": "2020-09-11T05:38:53Z",
"direction": "internal",
"duration": 75,
"mos": "1.0"
},
{
"call_id": "687000062",
"callee": {
"codec": "opus",
"device_type": "Windows_Client 5.2.42619.0804",
"extension_number": "1003",
"headset": "Logitech USB Headset H340",
"isp": "other",
"microphone": "Logitech USB Headset H340",
"phone_number": "+120123435",
"site_id": "8f87cgmJIFAdQ"
},
"caller": {
"codec": "opus",
"device_type": "Windows_Client 5.2.42619.0804",
"extension_number": "1021",
"headset": "Logitech USB Headset H340",
"isp": "other",
"microphone": "Logitech USB Headset H340",
"phone_number": "+100003330",
"site_id": "8f9586mJIFAdQ"
},
"date_time": "2020-09-11T05:35:41Z",
"direction": "internal",
"duration": 71,
"mos": "1.0"
},
{
"call_id": "68798685701826",
"callee": {
"extension_number": "10006",
"site_id": "DS8YB6B6TYSN8BKo0P-5ug"
},
"caller": {
"codec": "opus",
"device_type": "Windows_Client 5.2.42619.0804",
"extension_number": "1021",
"headset": "Logitech USB Headset H340",
"isp": "other",
"microphone": "Logitech USB Headset H340",
"phone_number": "+12099990",
"site_id": "8f71O6rWT8KFUGQmJIFAdQ"
},
"date_time": "2020-09-11T05:30:49Z",
"direction": "internal",
"duration": 67,
"mos": "1.0"
}
],
"from": "2020-03-11",
"next_page_token": "Dhgnfxcnxzerz",
"page_size": 10,
"to": "2020-09-11",
"total_records": 3
}
请求参数
Query 参数
from
string
可选
yyyy-mm-dd
format. Specify a 30 day range using the from
and to
parameters as the response provides a maximum of a month worth of data per API request.to
string
可选
yyyy-mm-dd
format.site_id
string
可选
quality_type
string
可选
The value of this field can be one of the following:
good
: Retrieve call logs of the call(s) with good quality of voice.bad
: Retrieve call logs of the call(s) with good quality of voice.all
: Retrieve all call logs without filtering by voice quality.page_size
integer
可选
<= 100
默认值:
30
next_page_token
string
可选
返回响应
修改于 2024-04-24 09:06:48