Set User Flair V2
Set or clear a user's subreddit flair (mod override). Provide `text` for custom flair text, `flair_template_id` to use a template, or both. Omit all flair fiel
POST /api/v2/mod/user-flair
Set or clear a user's subreddit flair (mod override).
Provide text for custom flair text, flair_template_id to use a template, or both. Omit all flair fields to clear the flair entirely.
Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
subreddit | string | Yes | Subreddit: name, r/name, URL, or t5_ ID. |
user | string | Yes | Reddit user: username, u/name, or profile URL. |
proxy | string | No | Proxy ip:port:user:pass. Auto-resolves from Token Vault. |
css_class | string | No | CSS class for old-reddit flair styling. |
text | string | No | Custom flair text. Omit to use template only or clear flair. |
flair_template_id | string | No | Flair template UUID from the subreddit's flair list. |
bearer | string | No | Reddit bearer token. Auto-resolves from Token Vault. |
Authentication
| Header | Value |
|---|---|
X-RapidAPI-Key | Your RapidAPI key |
X-RapidAPI-Host | red-crawler1.p.rapidapi.com |
Example request
cURL
curl -X POST "https://red-crawler1.p.rapidapi.com/api/v2/mod/user-flair" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com" \
-H "Content-Type: application/json" \
--data '{"subreddit": "SpaceX_Starship_News", "user": "Motor_Tip8865", "proxy": "<proxy>", "css_class": "<css_class>", "text": "<text>", "flair_template_id": "<flair_template_id>", "bearer": "<bearer>"}'JavaScript
const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v2/mod/user-flair", {
method: "POST",
headers: {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
},
body: JSON.stringify({
"subreddit": "SpaceX_Starship_News",
"user": "Motor_Tip8865",
"proxy": "<proxy>",
"css_class": "<css_class>",
"text": "<text>",
"flair_template_id": "<flair_template_id>",
"bearer": "<bearer>"
})
});
const data = await res.json();
console.log(data);Python
import requests
url = "https://red-crawler1.p.rapidapi.com/api/v2/mod/user-flair"
headers = {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com",
"Content-Type": "application/json"
}
payload = {
"subreddit": "SpaceX_Starship_News",
"user": "Motor_Tip8865",
"proxy": "<proxy>",
"css_class": "<css_class>",
"text": "<text>",
"flair_template_id": "<flair_template_id>",
"bearer": "<bearer>"
}
resp = requests.post(url, headers=headers, json=payload)
print(resp.json())Example response
HTTP 200 — captured from a live call to the gateway.
{
"success": true,
"data": {
"ok": true
},
"error": null,
"meta": {
"vault_expires_at": "2026-04-30T07:47:21.906002+00:00",
"vault_remaining": "15h 42m"
},
"timestamp": "2026-04-29T16:04:59.152138+00:00"
}Approve / Disapprove User V2
Add or remove a user from the subreddit's approved contributors list. Set `approved=true` (default) to approve, `approved=false` to remove approval.
Report User V2
Report a user to the subreddit mods or Reddit admin. Provide a short `reason` code (e.g. 'spam', 'harassment', 'vote_manipulation') and optionally `free_text`