Assign SIP trunks
POST
/accounts/{accountId}/sip_trunk/trunks
SIP Connected Audio
Use this API to assign SIP trunk(s) that are available on a master account to a sub account.
Prerequisites:
Scope:
sip_trunk:master
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://api.zoom.us/v2/accounts//sip_trunk/trunks'
响应示例响应示例
201 - response
{
"sip_trunks": [
{
"dnis": "dolore43tr4u",
"id": "represdf324fe",
"name": "HQ-trunk",
"number_prefix": "0",
"sip_server_address": "1.11.123.123"
}
]
}
请求参数
Path 参数
accountId
string
必需
Body 参数multipart/form-data
sip_trunks
array [object {3}]
可选
>= 1 items<= 30 items
dnis
string
可选
dnis
value.>= 5 字符<= 8 字符
id
string
可选
outbound_caller_id
string
可选
<= 32 字符
返回响应
修改于 2024-04-24 09:06:48