---
title: "Update translation info for a message"
method: PATCH
path: "/message-translations/{messageId}"
tags: ["MessageTranslations"]
---

# Update translation info for a message

`PATCH /message-translations/{messageId}`

## Request body

- TranslateUpdate
  - `from` string, required
  - `to` string, required
  - `provider` string, nullable
  - `model` string, nullable
  - `translatedContent` string, required

## Response `200`

OK

- ApiResponseTranslation
  - `success` boolean, required
  - `message` string, nullable
  - `timestamp` string, date-time, required
  - `data` MessageTranslation
    - `id` string, required
    - `userId` string, required
    - `clientId` string, nullable
    - `content` string, nullable
    - `from` string, nullable
    - `to` string, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2025-09-21** `29cedfcf6ce1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/lobehub/apis/lobechat-openapi/changes/message-translations/:messageId/patch.md)

---

[API](https://skmtc.dev/lobehub/apis/lobechat-openapi.md) · [All operations](https://skmtc.dev/lobehub/apis/lobechat-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lobehub/lobechat-openapi/revisions/7be2ebcf191c/schema)
