Runrunit

Interact with the Runrunit API

Comments → Create

AI-generated

Summary

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.

Links

Discussion