Skip to main content
GET
Get messages from a chat

Authorizations

Authorization
string
header
required

Bearer token authentication. Include your API token in the Authorization header.

Format: Authorization: Bearer <your-token>

Path Parameters

chatId
string<uuid>
required

Unique identifier of the chat

Query Parameters

cursor
string

Pagination cursor from previous next_cursor response

limit
integer
default:50

Maximum number of messages to return

Required range: 1 <= x <= 100

Response

Messages retrieved successfully

messages
object[]
required

List of messages

next_cursor
string | null

Cursor for fetching the next page of results. Null if there are no more results to fetch. Pass this value as the cursor parameter in the next request.