---
title: "Read SMS Blocks for all Domains"
method: GET
path: "/smsblocks"
tags: ["Messages/SMS Block"]
---

# Read SMS Blocks for all Domains

`GET /smsblocks`

## Request

- Base URL: `https://ns-api.com/ns-api/v2`
- URL: `https://ns-api.com/ns-api/v2/smsblocks`
- Auth: HTTP bearer

## Response `200`

- SmsBlock[]
  - `id` string, required: The ID for the SMS block . Will be auto generated on addition
  - `requesting-number` string, e164, required: This is the number that is requesting the block be added against the blocked-number.
  - `blocked-number` string, e164, required: This is the number that will be blocked from sending new SMS to the requesting-number
  - `domain` string, required: Domain owning this block
  - `status` 'active' | 'inactive': active/inactive
  - `created-datetime` string, date-time
  - `last-modified-datetime` string, date-time

## Other responses

- `400`
- `401`
- `404`

## Changes

- **2026-11-03** `bce16087d479`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ns-api/apis/netsapiens-api-v2/changes/smsblocks/get.md)

---

[API](https://skmtc.dev/ns-api/apis/netsapiens-api-v2.md) - [All operations](https://skmtc.dev/ns-api/apis/netsapiens-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/ns-api/apis/netsapiens-api-v2/revisions/bce16087d479?raw)
