List an account's inbound blocked statistics
GET {{baseUrl}}/phone/inbound_blocked/extension_rules/statistics?keyword=<string>&match_type=prefix&type=<string>&next_page_token=<string>&page_size=30
Returns the list of the statistics of the extensions blocked rule for inbound calls and messaging. (e.g. Call Queue, Auto Receptionist, Shared Line Group, Common Area, Zoom Room and User)
Prerequisites:
- Pro or higher account plan with Zoom phone license
- Account owner or admin permissions
Scopes:
phone:read:admin
Granular Scopes:
phone:read:list_extension_inbound_block_rules_stat:admin
Rate Limit Label
:
MEDIUM
Request Params
| Key | Datatype | Required | Description |
| keyword
| string | | The partial string of a phone number. |
| match_type
| string | | The match type for the block rule:
phoneNumber
: Only a specific phone number that is shown in theblocked_number
field is blocked.prefix
: All numbers starting with the prefix that is shown in theblocked_number
field are blocked.SMS-shortCodes
: Only a specific SMS short code that is shown in theblocked_number
field is blocked. | |type
| string | | The block type for the block rule:- block_for_other_reasons
- block_as_threat |
|
next_page_token
| string | | The next page token paginates through a large set of results. It returns whenever the set of available results exceeds the current page size. The expiration period for this token is 15 minutes. | |page_size
| number | | The number of records in a single API call. |
HEADERS
| Key | Datatype | Required | Description |
| Accept
| string | | |
RESPONSES
status: OK
{"blocked_statistic":[{"id":"\u003cstring\u003e","match_type":"prefix","phone_number":"\u003cstring\u003e","type":"block_as_threat","block_count":"\u003cinteger\u003e","threat_count":"\u003cinteger\u003e","blocked_number":"\u003cstring\u003e","country":"\u003cstring\u003e"},{"id":"\u003cstring\u003e","match_type":"SMS-shortCodes","phone_number":"\u003cstring\u003e","type":"block_as_threat","block_count":"\u003cinteger\u003e","threat_count":"\u003cinteger\u003e","blocked_number":"\u003cstring\u003e","country":"\u003cstring\u003e"}],"next_page_token":"\u003cstring\u003e","page_size":"\u003cinteger\u003e"}