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

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 which this message belongs.

message_id
string
required

The ID of the message to retrieve.

Response

200 - application/json

Successful response

message
object

The message object matching the specified ID.