---
title: "Get Caller Blocking Settings"
method: GET
path: "/restapi/v1.0/account/{accountId}/extension/{extensionId}/caller-blocking"
tags: ["Call Blocking"]
---

# Get Caller Blocking Settings

`GET /restapi/v1.0/account/{accountId}/extension/{extensionId}/caller-blocking`

Returns the current caller blocking settings of a user.

## Path parameters

- `accountId` string, required
- `extensionId` string, required

## Response `200`

OK

- CallerBlockingSettings — Returns the lists of blocked and allowed phone numbers
  - `mode` 'Specific' | 'All' — Call blocking options: either specific or all calls and faxes
  - `noCallerId` 'BlockCallsAndFaxes' | 'BlockFaxes' | 'Allow' — Determines how to handle calls with no caller ID in `Specific` mode
  - `payPhones` 'Block' | 'Allow' — Blocking settings for pay phones
  - `greetings` BlockedCallerGreetingInfo[] — List of greetings played for blocked callers
    - `type` string — Type of greeting
    - `preset` PresetInfo
      - `uri` string, uri — Link to a greeting resource
      - `id` string — Internal identifier of a greeting
      - `name` string — Name of a greeting

## Other responses

- `404` — General response with **HTTP 404 "Not found"** status.<br> Reasons: the entity with given ID (typically specified in a path parameter), is not found or inaccessible
- `500` — General response with **HTTP 500 "Internal Server Error"** status.<br> Reasons: general server-side error.
- `503` — General response with **HTTP 503 "Service not available"** status.<br> Reasons: server cannot process the request because of being overloaded, misconfiguration or other issues.

---

[API](https://skmtc.net/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.net/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringcentral/ringcentral-api/versions/8d602198ec97/schema)
