Get messages in a conversation
GET /api/conversations/{id}/messages
Returns all messages in a conversation thread, ordered chronologically. Includes messages from all participants (customer, AI agent, human agent, system). For email conversations, the content contains the parsed email body.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The unique identifier of the conversation.
Responses
Section titled “ Responses ”Chronologically ordered list of all messages in the conversation.
Chronologically ordered list of messages in a conversation.
A single message in a conversation.
object
Unique identifier for the message.
Whether the message came from the customer (inbound) or was sent by oHallo (outbound).
Who produced the message. On voice channels every message is inbound, so use this to distinguish the caller from the assistant.
The message text.
When the message was sent.
The conversation turn this message belongs to. Present when the message is part of a turn.
Sender address, when the channel provides one.
The channel the message arrived on or was sent through.
Subject line, for channels that have one such as email.
No conversation exists with the given ID in the authenticated tenant.
Standard error response returned by all endpoints on failure.
object
A human-readable error message describing what went wrong.
Example
Conversation not found