Batch add emergency service locations
POST
{{baseUrl}}/phone/batch_locations
Use this API to batch add emergency service locations.
Prerequisites:
* Pro or higher account plan with Zoom phone license
* Account owner or admin permissions
Scope: phone:write:admin
Rate Limit Label: Light
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
Content-Type
|
string |
|
|
Accept
|
string |
|
|
RESPONSES
status Created
[
{
"display_name": "example location",
"location_id": "FwOAeL4TRmqQrmF0jOfzkQ"
},
{
"display_name": "example location",
"location_id": "FwOAeL4TRmqQrmF0jOfzkQ"
}
]
|
curl -X POST 'https://api.zoom.us/v2/phone/batch_locations' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"locations":[{"identifier":"eRYjZlItQIqlFbCuRA__SQ","display_name":"example location","company_address":{"address_line1":"55 Almaden Boulevard","country":"United States","address_line2":"6th floor","city":"SAN JOSE","state_code":"CA","vat_number":"123456789B01","zip":"95113"},"bssid":"SA43YjfBTS6gJbUpfvIziQ","elin":"+12058945656","network_switches":[{"mac_address":"0004f25eec3d","port":"11","port_prefix":"1","port_range_from":"10","port_range_to":"20"},{"mac_address":"0004f25eec3d","port":"11","port_prefix":"1","port_range_from":"10","port_range_to":"20"}],"parent_identifier":"FksDtQDfR9qs3gWXNDsfIw","private_ip":"192.1.1.2","public_ip":"192.1.1.1","sip_group_name":"band width","minimum_match_criteria":true},{"identifier":"eRYjZlItQIqlFbCuRA__SQ","display_name":"example location","company_address":{"address_line1":"55 Almaden Boulevard","country":"United States","address_line2":"6th floor","city":"SAN JOSE","state_code":"CA","vat_number":"123456789B01","zip":"95113"},"bssid":"SA43YjfBTS6gJbUpfvIziQ","elin":"+12058945656","network_switches":[{"mac_address":"0004f25eec3d","port":"11","port_prefix":"1","port_range_from":"10","port_range_to":"20"},{"mac_address":"0004f25eec3d","port":"11","port_prefix":"1","port_range_from":"10","port_range_to":"20"}],"parent_identifier":"FksDtQDfR9qs3gWXNDsfIw","private_ip":"192.1.1.2","public_ip":"192.1.1.1","sip_group_name":"band width","minimum_match_criteria":true}],"site_id":"SQv52YtkRLC2dwrDdYtGsA"}'