Authentication

Get current user profile

get

Get the profile information for the authenticated user

Authorizations
AuthorizationstringRequired

Session token in Bearer format: Bearer

Responses
200

User profile retrieved successfully

application/json
get
/user

Generate authentication game code

post

Generate 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
post
/code

Validate authentication code

post

Validate an authentication code and optionally return a session token

Authorizations
x-app-api-keystringRequired

App API key in format:

Body
codestringRequired

Authentication code

Pattern: ^[0-9]{6}$
Responses
200

Game code validation result

application/json
post
/auth/code

Last updated