Create Comment

Create a comment on a resource

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
parentobjectRequired
contentstringRequired

The content of the comment. Markdown supported.

attachmentsset of stringsRequired

Attachments to the comment.

Response

This endpoint returns an object.
ridstring

Unique resource identifier for the comment

parentobject

The parent of the comment. It can be a resource or another comment.

authorRidstring

The user who authored the comment

createdAtdatetime

The time the comment was created

contentstring

The markdown content of the comment.

reactionslist of objects

The reactions on the comment

attachmentsset of strings

The comment’s attachments

editedAtdatetimeOptional

The time the comment was edited. Empty if the comment has not been edited.

deletedAtdatetimeOptional

The time the comment was deleted. Empty if the comment has not been deleted.

pinnedBystringOptional

The user who pinned the comment. Empty if the comment is not pinned.

pinnedAtdatetimeOptional

The time the comment was pinned. Empty if the comment is not pinned.