Logo
Zoom Public API Documentation

Get directory backup routing rule

GET {{baseUrl}}/phone/routing_rules/:routingRuleId

Use this API to get directory backup routing rule. 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

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "name": "testRule", "number_pattern": "testPattern", "order": 1, "routing_path": { "sip_group": { "id": "KrjExB4mSuWYkpIRLEjjpQ", "name": "sip_test_customer_id2" }, "type": "sip_group" }, "routing_rule_id": "LVkqTcxNQt6d-W45e0Jc6Q", "site_id": "aATWYNqFQDetJQ5tCX6d6g", "translation": "/[1-9]/" }



Curl
curl -X GET 'https://api.zoom.us/v2/phone/routing_rules/:routingRuleId' -H 'Accept: application/json'

ENDPOINTS