Logo
Zoom Public API Documentation

Add directory backup routing rule

POST {{baseUrl}}/phone/routing_rules

Creates 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 through the PSTN.

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

Scopes: phone:write:admin

Granular Scopes: phone:write:routing_rule:admin

Rate Limit Label: Light

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "name": "<string>", "routing_rule_id": "<string>" }



Curl
curl -X POST 'https://api.zoom.us/v2/phone/routing_rules' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"name":"\u003cstring\u003e","number_pattern":"\u003cstring\u003e","sip_group_id":"\u003cstring\u003e","site_id":"\u003cstring\u003e","translation":"\u003cstring\u003e","type":"other_sites"}'

ENDPOINTS