Skip to main content
GET
/
v1
/
threads
/
{thread_id}
/
messages
List messages
curl --request GET \
  --url https://api.zerobot.ai/v1/threads/{thread_id}/messages \
  --header 'Authorization: Bearer <token>'
{
  "messages": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

thread_id
string
required

The id of the thread to retrieve messages for.

Response

200 - application/json

Successful response

messages
object[]