Skip to main content
POST
/
auth
/
register
Register account
curl --request POST \
  --url https://api.fluxer.app/v1/auth/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "date_of_birth": "<string>",
  "consent": true,
  "email": "jsmith@example.com",
  "username": "<string>",
  "global_name": "<string>",
  "password": "<string>",
  "invite_code": "<string>"
}
'
{
  "token": "<string>",
  "user_id": "<string>"
}

Body

application/json
date_of_birth
string
required

Date of birth in YYYY-MM-DD format

Whether user consents to terms of service

email
string<email>
username
string
Required string length: 1 - 32
global_name
string

Display name shown to other users

password
string
Required string length: 8 - 256
invite_code
string | null

Guild invite code to join after registration

Response

Success

token
string
required

Authentication token for API requests

user_id
string
required

ID of the authenticated user