RedCrawler API
Emoji V1

Upload Emoji V1

Upload an image and add it as a custom emoji. Send base64-encoded image data (JPG or PNG, 128x128 px, 64KB max). Requires mod permissions.

POST /api/v1/communities/{name}/upload-emoji

Upload an image and add it as a custom emoji. Send base64-encoded image data (JPG or PNG, 128x128 px, 64KB max). Requires mod permissions.

Path parameters

NameTypeRequiredDescription
namestringYesSubreddit name.

Body parameters

NameTypeRequiredDescription
image_datastringYesBase64-encoded image data (128x128 px, JPG or PNG). Can include data URI prefix (data:image/png;base64,...) or raw base64.
emoji_namestringYesEmoji name (max 24 chars, no spaces, alphanumeric/hyphens/underscores only).
proxystringNoProxy. Optional if stored in Token Vault.
post_flair_allowedstringNoAllow in post flairs. true or false (default: true).
mod_flair_onlystringNoRestrict to mod-only flairs. true or false (default: false).
user_flair_allowedstringNoAllow in user flairs. true or false (default: true).
bearerstringNoBearer token. Optional if stored in Token Vault.

Authentication

HeaderValue
X-RapidAPI-KeyYour RapidAPI key
X-RapidAPI-Hostred-crawler1.p.rapidapi.com

Example request

cURL

curl -X POST "https://red-crawler1.p.rapidapi.com/api/v1/communities/SpaceX_Starship_News/upload-emoji" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com" \
  -H "Content-Type: application/json" \
  --data '{"image_data": "<image_data>", "emoji_name": "my_emoji", "proxy": "<proxy>", "post_flair_allowed": "true", "mod_flair_only": "false", "user_flair_allowed": "true", "bearer": "<bearer>"}'

JavaScript

const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v1/communities/SpaceX_Starship_News/upload-emoji", {
  method: "POST",
  headers: {
      "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
    "X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
    },
    body: JSON.stringify({
  "image_data": "<image_data>",
  "emoji_name": "my_emoji",
  "proxy": "<proxy>",
  "post_flair_allowed": "true",
  "mod_flair_only": "false",
  "user_flair_allowed": "true",
  "bearer": "<bearer>"
})
});
const data = await res.json();
console.log(data);

Python

import requests

url = "https://red-crawler1.p.rapidapi.com/api/v1/communities/SpaceX_Starship_News/upload-emoji"
headers = {
    "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
    "X-RapidAPI-Host": "red-crawler1.p.rapidapi.com",
    "Content-Type": "application/json"
}
payload = {
  "image_data": "<image_data>",
  "emoji_name": "my_emoji",
  "proxy": "<proxy>",
  "post_flair_allowed": "true",
  "mod_flair_only": "false",
  "user_flair_allowed": "true",
  "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": {
    "json": {
      "errors": []
    }
  },
  "error": null,
  "timestamp": "2026-04-29T10:10:34.510641+00:00"
}

On this page