Create a User Comment

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

Headers

x-api-keystringRequired

Request

bodystringRequired>=1 character
Comment body
fileslist of objectsOptional
createdTimestampdoubleOptional
Timestamp when comment is created

Response

Created
commentIdstring
Unique comment ID
bodystring
Comment body
fileslist of objects or null
createdTimestampdouble or null
Timestamp when comment is created
updatedTimestampdouble or null
Timestamp when comment is updated

Errors