Comments

get_comments

Get list of comments for the authenticated user's organization

Parameters

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

searchstring

Search term for comment content

relationsArray<string>

Relations to include (e.g., ["createdBy", "employee", "parent", "replies"])

entitystringTASKPROJECTGOALCANDIDATEDEALINVOICEOTHER

Filter by entity type

entityIdstring<uuid>

Filter by entity ID

employeeIdstring<uuid>

Filter by employee ID

parentIdstring<uuid>

Filter by parent comment ID (for replies)

get_comment_count

Get comment count in the authenticated user's organization

Parameters

entitystringTASKPROJECTGOALCANDIDATEDEALINVOICEOTHER

Filter by entity type

entityIdstring<uuid>

Filter by entity ID

employeeIdstring<uuid>

Filter by employee ID

parentIdstring<uuid>

Filter by parent comment ID

get_comment

Get a specific comment by ID

Parameters

idstring<uuid>required

The comment ID

relationsArray<string>

Relations to include (e.g., ["createdBy", "employee", "parent", "replies"])

create_comment

Create a new comment in the authenticated user's organization

Body

application/json
comment_dataobjectrequired

The data for creating the comment

Show child attributes
commentstringrequired

The comment text (required)

entitystringrequired

The entity type (required)

entityIdstringrequired

The entity ID (required)

[key: string]any

update_comment

Update an existing comment

Body

application/json
idstring<uuid>required

The comment ID

comment_dataobjectrequired

The data for updating the comment (only comment text can be updated)

Show child attributes
commentstringrequired

The comment text

delete_comment

Delete a comment

Parameters

idstring<uuid>required

The comment ID

get_comments_by_entity

Get all comments for a specific entity

Parameters

entitystringTASKPROJECTGOALCANDIDATEDEALINVOICEOTHERrequired

The entity type

entityIdstring<uuid>required

The entity ID

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

relationsArray<string>

Relations to include

includeRepliesbooleantrue

Include reply comments

reply_to_comment

Reply to an existing comment

Parameters

parentIdstring<uuid>required

The parent comment ID

commentstringrequired

The reply comment text

entitystringTASKPROJECTGOALCANDIDATEDEALINVOICEOTHERrequired

The entity type

entityIdstring<uuid>required

The entity ID

get_comment_replies

Get all replies to a specific comment

Parameters

parentIdstring<uuid>required

The parent comment ID

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

relationsArray<string>

Relations to include

get_my_comments

Get comments created by the current authenticated user

Parameters

pagenumber1

Page number for pagination

limitnumber10

Number of items per page

entitystringTASKPROJECTGOALCANDIDATEDEALINVOICEOTHER

Filter by entity type

entityIdstring<uuid>

Filter by entity ID

relationsArray<string>

Relations to include

add_comment_to_task

Add a comment to a specific task

Parameters

taskIdstring<uuid>required

The task ID

commentstringrequired

The comment text

add_comment_to_project

Add a comment to a specific project

Parameters

projectIdstring<uuid>required

The project ID

commentstringrequired

The comment text

add_comment_to_goal

Add a comment to a specific goal

Parameters

goalIdstring<uuid>required

The goal ID

commentstringrequired

The comment text

search_comments

Search comments by content

Parameters

querystringrequired

Search query

limitnumber20

Maximum number of results

entitystringTASKPROJECTGOALCANDIDATEDEALINVOICEOTHER

Filter by entity type

employeeIdstring<uuid>

Filter by employee ID

get_recent_comments

Get recent comments for the authenticated user's organization

Parameters

limitnumber20

Maximum number of recent comments

entitystringTASKPROJECTGOALCANDIDATEDEALINVOICEOTHER

Filter by entity type

employeeIdstring<uuid>

Filter by employee ID

relationsArray<string>

Relations to include

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey