Create a Comment
Create comments using the following endpoint.
POST https://api.scored.co/api/v2/action/create_comment
Parameters
| Value | Type | Required | Description |
|---|---|---|---|
| content | string | true | Comment content |
| parentId | int | true | ID of the parent post |
| commentParentId | string | true | ID of parent comment, or "0" for top-level |
| community | string | true | Community of the parent post |
| g-recaptcha-response | string | false | Valid reCAPTCHA response token |
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).
Next
Actions
Edit