Logo
Zoom Public API Documentation

Add directory backup routing rule

POST {{baseUrl}}/phone/routing_rules

Use this API to create a 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:write:admin
Rate Limit Label: Light

Prerequisites: * A Business or Enterprise account * A Zoom Phone license

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "name": "testRule", "routing_rule_id": "LVkqTcxNQt6d-W45e0Jc6Q" }



Curl
curl -X POST 'https://api.zoom.us/v2/phone/routing_rules' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"name":"testRule","number_pattern":"testPattern","sip_group_id":"KrjExB4mSuWYkpIRLEjjpQ","site_id":"aATWYNqFQDetJQ5tCX6d6g","translation":"/[1-9]/","type":"sip_group"}'

ENDPOINTS