Get a message
GET /v1/conversations/{conversationId}/messages/{messageId}. Reads one message.
GEThttps://api.chatwise.so/v1/conversations/{conversationId}/messages/{messageId}
Reads one message. A deleted or hidden message is not found.
The API key needs the messages:read scope. See authentication and scopes.
Example
curl 'https://api.chatwise.so/v1/conversations/1234/messages/5678' \
-H "Authorization: Bearer $CHATWISE_API_KEY"Path parameters
| Name | Type | Description |
|---|---|---|
conversationId | string | Required. The conversation's id. |
messageId | string | Required. The message's id. |
Response
200. The message.
{
"data": {
"id": "5678",
"conversationId": "1234",
"channel": "WHATSAPP",
"direction": "inbound",
"type": "text",
"text": "Is this available in blue?",
"sentAt": "2026-11-12T09:25:36.000Z",
"ingestedAt": "2026-11-12T09:25:36.412Z",
"replyToMessageId": null,
"attachments": []
}
}| Field | Type | Description |
|---|---|---|
data.id | string | The message's id. |
data.conversationId | string | The conversation the message is in. |
data.channel | string | The channel the message is on. One of WHATSAPP, INSTAGRAM, MESSENGER, WEBSITE_CHAT. |
data.direction | string | inbound from the customer, outbound from the workspace. |
data.type | string | The message's type, such as text, image, audio, interactive or whatsapp_template. |
data.text | string or null | The text or caption. For other types, text that Chatwise makes of the message, such as JSON for a location or contacts. Null for WhatsApp authentication templates, so a one-time code is never returned. |
data.sentAt | string | When the message was sent. ISO 8601, in UTC. |
data.ingestedAt | string | When Chatwise stored the message. ISO 8601, in UTC. |
data.replyToMessageId | string or null | The message this one replies to, if any and still visible. |
data.attachments | array of objects | The message's attachments, at most 10. Always empty on Messenger and Website Chat, and for WhatsApp authentication templates. |
data.attachments[].type | string | The attachment's type, such as image, video, audio or document. |
data.attachments[].mediaId | string or null | The channel's id for the media, when Chatwise has it: usually on Instagram only. |
Errors
| Status | Message | What it means |
|---|---|---|
| 400 | Validation failed | A parameter or body field is missing, unknown or malformed. errors lists each one. |
| 401 | A valid Bearer API key is required | The Authorization header is missing or isn't Bearer <API key>. |
| 401 | Invalid or revoked API key | The key doesn't exist, was revoked, or has expired. |
| 401 | Invalid API key | Chatwise couldn't check the key. Try again. |
| 403 | API key does not have the required scope: messages:read | The key lacks the route's scope. Create a key that has it. |
| 404 | Message not found | No visible message with this id in this conversation. |
| 429 | API key rate limit exceeded | Wait the number of seconds in the Retry-After header. |
| 500 | Internal server error | Something failed in Chatwise. Retry reads with backoff. |
The body of an error is described in errors.