List phone numbers
GET
/phone/numbers
Phone
Scope:
phone:read:admin
Rate Limit Label:
Medium
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://api.zoom.us/v2/phone/numbers'
响应示例响应示例
{
"next_page_token": "",
"page_size": 30,
"phone_numbers": [
{
"assignee": {
"extension_number": 12,
"id": "cgfdgfghghim",
"name": "Peter Jenner",
"type": "user"
},
"capability": [
"incoming",
"outgoing"
],
"display_name": "abc",
"id": "execvbfgbgr",
"location": "Milpitas,California,United States",
"number": "0000111100",
"number_type": "tollfree",
"site": {
"id": "sdfsdfgrg",
"name": "SF office"
},
"source": "internal",
"status": "pending"
},
{
"assignee": {
"extension_number": 1,
"id": "dfgdfghdfhgh",
"name": "Receptionist",
"type": "autoReceptionist"
},
"id": "fdgfdgfdh",
"location": "San Jose,California,United States",
"number": "111111111",
"number_type": "toll",
"site": {
"id": "jhdfsdghfdg",
"name": "San Jose office"
},
"source": "external",
"status": "available"
}
],
"total_records": 2
}
请求参数
Query 参数
next_page_token
string
可选
type
enum<string>
可选
assigned
: The number has been assigned to either a user, a call queue, an auto-receptionist or a common area phone in an account. unassigned
: The number is not assigned to anyone.all
: Include both assigned and unassigned numbers in the response.byoc
: Include Bring Your Own Carrier (BYOC) numbers only in the response.枚举值:
assignedunassignedall
extension_type
enum<string>
可选
user
callQueue
autoReceptionist
commonAreaPhone
枚举值:
usercallQueueautoReceptionistcommonAreaPhone
page_size
integer
可选
<= 100
默认值:
30
number_type
enum<string>
可选
toll
or tollfree
.枚举值:
tolltollfree
pending_numbers
boolean
可选
true
or false
.site_id
string
可选
返回响应
修改于 2024-04-24 09:06:48