Create a User Comment

POST

POST User Comments

POST /users/{userId}/comments endpoint is used to create a comment for a user. To attach files in the comment upload the file first using the POST /pre-signed-url endpoint and then use the returned key to attach the file in the comment with the filename and size.`

Path parameters

userIdstringRequired
Unique User Identifier

Request

This endpoint expects an object.
body
stringRequired
Comment body
files
list of objectsOptional
createdTimestamp
doubleOptional
Timestamp when comment is created

Response

This endpoint returns an object
commentId
string
Unique comment ID
body
string
Comment body
files
list of objectsOptional
createdTimestamp
doubleOptional
Timestamp when comment is created
updatedTimestamp
doubleOptional
Timestamp when comment is updated

Errors