Can I Post
Check before posting whether a post in this subreddit can go through. Returns allowed (true, false or "unknown"), reasons (each with a code such as banned, private, restricted_approved_only, archived, submission_type, flair_required, title_rule, body_rule, domain_blocked, low_karma_hint, new_account_hint, email_unverified, and a readable detail), the subreddit's posting requirements and post rules, and, when you send your Reddit session in the x-reddit-session and x-reddit-loid headers, the account facts used (karma, account age, email verified, banned or approved here). It never answers true on a read that failed, and karma and age only ever produce hints, because subreddits do not publish their AutoModerator thresholds. Cost: $0.0015 per call.
Request
- Base URL: https://api.redditapis.com
- URL: https://api.redditapis.com/api/reddit/sub/{name}/can-post
- Auth: HTTP bearer
Path parameters
Subreddit name (no r/ prefix), 1 to 21 letters, digits or underscores. Any other name is a 400 INVALID_PARAM.
Response
Successful response.
Changes
No recorded changes to this operation across all 1 revision of this API.