Logo

Dyzo API

v2.0.0

Task Comments

Complete Dyzo API Documentation - Project Management, Team Collaboration & Time Tracking Platform

API Overview

Capabilities and features

Complete task commenting system with mentions, replies, likes, and real-time notifications. Supports threaded conversations, @mentions, and rich text formatting.

Key Features

Post comments on tasks with rich text
@mention team members with email notifications
Reply to specific comments (threaded conversations)
Like/unlike comments
Edit and delete your own comments
Upload images in comments
Real-time WebSocket notifications
Get formatted deep links to specific comments
Track who has seen comments
GET
/api/tasks/chat/{task_id}/
200 OK

Get All Task Comments

Retrieve all comments/chats for a specific task. Returns threaded conversations with nested replies, likes, and seen status.

POST
/api/task-chats/
200 OK

Create Task Comment (with @mentions)

Post a new comment on a task. Supports @mentions, replies, and image attachments. Automatically sends notifications to mentioned users and task collaborators.

JSONRequest Body
1{
2 "taskId": 250,
3 "sender": 1311,
4 "ClientSender": null,
5 "message": "Great progress! @john please review. cc @[email protected]",
6 "mentionedEmails": [
9 ],
10 "reply_to": 8890,
11 "image": "https://dyzo.ai/uploads/screenshot.png"
12}
PATCH
/api/edit-task-chats/{comment_id}/
200 OK

Edit Task Comment

Edit an existing comment. Only the comment author can edit. Marks comment as 'isEdited: true'.

JSONRequest Body
1{
2 "message": "Updated message text with @newmention",
3 "mentionedEmails": [
5 ]
6}
DELETE
/api/taskchat/{comment_id}/
200 OK

Delete Task Comment

Delete a comment. Only the comment author or task owner can delete.

POST
/api/like-chat/{employee_id}/{comment_id}/
200 OK

Like Task Comment

Like a comment. Sends notification to comment author and task collaborators.

POST
/api/dislike-chat/{employee_id}/{comment_id}/
200 OK

Unlike Task Comment

Remove your like from a comment.