Create a phone site
POST
/phone/sites
Phone Site
Prerequisites:
Scope:
phone:write:admin
Light
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://api.zoom.us/v2/phone/sites' \
--form 'auto_receptionist_name=""' \
--form 'name=""'
响应示例响应示例
204 - response
{
"id": "ingjgjfhi",
"name": "San Jose Site"
}
请求参数
Body 参数multipart/form-data
auto_receptionist_name
string
必需
default_emergency_address
object
可选
address_line1
string
必需
address_line2
string
可选
city
string
必需
country
string
必需
>= 2 字符<= 2 字符
state_code
string
必需
zip
string
必需
name
string
必需
>= 1 字符<= 255 字符
short_extension
object
可选
length
integer
可选
6
(i.e., length of site_code
+ length of short_extension
should always be less than or equal to 6).默认值:
3
site_code
integer
可选
返回响应
修改于 2024-04-24 09:06:48