latestOpenAPI 3.0.32026-08-2142130334.7 KB
0a94056fba48
Messages
Update a message
Replaces the markdown body of a message authored by the authenticated API-key workspace membership. Each accepted edit marks the message as edited and emits a message.updated ProductEvent to webhook and realtime subscribers. Attachments, thread placement, and authorship are fixed at create time and are not editable. Sending a body identical to the stored one is a no-op: the message keeps its revision and no event is emitted. Editing does not create new mentions or notifications.
patch/conversation-messages/{messageId}
Path parameters
messageIdstring required
Message identifier.
Message identifier.
Request body
Response
Updated message.
Example response
{
"authorWorkspaceMembershipId": "01jzn7e61x3a7v9h2r7t2m3q4p",
"author_id": "01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_id": "01jzn7e61x3a7v9h2r7t2m3q4p",
"created_at": "2026-05-14T08:00:00.000Z",
"data": {
"authorWorkspaceMembershipId": "01jzn7e61x3a7v9h2r7t2m3q4p",
"author_id": "01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_id": "01jzn7e61x3a7v9h2r7t2m3q4p",
"created_at": "2026-05-14T08:00:00.000Z",
"id": "01jzn7e61x3a7v9h2r7t2m3q4p"
},
"id": "01jzn7e61x3a7v9h2r7t2m3q4p"
}