GET
/
v1
/
threads
/
{threadId}
/
messages

Authorizations

X-Tune-Key
string
headerrequired

Tune API Keys are the preferred way to authenticate with the API. You can create an API Key from your Tune Studio Profile → 'Access Keys' (in sidebar)

Path Parameters

threadId
string
required

ID of the thread.

Query Parameters

limit
integer

Number of items to be returned. Range: 1-100. Default: 20.

order
string

Sorting order. Default: asc (desc or asc).

after
string

Pagination token for fetching the next page.

before
string

Pagination token for fetching the previous page.

Response

200 - application/json
object
string

"list".

data
object[]

List of messages.

firstId
string

The ID of the first message.

lastId
string

The ID of the last message.

hasMore
boolean

True if there are more messages.