Returns all comments of the document with the specified id.
Returns all comments of the document with the specified id. The user needs read permissions on the document.
Path parameters
documentId
The id of the document.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
page
Page number for pagination
pageSize
Number of items per page
orderby
The properties to order by
filterby
The filter expression to filter by
Response
OK
id
The id of the comment.
entityId
The id of the entity of the comment.
Required.
entityType
The type of the entity of the comment.
Can be "projects", "tasks".
Required.
entity
project
task
document
createdOn
The date this object was created.
createdBy
The id of the user who created this object.
user
updatedOn
The date this object was last modified.
updatedBy
The id of the user who last modified this object.
mentions
A mention is the tag of a user on a specific comment, so the user is notified.
reactions
The reactions on a comment.
formattedMessage
The formatted and proccessed version of the comment message. E.g. mentions are in a human readable format.
The formatted comment message is styled with html.
plainFormattedMessage
The formatted and proccessed version of the comment message. E.g. mentions are in a human readable format.
The formatted comment message is not styled.
resourceVersion
The version of the entity, updated on every modification, to the ticks in UTC.
Not identical to UpdatedOn.
message
The message of the comment.
userId
The id of the user who created the comment.
Optional. If not set, defaults to the current user.
previews
The preview URLs to show a preview for.
isHiddenForConnectUsers
True if the comment should be hidden to connect users.
isResolved
Whether the comment has been resolved.
Only available for comments on documents.
inReplyToCommentId
The parent comment this comment is a reply to.