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

Body

application/json
email
string<email>
required
password
string
required
Required string length: 8 - 256
invite_code
string | null

Guild invite code to join after login

Response

Success

token
string
required

Authentication token for API requests

user_id
string
required

ID of the authenticated user