Skip to main content

Inbox List

GET/v1/conversations

The inbox list, sorted by most recent activity; before (an ISO timestamp) provides cursor-based pagination.

Authentication

Send Authorization: Bearer <API_KEY> in the request headers, with scope: messages:read. Which resources an API Key can reach is determined by its current authorization scope.

Request​

Base URL: https://api.bluehola.com

Parameters​

NameInRequiredType / constraintsDescription
limitqueryNointeger 1..200Default 50. Out-of-range values are clamped rather than erroring; ignored if unparseable as a number
beforequeryNoISO 8601 date-timeA keyset cursor: returns only conversations with activity earlier than this, taken from the last row's time on the previous page. Ignored if unparseable (same as omitting it)
phoneNumberIdqueryRequired for customer KeysstringReturn only the conversations of this business number (pn_...). A customer Key must pass a number its customer entity owns, otherwise 403

Response​

StatusDescription
200OK
4xxClient error

For the common error envelope and how to handle it, see Error Codes.

Notes​

limit is clamped to between 1 and 200 (out-of-range values are silently corrected, not rejected); before is a cursor rather than an offset, paging in descending order of most recent activity, to avoid the misalignment that new messages arriving mid-pagination would otherwise cause. phoneNumberId limits the list to one business number; without it a BU Key sees the inbox of every number in the account.