Skip to content
Fluxer API

Themes

A theme is a CSS file stored under a random ID. Anyone with the ID can load it from the Media Proxy without signing in. There is no route to change or delete a theme.

POST/v1/users/@me/themes

Stores a CSS file and returns its ID. Bots and OAuth2 tokens can't use this route.

FieldTypeDescription
cssstringThe CSS text (1 character to 8 MiB as UTF-8)
FieldTypeDescription
idstringThe theme ID (16 lowercase hexadecimal characters)
StatusBodyCondition
201response bodyThe theme was stored
400error responseFILE_SIZE_TOO_LARGE when the CSS is over 8 MiB
403error responseACCESS_DENIED when the caller is a bot or uses an OAuth2 bearer token
403error responseCONTENT_BLOCKED when the CSS has a blocked phrase or URL

The rate limit is 20 requests per minute, on the theme:share:create bucket.