Create a Comment

Create comments using the following endpoint.

POST https://api.scored.co/api/v2/action/create_comment

Parameters

ValueTypeRequiredDescription
contentstringtrueComment content
parentIdinttrueID of the parent post
commentParentIdstringtrueID of parent comment, or "0" for top-level
communitystringtrueCommunity of the parent post
g-recaptcha-responsestringfalseValid reCAPTCHA response token

View captcha handling.

For top-level replies to a post, set commentParentId to "0".

For replies to comments, provide both parentId (the post ID) and commentParentId (the comment ID).