Skip to main content
GET
Get Messages for Conversation
Returns paginated messages for a given conversation. This endpoint is useful for building a chat interface and fetch past conversation history based on the conversation_id. You must have to save the conversation_id at the start of the conversation and use it in this endpoint to fetch messages for the conversation.

Query Parameters

conversation_id
string<uuid>
required

UUID of the conversation to fetch messages for.

Example:

"0913fa4c-7eac-4377-b801-58f0c1a151e6"

limit
integer
default:20

Maximum number of messages to return (default: 20, max: 100).

Required range: 1 <= x <= 100
offset
integer
default:0

Number of messages to skip (for pagination, default: 0).

Required range: x >= 0
access_token
string

Optional access token for iframe-authenticated conversations.

Response

200 - application/json

Paginated messages of the conversation.

messages
object[]
required