List directory backup routing rules
GET {{baseUrl}}/phone/routing_rules?site_id=NjHmTu16Qfe8yOiNJuekXA
Use this API to return 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.
Scopes:
phone:read:admin
Rate Limit Label
:
Medium
Prerequisites:
- A Business or Enterprise account
- A Zoom Phone license
Request Params
| Key | Datatype | Required | Description |
| site_id
| string | | Unique identifier of the site. |
HEADERS
| Key | Datatype | Required | Description |
| Accept
| string | | |
RESPONSES
status: OK
[{"name":"testRoutingRule","number_pattern":"testNumberPattern","order":1,"routing_path":{"sip_group":{"id":"KrjExB4mSuWYkpIRLEjjpQ","name":"sip_test_customer_id2"},"type":"sip_group"},"routing_rule_id":"LVkqTcxNQt6d-W45e0Jc6Q","site_id":"NjHmTu16Qfe8yOiNJuekXA","translation":"/[1-9]/"},{"name":"testRoutingRule","number_pattern":"testNumberPattern","order":1,"routing_path":{"sip_group":{"id":"KrjExB4mSuWYkpIRLEjjpQ","name":"sip_test_customer_id2"},"type":"sip_group"},"routing_rule_id":"LVkqTcxNQt6d-W45e0Jc6Q","site_id":"NjHmTu16Qfe8yOiNJuekXA","translation":"/[1-9]/"}]