Skip to main content
GET
Get all messages in a thread

Authorizations

Authorization
string
header
required

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

Format: Authorization: Bearer <your-token>

Path Parameters

messageId
string<uuid>
required

ID of any message in the thread (can be originator or any reply)

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
order
enum<string>
default:asc

Sort order for messages (asc = oldest first, desc = newest first)

Available options:
asc,
desc

Response

Thread retrieved successfully

Response containing messages in a thread with pagination

messages
object[]
required

Messages in the thread, ordered by the specified order parameter

next_cursor
string | null

Cursor for fetching the next page of results (null if no more results)