Create a Post
Create posts using the following endpoint.
POST https://api.scored.co/api/v2/action/create_post
Parameters
| Value | Type | Required | Description |
|---|---|---|---|
| title | string | true | Post title |
| type | string | true | Post type: "text" or "link" |
| content | string | false | Content (required for text posts) |
| link | string | false | URL (required for link posts) |
| community | string | true | Target community |
| nsfw | boolean | false | Mark post as NSFW |
| g-recaptcha-response | string | false | Valid reCAPTCHA response token |
To create an image post, upload the image first, then create a link post with the media.scored.co URL.