Documentation Index Fetch the complete documentation index at: https://docs.replyke.com/llms.txt
Use this file to discover all available pages before exploring further.
Updates the content, GIF, mentions, or metadata of an existing message. Only the message author can edit their own messages. Deleted or moderator-removed messages cannot be edited.
If no fields actually changed, the endpoint returns the current message without updating editedAt.
Path Parameters
The ID of the conversation.
The ID of the message to edit.
Body Parameters
All fields are optional. Only provided fields are updated.
New text content. After editing, the message must still have at least one of: content, GIF, or an attached file.
Updated GIF URL. Set to null to remove the GIF.
Response
Returns the updated ChatMessage , with editedAt set to the current time.
Error Responses
Forbidden — 403 (not a member)
{ "error" : "You are not a member of this conversation." , "code" : "chat/not-a-member" }
{ "error" : "Message not found." , "code" : "chat/message-not-found" }
Forbidden — 403 (not the author)
{ "error" : "Only the message author can edit this message." , "code" : "chat/forbidden" }
Message Deleted — 400 Bad Request
{ "error" : "Deleted messages cannot be edited." , "code" : "chat/message-deleted" }
Message Removed — 400 Bad Request
{ "error" : "Removed messages cannot be edited." , "code" : "chat/message-removed" }
Empty Result — 400 Bad Request
{ "error" : "Edited message must have at least content, a GIF, or a file." , "code" : "chat/empty-message" }