Inbox List
/v1/conversationsThe inbox list, sorted by most recent activity; before (an ISO timestamp) provides cursor-based pagination.
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
| Name | In | Required | Type / constraints | Description |
|---|---|---|---|---|
limit | query | No | integer 1..200 | Default 50. Out-of-range values are clamped rather than erroring; ignored if unparseable as a number |
before | query | No | ISO 8601 date-time | A 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) |
phoneNumberId | query | Required for customer Keys | string | Return only the conversations of this business number (pn_...). A customer Key must pass a number its customer entity owns, otherwise 403 |
Response
| Status | Description |
|---|---|
200 | OK |
4xx | Client 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.