Actions92
- User Actions
- Task Actions
- Add Comment
- Add Manual Work Period
- Change Board
- Change Project
- Change Time Worked
- Change Type
- Clone
- Complete Workflow Step
- Create
- Create Assignments
- Delete
- Deliver
- Get
- Get Fields
- Get Form Answers
- Get Many
- Get Subtasks
- Mark As Urgent
- Move
- Move To Next Stage
- Move To Top
- Pause
- Play
- Reestimate
- Reopen
- Reposition
- Share
- Undo Workflow Step
- Unmark As Urgent
- Unshare
- Update
- Update Comment
- Team Actions
- Projects Actions
- Board Stages Actions
- Comments Actions
- Documents Actions
- Checklists Actions
- Checklist Items Actions
- Clients Actions
- Descendants Actions
- Time Worked Actions
Comments → Create
AI-generatedSummary
Create a new comment on a specified task in Runrunit by providing the task ID and the comment details in JSON format.
Inputs
- Mode — Select whether to execute the API request to create the comment or only preview the corresponding curl command.
- Task ID (required) — The identifier of the task to which the comment will be added.
- Comment Object (JSON) (required) — A JSON object representing the comment payload, sent in the 'comment' property of the request body; typically includes the comment text in the 'body' field.
Output shape
A single JSON object representing the created comment as returned by the Runrunit API.
The response includes the full comment object created. When 'Mode' is set to 'preview', no API request is made; instead, a curl command preview is provided.
Examples
Example 1: Create a comment with text on a task
Set 'Task ID' to the target task's ID, fill 'Comment Object (JSON)' with {"body":"Your comment text here"}, and leave 'Mode' as 'Execute request' to perform creation.