Skip to main content
GET
Get Messages

Headers

Authorization
string
required

Path Parameters

thread_id
string
required

Query Parameters

cursor
string | null

Base64-encoded pagination cursor. If not provided, returns the latest 20 messages.

reverse
boolean
default:false

Controls the direction of message retrieval. When false (default), returns messages older than the cursor. When true, returns messages newer than the cursor.

Response

Successful Response

messages
CursorMessageModel · object[]
required

List of messages.

pagination
CursorPagination · object
required
is_locked
boolean
default:false

True when the access link locks on conversation end and the latest conversation has ended. The widget must disable input and hide the ended conversation's history.