Sayr
ReferenceTasks

Create Task Comment

POST
/me/create_comment

Create a new comment on a task.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

taskId*string
orgId*string
content*string
visibility?string
Default"public"

Value in

  • "public"
  • "internal"
createdBy?|null

Response Body

application/json

application/json

curl -X POST "https://example.com/me/create_comment" \  -H "Content-Type: application/json" \  -d '{    "taskId": "abc123",    "orgId": "abc123",    "content": "## Comment Title",    "visibility": "public"  }'
{  "success": true,  "data": {    "id": "string"  }}