Skip to main content
GET
FIXED · account An incoming STOP blocks voice and SMS across the owning account. The receiving business number is evidence only. NOT OFFERED → do this instead · number A number or a separate agent does not create its own STOP boundary. Businesses on a platform share its STOP list. Honour the suppression across their numbers. YOU CAN CHANGE · account Add a do-not-contact entry for all channels, voice or SMS. Check the selected owner and recipient before any change. SCOPE · recipient Preview local contact rules before outreach. Report the reason when a recipient is held and resolve the underlying policy or missing data. needs_timezone, timezone_policy_paused, contact_policy_paused, consent_required, consent_withdrawn, do_not_contact, outside_hours, not_due_local, policy_migration_required, country_policy_review, holiday_data_unavailable, public_holiday. Keyword STOP works independently. AI recognition of a sender’s clear objection in a verified incoming SMS is off by default. Customers have no switch for it. Where enabled on eligible automatic replies, it blocks calls and texts account-wide and may send one goodbye. On GET /v1/contact-suppressions, business_number alone selects keyword evidence. Add source=attributed for keyword and AI entries. To correct an eligible AI mistake, the Owner or account key sends phone_number, channel=all, current review_version and a reason to POST /v1/contact-suppressions/ai-corrections. Reload on review_changed. Keyword STOP and independent restrictions stay locked. Correction never supplies consent. Read the compact AI rules List stored do-not-contact entries in one channel bucket. channel=all selects entries stored for all channels; it does not combine the voice and SMS buckets.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Entries belong to the account and are listed by channel and cursor. The opted-out business number records where the STOP arrived. It does not limit the suppression to that sender. See contact controls.
  • Check the saved scope and contact identifiers.
  • A missing row does not confirm consent to contact that person.

Authentication

Send Authorization: Bearer KEY_ID:KEY_SECRET using the owning account’s server-side credential.

Request fields

Do not send a request body. Pages contain at most 200 rows in phone_number ascending order. There is no configurable limit. Nonempty pages return their last number as next_cursor even when short; pass it as after until an empty page returns null. For a full inventory, page all, voice and sms separately. Contact checks can apply an all-channel entry as well as a channel-specific entry.

Response fields

200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false.

Example request

These examples require Node/CLI 0.11.0 or later, Python 0.4.0 or later and MCP 0.5.0 or later. Keep NIXFLEX_API_KEY private. cURL uses Bash; CLI uses PowerShell and reads the key through NIXFLEX_API_KEY. Replace fixture identifiers and reserved example numbers with approved account-owned values. Configure the existing MCP installation for the same account at https://api.nixflex.com before using the shown tool arguments. Python shows the synchronous client; AsyncNixflex uses the same method with async with and await.

Example response

Illustrative 200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.

Errors

Failures return an error object with code, message, doc_url and optional details. Each code links to the shared error catalog. Read the message and details before deciding whether to resend.

Retry and idempotency

This is a read-only request. Retry transient connection or server failures with bounded backoff; respect Retry-After for 429. Do not retry validation or ownership errors unchanged. A later read can return newer state.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Query Parameters

channel
enum<string>
default:all

Channel bucket.

Available options:
all,
voice,
sms
after
string

Continue after this E.164 number from next_cursor.

Pattern: ^\+[1-9][0-9]{6,14}$

Response

OK

entries
object[]
required
next_cursor
string | null
required

International number with + and digits; no spaces.

Pattern: ^\+[1-9][0-9]{6,14}$