Logo
Zoom Public API Documentation

List directory backup routing rules

GET {{baseUrl}}/phone/routing_rules?site_id=<string>

Returns a list of directory backup routing rules. The directory backup routing rules are a series of predefined Regular Expressions. These rules are used to route outgoing calls. If a dialed number does not match a Zoom Phone user, and does not match a defined External Contact, these rules are tested next. If a dialed number does not match any rules, the call will be routed via the PSTN. Prerequisites: * A Business or Enterprise account * A Zoom Phone license

Scopes: phone:read:admin

Granular Scopes: phone:read:list_routing_rules:admin

Rate Limit Label: Medium

 

Body PARAM

Key Datatype Required Description 
site_id
string The unique identifier of the site.



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

[ { "name": "<string>", "number_pattern": "<string>", "order": "<integer>", "routing_path": { "sip_group": { "id": "<string>", "name": "<string>" }, "type": "sip_group" }, "routing_rule_id": "<string>", "site_id": "<string>", "translation": "<string>" }, { "name": "<string>", "number_pattern": "<string>", "order": "<integer>", "routing_path": { "sip_group": { "id": "<string>", "name": "<string>" }, "type": "sip_group" }, "routing_rule_id": "<string>", "site_id": "<string>", "translation": "<string>" } ]



Curl
curl -X GET 'https://api.zoom.us/v2/phone/routing_rules?site_id=<string>?site_id=<string>' -H 'Accept: application/json'

ENDPOINTS