---
title: "Edit User Message"
method: PATCH
path: "/api/kiwi/messages/{message_id}"
tags: ["Kiwi Agent"]
---

# Edit User Message

`PATCH /api/kiwi/messages/{message_id}`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/kiwi/messages/{message_id}`
- Auth: HTTP bearer

Edit a user-authored message in the current user's conversation.

## Path parameters

- `message_id` string, required

## Request body

- MessageEditRequest
  - `text` string, required
  - `conversation_id` string, required
  - `previous_text_hash` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-09** `6fe617c112ef`: 1 info
  - endpoint added
- **2026-08-29** `7a7c8e2b5afc`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/kiwi/messages/:message_id/patch.md)

---

[API](https://skmtc.dev/qomplement/apis/qomplement-api.md) - [All operations](https://skmtc.dev/qomplement/apis/qomplement-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qomplement/apis/qomplement-api/revisions/6fe617c112ef?raw)
