parentCommentId = null.parentCommentId set to the ID of the parent comment.sort parameter controls the order of parent comments (replies should be grouped by client regardless of sort order).comment field may contain HTML with @mention markup. Use mentionedUserIds to identify mentioned users.curl --location --request GET 'https://api.astravue.com/v1/tasks//comments?sort' \
--header 'X-Org-Id;' \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Operation completed successfully",
"code": 200,
"data": [
{
"tenantId": 0,
"taskCommentId": 0,
"comment": "string",
"content": {},
"viaMail": true,
"taskId": 0,
"projectId": 0,
"spaceId": 0,
"parentCommentId": 0,
"parentTaskId": 0,
"createdBy": {},
"mentionedUserIds": [
0
],
"createdTime": "2019-08-24T14:15:22.123Z",
"modifiedTime": "2019-08-24T14:15:22.123Z",
"taskName": "string",
"projectName": "string",
"spaceName": "string"
}
],
"timestamp": "2023-01-01T12:00:00Z"
}