Add internal numbers
POST
/accounts/{accountId}/sip_trunk/internal_numbers
SIP Connected Audio
To add internal numbers to a sub account, provide the account ID of the sub account in the
accountId
path parameter. To add internal numbers to a master account, provide me
as the value of the accountId
path parameter.Prerequisites:
Scope:
sip_trunk:master
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://api.zoom.us/v2/accounts//sip_trunk/internal_numbers'
响应示例响应示例
201 - response
{
"internal_numbers": [
{
"allow_join": true,
"country": "US",
"display_number": "+1 646 666 1110",
"id": "A26fhgdfg63",
"labels": "SIP-Internal",
"languages": "en-GB",
"number": "+16466661110",
"type": 0,
"visible": true
}
]
}
请求参数
Path 参数
accountId
string
必需
To add internal numbers to a sub account, provide the account ID of the sub account in the
accountId
path parameter. To add internal numbers to a master account, provide me
as the value of the accountId
path parameter.Body 参数multipart/form-data
internal_numbers
array [object {9}]
可选
>= 1 items<= 30 items
allow_for_external_meetings
boolean
可选
allow_join
boolean
可选
true
: This number can be used to join a meeting. false
: This number can not be used to join a meeting.visible
field is set to true
, the value of this field will always be true
.country
string
必需
display_number
string
必需
+1888888000
, the value of this field could be +1 888 888 000
.labels
string
必需
languages
enum<string>
必需
en-GB
, en-US
, de-DE
.枚举值:
en-GBen-USde-DE
number
string
必需
type
enum<integer>
必需
The value can be one of the following:
0
: toll 1
: tollfree枚举值:
01
visible
boolean
可选
true
: Make the number visible. false
: Hide the number.返回响应
修改于 2024-04-24 09:06:48