Method
Parameters
array
required
An array of rich text objects that represent the content of the comment.
object
The parent of the comment. Required if
discussion_id is not provided.string
The ID of the discussion thread to comment on. Required if
parent is not provided.array
An array of files to attach to the comment. Maximum of 3 allowed.
object
Display name for the comment.
string
Bearer token for authentication. If not provided, the client-level auth is used.
Response
Returns a Comment object.string
Always
"comment".string
The ID of the comment.
object
The parent of the comment (page or block).
string
The ID of the discussion thread this comment belongs to.
array
The rich text content of the comment.
string
The time when the comment was created (ISO 8601 format).
string
The time when the comment was last edited (ISO 8601 format).
object
The user who created the comment.