Skip to content

Add comments to a contribution, optionally nested under another comment.

POST
/posts/{post_id}/comments

Creates a comment nested under the contribution with id {post_id}.

post_id
required
string format: uuid

The uuid of the contribution to reply to.

The details of the comment to post.

object
contents
required
Array<string>
accessory_id
One of:
string format: uuid
identity_id
One of:
string format: uuid
forceAnonymous
One of:
boolean

The comments were successfully created.

object
comments

Finalized details of the comments just posted.

Array<object>
object
id
required
string format: uuid
parent_post_id
required
string format: uuid
parent_comment_id
required
One of:
string format: uuid
chain_parent_id
required
One of:
string format: uuid
content
required
string format: quill-delta
secret_identity
required

The public-facing identity associated with the comment.

object
name
required
string
avatar
required
string format: uri-reference
color
One of:
string format: color
accessory
One of:
string format: uri-reference
user_identity
required
One of:
object
name
required
One of:
string
avatar
required
One of:
string format: uri-reference
created_at
required
string format: date-time
own
required
boolean
new
required
boolean
friend
required
boolean

User was not found in request that requires authentication.

User is not authorized to perform the action.