Submit a link
documentedSubmit a new post (link or text) to a subreddit.
POST /api/submitLinks & Commentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://oauth.reddit.com/api/submit" \\\n -X POST \\\n -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \\\n -H "Content-Type: application/x-www-form-urlencoded" \\\n -H "Accept: application/json" \\\n -H "User-Agent: {{$REDDIT_USER_AGENT}}" \\\n -d "sr={{$subreddit}}&title={{$title}}&kind={{$kind}}&text={{$text}}&url={{$url}}&nsfw={{$nsfw}}&spoiler={{$spoiler}}&sendreplies={{$sendreplies}}&api_type={{$api_type}}&resubmit={{$resubmit}}"