Skip to main content
POST
create a comment.

Authorizations

Authorization
string
header
required

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

Body

application/json

information of a comment to be created.

referenceId
string
required
Maximum string length: 900
referenceType
enum<string>
default:post
Available options:
post,
content,
story
data
object
metadata
object

Array of URL links extracted from content with metadata for link preview rendering

Maximum array length: 100
commentId
string
Maximum string length: 900
parentId
string
Maximum string length: 900
mentionees
object[]

The object of the mentions type and user who get a notification from the post.

createdAt
string<date-time>

The date/time when a comment is created.

Example:

"2022-07-07T04:24:20.444Z"

attachments
object[]

The attachments/medias to be included in the comment

Response

Comment Information

comments
object[]
commentChildren
object[]
communityUsers
object[]
users
object[]
roles
object[]
files
object[]