Get Conversation Messages
Retrieves all messages from a specific conversation.
Endpoint
Parameters
conversation_id
string
Yes
Unique identifier of the conversation
Authentication
Requires a valid API key or user authentication token.
Response
Returns an array of message objects in chronological order.
Response Format
Response Fields
id
string
Unique identifier for the message
conversation_id
string
ID of the conversation this message belongs to
role
string
Role of the message sender ("system", "user", "assistant")
content
string
Text content of the message
created_at
datetime
When the message was created
Example Request
Example Response
Error Responses
401
Unauthorized - Invalid or missing API key
403
Forbidden - Not authorized to access this conversation
404
Not Found - Conversation not found
500
Internal Server Error
Notes
Messages are returned in chronological order (oldest first)
The first message is typically a system message containing the agent's instructions
For voice conversations, messages contain transcribed text
All participants' messages are included in the conversation history
Messages are stored permanently for record-keeping
Last updated