---
title: "Update Message"
method: PATCH
path: "/v0/chatbots/{chatbotId}/messages/{messageId}"
tags: ["Chatbot Messages"]
---

# Update Message

`PATCH /v0/chatbots/{chatbotId}/messages/{messageId}`

## Request

- Base URL: `https://sitegpt.ai/api`
- URL: `https://sitegpt.ai/api/v0/chatbots/{chatbotId}/messages/{messageId}`
- Auth: HTTP bearer

Update message that belongs to a particular thread. You can only add reaction to the message for now.

## Request body

- object: Request Body
  - `threadId` string: Id of the thread that the message belongs to
  - `reaction` 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL': User's reaction to the message

## Response `200`

OK

- object: Success Response
  - `success` boolean: Indicates whether this is success response or error response
  - `message` string: Overall message regarding the operation performed
  - `data` object, nullable: Data returned from the server

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `500`: Internal Server Error

---

[API](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection.md) · [All operations](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/llms.txt) · [OpenAPI document](https://skmtc.dev/sitegpt/apis/sitegpt-api-collection/revisions/aec0de1a00af?raw)
