Skip to content

Add a comment to an article

POST
/cms/content/{id}/comment
id
required
string

Content ID

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

Comment added

object
comment_id

ID of the newly created comment

integer