Skip to main content
PATCH
/
v1
/
threads
/
{thread_id}
/
messages
/
{message_id}
Modify a message
curl --request PATCH \
  --url https://api.zerobot.ai/v1/threads/{thread_id}/messages/{message_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>"
}
'
{
  "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 modify.

Body

application/json
content
string

The updated content of the message.

Response

200 - application/json

Successful response

message
object

The modified message object.