Messages/SMS Block

Read SMS Blocks for all Domains

Changed on
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

idstring required

The ID for the SMS block . Will be auto generated on addition

requesting-numberstring e164 required

This is the number that is requesting the block be added against the blocked-number.

blocked-numberstring e164 required

This is the number that will be blocked from sending new SMS to the requesting-number

domainstring required

Domain owning this block

status'active' | 'inactive'

active/inactive

created-datetimestring date-time
last-modified-datetimestring date-time

Example response

[
  {
    "requesting-number": "+18585551234",
    "blocked-number": "+18585551234"
  }
]

Changes