---
title: "Changes to Edit a chat message"
method: PUT
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}"
---

# Changes to Edit a chat message

`PUT /ocs/v2.php/apps/spreed/api/{apiVersion}/chat/{token}/{messageId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 99 revisions.

- **2026-10-09** `bedff1ae4e89`: 1 info
- **2026-03-31** `dc2b6567a07b`: 16 info
- **2026-02-09** `2dd98af77e49`: 8 info
- **2025-11-04** `7dcb597c730d`: 4 info
- **2025-11-04** `9f3989c87ab7`: 4 info
- **2025-09-02** `7551dadee4c3`: 8 info

## Changes

- **2026-10-09** `bedff1ae4e89`: 1 info
  - added the non-success response with the status `502`
- **2026-03-31** `dc2b6567a07b`: 16 info
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToActorDisplayName` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToActorDisplayName` to the response with the `202` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationName` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationName` to the response with the `202` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationToken` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationToken` to the response with the `202` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToMessageId` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToMessageId` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToActorDisplayName` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToActorDisplayName` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationName` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationName` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationToken` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToConversationToken` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToMessageId` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/replyToMessageId` to the response with the `202` status
- **2026-02-09** `2dd98af77e49`: 8 info
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadId` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadId` to the response with the `202` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadTitle` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadTitle` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadId` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadId` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadTitle` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/threadTitle` to the response with the `202` status
- **2025-11-04** `7dcb597c730d`: 4 info
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/pinnedAt` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/pinnedAt` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/pinnedAt` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData/pinnedAt` to the response with the `202` status
- **2025-11-04** `9f3989c87ab7`: 4 info
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/metaData` to the response with the `202` status
- **2025-09-02** `7551dadee4c3`: 8 info
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/threadReplies` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/threadReplies` to the response with the `202` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/threadTitle` to the response with the `200` status
  - added the optional property `ocs/data/allOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/threadTitle` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/threadReplies` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/threadReplies` to the response with the `202` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/threadTitle` to the response with the `200` status
  - added the optional property `ocs/data/allOf[subschema #2]/parent/anyOf[#/components/schemas/ChatMessage]/allOf[subschema #2]/threadTitle` to the response with the `202` status

---

[Operation](https://skmtc.dev/nextcloud/apis/spreed-full/docs/ocs/v2.php/apps/spreed/api/:apiVersion/chat/:token/:messageId/put.md) - [API](https://skmtc.dev/nextcloud/apis/spreed-full.md) - [Page](https://skmtc.dev/nextcloud/apis/spreed-full/changes/ocs/v2.php/apps/spreed/api/:apiVersion/chat/:token/:messageId/put)
