Conversation Thread
/v1/conversations/{id}A single conversation thread: conversation info plus recent inbound/outbound messages merged together.
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 |
|---|---|---|---|---|
id | path | Yes | string | The conversation ID, conv_... |
limit | query | No | integer 1..200 | Number of messages to return, default 50. Out-of-range values are clamped; ignored if unparseable |
Response
| Status | Description |
|---|---|
200 | OK |
4xx | Client error |
For the common error envelope and how to handle it, see Error Codes.
Notes
The returned merged message list combines two sources — inbound (persisted from webhooks) and outbound (persisted at send time) — into a single thread ordered by time; limit is likewise clamped to 1–200, and requesting a conversation outside the caller's account returns 404 (rather than 403), to avoid revealing whether the resource exists. Outbound messages carry status/errorCode/errorMessage, and a failed outbound message additionally carries the same stage and structured error (policy code, metaCode, retryable, customerAction) as GET /v1/messages/{id}; these fields are always null on inbound messages.