Add a comment to an article
POST /cms/content/{id}/comment
POST
/cms/content/{id}/comment
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Content ID
Request Body required
Section titled “Request Body required ”Comment payload (supports multipart/form-data for file uploads)
One of:
object
comment
Comment text
string
comment_anonymously
Post comment anonymously (only if logged in)
boolean
metadata
Comment metadata (optional)
object
set_as_approved
Set comment as approved (1) or pending (0) (only using an Admin API key or UserToken header)
integer
Deprecated way of rating content via comment endpoint. Use /content/{id}/rate instead.
object
rating
Rating (1-5)
integer
Multipart form data for comment with optional file upload
object
comment
Comment text
string
postername
Name of the poster (optional if logged in)
string
posteremail
Email of the poster (optional if logged in)
string
comment_anonymously
Post comment anonymously (only if logged in)
boolean
source
Source of the comment
string
set_as_approved
Set comment as approved (1) or pending (0)
integer
file
File attachment (image, video, or audio)
string format: binary
reply_to
ID of the comment being replied to (optional)
string
Responses
Section titled “ Responses ”Comment added
object
comment_id
ID of the newly created comment
integer