Comments
Update a comment
Updates an existing comment by its unique identifier.
You can update:
- content - Comment text (HTML format)
- isPrivate - Privacy status (admin-only visibility)
- isPinned - Pinned status (displayed at top)
- inReview - Moderation status
Content Format
Content should be formatted as HTML. For images:
- External URLs in
img srcattributes are automatically pulled into our storage - Base64 encoded data URIs (
data:image/...) are also supported and processed
Permissions
- Comment authors can update their own comment content
- Admin permissions required for:
isPrivate- Requiresmanage_comments_privatepermissionisPinned- Requiresset_comment_pinnedpermissioninReview- Requiresmoderate_commentspermission- Updating other users' comments - Requires
moderate_commentspermission
Response
Returns the updated comment object with all fields populated.
Errors
400- Invalid comment ID format or input403- Not authorized to update this comment404- Comment not found
Body
application/json
Comment content in HTML format
Minimum string length:
2Example:
<p>This is my updated comment.</p>Update the creation date (useful for imports)
Example:
2025-01-15T10:30:00.000ZSet the downvotes count directly. Score will be recalculated as upvotes - downvotes.
Required range:
0 <= xExample:
2Response
application/json
Success
Changelog ID this comment belongs to
Example:
507f1f77bcf86cd799439013Parent comment ID for replies, null for root comments
Example:
507f1f77bcf86cd799439014More in Comments
GETList commentsPOSTCreate a new commentPOSTSearch commentsStill need help? Ask the team