Skip to main content
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 Read a number’s SMS or website threads, preserve server paging and mark only the messages the user actually saw as read.
Channels: SMS and web ·
Read marker: Observed version ·
Archive: Inbox state only
The important part
  • Check feature availability before rendering an empty inbox.
  • Preserve read_version as a decimal string and pair both message cursor fields.
  • Archiving does not delete messages or turn off automatic replies.

Prerequisites

Use an owning account credential on the server. Check GET /v1/agent-inbox/features first. The inbox must be enabled; dashboard views can filter out API-managed numbers.

1. Read available numbers

SDK and CLI examples require Node/CLI 0.11.0 or later or Python 0.4.0 or later. See installation and supported clients.

2. List a channel’s threads

GET /v1/agent-inbox/{channel}/{number}, with channel sms or web. Filters include archived, unread, search and period. List limits are 1–100, default 30; offsets are 0–10,000. Do not infer a complete inbox from one page.

3. Page the conversation

GET /v1/agent-inbox/{channel}/{number}/thread/{thread}. The message limit is 1–200, default 100. Pass before and before_id together from the server; a timestamp alone can skip messages sharing that time.

4. Change only the intended state

PATCH the thread with archived and/or the observed read_version. Keep version values as decimal strings, not floating-point numbers. Archiving is not deletion and does not disable automatic replies. Members read shared work; mutations require the permitted writer role.

5. Show identity and retention honestly

Website contact details are visitor-supplied and unverified. Recognition can end when browser storage changes. Read /v1/agent-inbox/retention and its processing flags; saved policy alone does not confirm cleanup ran. The inbox has no send route. A text sent with POST /v1/sms appears in that number’s SMS thread and does not pause automatic replies.

Example response

The numbers response contains numbers, agents and has_more. Thread replies include messages and read/paging state; retain the exact returned versions. The thread schema defines the full response.

Errors and limits

Next steps