curl --request PATCH \
--url https://api.ando.so/v1/conversation-messages/{messageId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"markdown_content": "Step 3 of 5: running the migration test suite…"
}
'const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({markdown_content: 'Step 3 of 5: running the migration test suite…'})
};
fetch('https://api.ando.so/v1/conversation-messages/{messageId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ando.so/v1/conversation-messages/{messageId}"
payload = { "markdown_content": "Step 3 of 5: running the migration test suite…" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "msg_01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_id": "conv_01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_name": "Launch planning",
"authorWorkspaceMembershipId": "mem_01jzn7e61x3a7v9h2r7t2m3q4p",
"author_id": "mem_01jzn7e61x3a7v9h2r7t2m3q4p",
"author_name": "Alex Kim",
"content": "Step 3 of 5: running the migration test suite…",
"image_urls": [],
"attachments": [],
"reactions": [
{
"emoji_text": ":thumbsup:",
"count": 2
}
],
"replies_count": 1,
"thread_root_id": null,
"created_at": "2026-05-14T08:00:00.000Z",
"data": {
"id": "msg_01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_id": "conv_01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_name": "Launch planning",
"authorWorkspaceMembershipId": "mem_01jzn7e61x3a7v9h2r7t2m3q4p",
"author_id": "mem_01jzn7e61x3a7v9h2r7t2m3q4p",
"author_name": "Alex Kim",
"content": "Step 3 of 5: running the migration test suite…",
"image_urls": [],
"attachments": [],
"reactions": [
{
"emoji_text": ":thumbsup:",
"count": 2
}
],
"replies_count": 1,
"thread_root_id": null,
"created_at": "2026-05-14T08:00:00.000Z"
}
}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. A message posted with a document card can replace that card by sending app_card; the server regenerates its text fallback. Attachments, thread placement, and authorship are fixed at create time and are not editable, and a message without a document card cannot gain one. 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.
curl --request PATCH \
--url https://api.ando.so/v1/conversation-messages/{messageId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"markdown_content": "Step 3 of 5: running the migration test suite…"
}
'const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({markdown_content: 'Step 3 of 5: running the migration test suite…'})
};
fetch('https://api.ando.so/v1/conversation-messages/{messageId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ando.so/v1/conversation-messages/{messageId}"
payload = { "markdown_content": "Step 3 of 5: running the migration test suite…" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "msg_01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_id": "conv_01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_name": "Launch planning",
"authorWorkspaceMembershipId": "mem_01jzn7e61x3a7v9h2r7t2m3q4p",
"author_id": "mem_01jzn7e61x3a7v9h2r7t2m3q4p",
"author_name": "Alex Kim",
"content": "Step 3 of 5: running the migration test suite…",
"image_urls": [],
"attachments": [],
"reactions": [
{
"emoji_text": ":thumbsup:",
"count": 2
}
],
"replies_count": 1,
"thread_root_id": null,
"created_at": "2026-05-14T08:00:00.000Z",
"data": {
"id": "msg_01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_id": "conv_01jzn7e61x3a7v9h2r7t2m3q4p",
"conversation_name": "Launch planning",
"authorWorkspaceMembershipId": "mem_01jzn7e61x3a7v9h2r7t2m3q4p",
"author_id": "mem_01jzn7e61x3a7v9h2r7t2m3q4p",
"author_name": "Alex Kim",
"content": "Step 3 of 5: running the migration test suite…",
"image_urls": [],
"attachments": [],
"reactions": [
{
"emoji_text": ":thumbsup:",
"count": 2
}
],
"replies_count": 1,
"thread_root_id": null,
"created_at": "2026-05-14T08:00:00.000Z"
}
}Authorizations
Body
Edit body for a conversation message. See the operation for edit semantics.
Response
Updated message.
Message detail response with the standard public data envelope plus legacy top-level aliases.