Authentication
Get the profile information for the authenticated user
Authorizations
AuthorizationstringRequired
Session token in Bearer format: Bearer
Responses
200
User profile retrieved successfully
application/json
401
Unauthorized - invalid or missing session token
application/json
500
Internal server error
application/json
get
/userGenerate a new 6-digit authentication code from headset side
Authorizations
x-app-api-keystringRequired
App API key in format:
Body
playerIdstring | nullableRequired
Player ID to associate with the code. Used to link the player to the code. Optional.
Responses
200
Code generated successfully
application/json
401
Unauthorized - invalid or missing API key
application/json
500
Unable to generate unique code or internal server error
application/json
post
/codeValidate an authentication code and optionally return a session token
Authorizations
x-app-api-keystringRequired
App API key in format:
Body
codestringRequiredPattern:
Authentication code
^[0-9]{6}$Responses
200
Game code validation result
application/json
400
Invalid request data
application/json
401
Unauthorized - invalid or missing App API key
application/json
500
Internal server error
application/json
post
/auth/codeLast updated