Logo
Zoom Public API Documentation

Add an extension's inbound block rule

POST {{baseUrl}}/phone/extension/:extensionId/inbound_blocked/rules

Adds the given extension's block rule for inbound calls and messaging.

It adds the inbound block rule for the given Call Queue, Auto Receptionist, Shared Line Group, Common Area, Zoom Room or User.

Prerequisites: * Pro or a higher account with Zoom Phone license

Scopes: phone:write:admin,phone:write

Granular Scopes: phone:write:extension_inbound_block_rule:admin,phone:write:extension_inbound_block_rule

Rate Limit Label: LIGHT

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "id": "<string>" }



Curl
curl -X POST 'https://api.zoom.us/v2/phone/extension/:extensionId/inbound_blocked/rules' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"blocked_number":"\u003cstring\u003e","match_type":"phoneNumber","type":"block_for_other_reasons","country":"\u003cstring\u003e"}'

ENDPOINTS