Get Messages for 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 or null
A list of message objects.
row_countinteger or null
The number of messages returned.
total_countinteger or null
The total number of messages.

Errors