Comments, files and reactions
What this is: a task’s comments, the files posted with them and the emoji reactions on them. When you need it: posting updates to a task from your own code, or reading the conversation on one.
curl -X PUT "$TASKADENCE_API_URL/v1/tasks/$TASK_ID/comments/$COMMENT_ID/reactions/%F0%9F%91%8D" \ -H "Authorization: Bearer $TASKADENCE_TOKEN"now = tm.tasks.comments.react(task_id, comment_id, "👍")print([(r.emoji, r.count, r.reacted_by_me) for r in now.reactions])Comments
Section titled “Comments”task-comments.create posts a comment and task-comments.reply answers one.
task-comments.list returns a task’s comments with their replies, a page of top-level comments at a time.
Only the author edits a comment. Everyone subscribed to the task gets an email about it, except the author.
Files on a comment
Section titled “Files on a comment”A comment holds up to 5 files, each up to 100 MB. They are task attachments, with the same file types, scan, size limit and storage quota, so they count against the organization’s storage.
- Upload each file to the task with
purposeset tocomment, throughuploads.createortask-attachments.create. It needs permission to comment on the task, not to edit it, and does not count toward the task’s attachment limit. - Send their ids as
attachment_idswhen you create the comment or reply. Only files you uploaded to the same task, and not on another comment yet, are accepted.
A comment read carries attachments: each file’s name, size, content_type and, for an image, a short-lived
thumb link. Download a file as any task attachment. On an edit, attachment_ids replaces the list: leave it out to
keep the files, send [] for none. A file taken off the comment is deleted. The attachment itself shows which comment
it belongs to in comment_id.
Reactions
Section titled “Reactions”Anyone who can see the task can react to a comment with any emoji, one emoji per call:
| Operation | Does |
|---|---|
task-comments.add_reaction |
Adds your reaction; doing it twice is harmless |
task-comments.remove_reaction |
Takes your reaction back; removing one you did not make is harmless |
task-comments.list_reactions |
Everyone who reacted with that emoji, oldest first |
Both writes answer the comment’s reactions now. A comment read carries the same list: each emoji with its count,
reacted_by_me and the first few people. A comment holds at most 50 different emojis; a new one past that is a 409.
Put the emoji in the path URL-encoded. A reaction sends no email. Webhooks task.comment_reaction_added and
task.comment_reaction_removed report them; see events.
A member whose sign-in is not linked to their profile yet cannot react, or be subscribed to a task:
the call is a 409 member-not-linked naming them. They need to sign in again. Their member row
shows linked: false until then.
Over MCP, react_to_comment adds or removes your own reaction; see the tools.