Skip to main content
POST
/
users
/
@me
/
themes
Create theme
curl --request POST \
  --url https://api.fluxer.app/v1/users/@me/themes \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "css": "<string>"
}
'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Body

application/json
css
string
required

CSS text to store and share

Minimum string length: 1

Response

Success

id
string
required

The unique identifier for the created theme