Get messages of a thread

Returns messages for a thread.

Path parameters

threadIdstringRequired
Thread ID

Query parameters

limitintegerOptional
Limit the number of results returned
cursorintegerOptional
Cursor for pagination
lastnintegerOptional

Number of most recent messages to return (overrides limit and cursor)

Response

OK
messageslist of objects
A list of message objects.
row_countinteger
The number of messages returned.
thread_created_atstring
The thread creation timestamp.
total_countinteger
The total number of messages.
user_idstring
The user ID associated with this thread.

Errors

404
Not Found Error
500
Internal Server Error