Call Blocking
List Blocked/Allowed Phone Numbers
Returns the lists of blocked and allowed phone numbers.
get/restapi/v1.0/account/{accountId}/extension/{extensionId}/caller-blocking/phone-numbers
Path parameters
accountIdstring required
Internal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
extensionIdstring required
Internal identifier of the RingCentral extension/user (can be set to "~" to indicate that the extension associated with current authorization session should be used)
Query parameters
pageinteger
The result set page number (1-indexed) to return
perPageinteger
The number of items per page. If provided value in the request is greater than a maximum, the maximum value is applied
status'Blocked' | 'Allowed'
Status of a phone number
Response
OK
Example response
{
"paging": {
"perPage": 50,
"page": 5,
"pageEnd": 5,
"totalPages": 25,
"totalElements": 25
}
}