Activities
Edit an activity comment
Edits a comment you wrote, changing its body, mentions or upload_ids.
Requires: desk.write scope, Converse licence.
Authorization
bearerAuth AuthorizationBearer <token>
A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.
In: header
Path Parameters
id*string
The activity's id (a UUID).
cid*string
The comment's id (a UUID).
Request Body
application/json
Response
OK
Example
{ "id": "3f2b8c1e-5a4d-4e7b-9c10-2d6a8e4f1b37", "ticket_id": "b1e8bf6f-7f06-4c91-96dd-a1eb7abe504b", "parent_activity_id": "861eb1a7-8ac3-422a-9e01-4812b7382c79", "author_user_id": "cacbaaf9-2b98-46a1-9b0e-04f92c823408", "author_name": "Wanjiku Mwangi", "body": "Hi Amina, your order has shipped.", "mentions": [ "af55b8ed-074f-478d-9661-0c5ccc54d6d5" ], "created_at": "2026-10-14T08:30:00Z", "edited_at": "2026-10-14T08:30:00Z", "attachments": [ { "id": "3f2b8c1e-5a4d-4e7b-9c10-2d6a8e4f1b37", "filename": "invoice-1182.pdf", "content_type": "application/pdf", "size": 1, "url": "https://example.com/file" } ]}FieldTypeDescription
idrequiredstring (uuid)ticket_idrequiredstring (uuid)The id of the ticket this is about.parent_activity_idrequiredstring (uuid)author_user_idrequiredstring (uuid) | nullauthor_namerequiredstringbodyrequiredstringThe message text.mentionsrequiredstring (uuid)[]The ids of the teammates to notify about the comment.created_atrequiredstring (date-time)edited_atrequiredstring (date-time) | nullattachmentsrequiredobject[]idrequiredstring (uuid)filenamerequiredstringcontent_typerequiredstringsizerequiredintegerurlrequiredstringcurl -X PATCH "https://api.sautidesk.com/v1/desk/activities/string/comments/string" \ -H "Content-Type: application/json" \ -d '{ "body": "Hi Amina, your order has shipped.", "mentions": [ "ba7d8e12-8a4f-478d-9d10-86689fa3b682" ], "upload_ids": [ "0c699a7e-b106-48ea-9aaa-ca40ba89e004" ], "client_id": "642d75b7-2106-4687-96a3-70539952a466" }'