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

Request Body

{"name"=>"<string>", "number_pattern"=>"<string>", "sip_group_id"=>"<string>", "site_id"=>"<string>", "translation"=>"<string>", "type"=>"other_sites"}

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | | | Accept | string | | |

RESPONSES

status: Created

{"name":"\u003cstring\u003e","routing_rule_id":"\u003cstring\u003e"}