Logo
Zoom Public API Documentation

Add an account's inbound block rule

POST {{baseUrl}}/phone/inbound_blocked/rules

Adds an account level block rule for inbound calls and messaging from a phone number. As a result, all extensions block calls and messages to the phone number.

Prerequisites: * Pro or a higher account with Zoom Phone license * Account owner or admin permissions

Scopes: phone:write:admin

Granular Scopes: phone:write:inbound_block_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

{ "id": "<string>" }



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

ENDPOINTS