Sign in

Upload subreddit image

documented

Upload an image for a subreddit's appearance.

POST /api/upload_sr_imgSubredditsno implementation yet0 runs
No 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/r/{{$subreddit}}/api/upload_sr_img" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "User-Agent: {{$user_agent}}" \
  -H "Accept: application/json" \
  -F "upload_type={{$upload_type}}" \
  -F "img_type={{$img_type}}" \
  -F "name={{$name}}" \
  -F "header={{$header}}" \
  -F "formid={{$formid}}" \
  -F "file=@{{$image_path}}"
Upload subreddit image · Reddit · OpenIntegrations