Skip to main content
GET
FIXED · account Inbox number discovery is account-wide. Filter threads by channel and number, and call history by number. DELETE /v1/calls purges calls and related recordings account-wide and reports sms_deleted=0. For one customer verify each call ID, then use DELETE /v1/calls/{id}. NOT OFFERED → do this instead · number A business_number filter on campaign and opt-out reads does not establish tenant identity. Authorise the tenant and its number on your server. Keep that filter through SMS pagination. Bulk call deletion stays account-wide. YOU CAN CHANGE · account Choose direction, source, outcome and period when supported. The number narrows a history read only. direction all, inbound, outbound, web · source all, campaign, web, test, other · outcome all, successful, unsuccessful, unknown, failed · period all, today, week, month. SCOPE · account Keep the same filters with each server-issued cursor. Read the compact AI rules List conversations for one owned number and channel. Read-only listing does not mark messages as read.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Keep the channel and number fixed while paging.
  • A conversation summary is not the full message thread.

Authentication

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

Request fields

Do not send a request body. Unknown query fields are refused. Boolean query values must be the literal strings true or false. period and since are mutually exclusive. Sort order is last_at descending then thread_key ascending. There is no cursor; continue by offset while needed, recognising that incoming messages can move rows between pages. archived_new and unread_total count conversations, not messages. Requests return Cache-Control: no-store.

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.

Path Parameters

channel
enum<string>
required

Conversation channel.

Available options:
sms,
web
number
string
required

International number with + and digits; no spaces.

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

Query Parameters

archived
boolean
default:false

false selects unarchived conversations; true selects archived only.

unread
boolean
default:false

true selects unread conversations; false includes both read and unread.

Literal case-insensitive search across message text, thread key and visitor name/phone.

Maximum string length: 160
since
string<date-time>

Only conversations whose last message is at or after this timestamp. Do not combine with period.

period
enum<string>
default:all

UTC calendar range: today, or the last N calendar dates including today; all has no time floor.

Available options:
all,
today,
7,
30,
90
limit
integer
default:30

Conversation page size.

Required range: 1 <= x <= 100
offset
integer
default:0

Offset in the filtered list.

Required range: 0 <= x <= 10000

Response

OK

conversations
object[]
required
total
integer
required

Filtered conversations across all pages.

archived_new
integer
required

Archived conversations with unread messages, regardless of the current filters.

unread_total
integer
required

Unarchived conversations with unread messages, regardless of current filters.