Logo
Zoom Public API Documentation

Batch add emergency service locations

POST {{baseUrl}}/phone/batch_locations

Batches the add emergency service locations.

Prerequisites: * Pro or higher account plan with Zoom phone license * Account owner or admin permissions

Scopes: phone:write:admin

Granular Scopes: phone:write:batch_emergency_locations:admin

Rate Limit Label: Light

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "locations": [ { "display_name": "<string>", "location_id": "<string>" }, { "display_name": "<string>", "location_id": "<string>" } ] }



Curl
curl -X POST 'https://api.zoom.us/v2/phone/batch_locations' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"locations":[{"company_address":{"address_line1":"\u003cstring\u003e","country":"\u003cstring\u003e","address_line2":"\u003cstring\u003e","city":"\u003cstring\u003e","state_code":"\u003cstring\u003e","vat_number":"\u003cstring\u003e","zip":"\u003cstring\u003e"},"display_name":"\u003cstring\u003e","identifier":"\u003cstring\u003e","bssid":"\u003cstring\u003e","elin":"\u003cstring\u003e","network_switches":[{"mac_address":"\u003cstring\u003e","port":"\u003cstring\u003e","port_prefix":"\u003cstring\u003e","port_range_from":"\u003cstring\u003e","port_range_to":"\u003cstring\u003e"},{"mac_address":"\u003cstring\u003e","port":"\u003cstring\u003e","port_prefix":"\u003cstring\u003e","port_range_from":"\u003cstring\u003e","port_range_to":"\u003cstring\u003e"}],"parent_identifier":"\u003cstring\u003e","private_ip":"\u003cstring\u003e","public_ip":"\u003cstring\u003e","sip_group_name":"\u003cstring\u003e","minimum_match_criteria":"\u003cboolean\u003e"},{"company_address":{"address_line1":"\u003cstring\u003e","country":"\u003cstring\u003e","address_line2":"\u003cstring\u003e","city":"\u003cstring\u003e","state_code":"\u003cstring\u003e","vat_number":"\u003cstring\u003e","zip":"\u003cstring\u003e"},"display_name":"\u003cstring\u003e","identifier":"\u003cstring\u003e","bssid":"\u003cstring\u003e","elin":"\u003cstring\u003e","network_switches":[{"mac_address":"\u003cstring\u003e","port":"\u003cstring\u003e","port_prefix":"\u003cstring\u003e","port_range_from":"\u003cstring\u003e","port_range_to":"\u003cstring\u003e"},{"mac_address":"\u003cstring\u003e","port":"\u003cstring\u003e","port_prefix":"\u003cstring\u003e","port_range_from":"\u003cstring\u003e","port_range_to":"\u003cstring\u003e"}],"parent_identifier":"\u003cstring\u003e","private_ip":"\u003cstring\u003e","public_ip":"\u003cstring\u003e","sip_group_name":"\u003cstring\u003e","minimum_match_criteria":"\u003cboolean\u003e"}],"site_id":"\u003cstring\u003e"}'

ENDPOINTS