---
title: "Get call blocking rules"
method: GET
path: "/callBlockingRules"
tags: ["Call Blocking Rules"]
---

# Get call blocking rules

`GET /callBlockingRules`

Return all the call blocking rules for the specified project.

## Query parameters

- `page` integer
- `size` integer
- `sort` string[]

## Response `200`

OK

- CallBlockingRule[]
  - `name` string — The name for the call blocking rule.
  - `direction` 'INBOUND' | 'OUTBOUND', required — The direction of the call blocking rule. Can be either INBOUND or OUTBOUND.
  - `callerCountry` string — The country code of the inbound call.
  - `calleeCountry` string — The country code of the outbound call.
  - `callerMatch` string — Use this field to match the prefixes of an inbound call's phone number.
  - `calleeMatch` string — Use this field to match the prefixes of an outbound call's phone number.
  - `id` string — The ID of the call blocking rule.

---

[API](https://skmtc.net/sinch/apis/elastic-sip-trunk-api.md) · [All operations](https://skmtc.net/sinch/apis/elastic-sip-trunk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinch/elastic-sip-trunk-api/revisions/c04c2c708bf9/schema)
