PATCH
/
v0
/
chatbots
/
{chatbotId}
/
messages
/
{messageId}
curl --request PATCH \
  --url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/messages/{messageId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "threadId": "dd56a3d0-dba7-4df0-b62b-58513230b053",
  "reaction": "POSITIVE"
}'
{
  "success": true,
  "message": "Updated the message successfully",
  "data": null
}

Authorizations

Authorization
string
header
required

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

Path Parameters

chatbotId
string
required

Id of the chatbot that the message belong to

messageId
string
required

Id of the message that has to be updated

Body

application/json

Request Body to update message

Request Body

Response

200
application/json

OK

Success Response