Authentication
Get the profile information for the authenticated user
Authorizations
Responses
200
User profile retrieved successfully
application/json
401
Unauthorized - invalid or missing session token
application/json
500
Internal server error
application/json
get
/userGET /api/v1/user HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "text",
  "email": "text",
  "firstName": "text",
  "lastName": "text",
  "phoneNumber": "text",
  "username": "text",
  "createdAt": "2025-10-31T04:52:33.604Z"
}Generate a new 6-digit authentication code from headset side
Authorizations
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
/codePOST /api/v1/code HTTP/1.1
Host: 
x-app-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 19
{
  "playerId": "text"
}{
  "code": "text",
  "playerId": "text",
  "expiryTime": "2025-10-31T04:52:33.604Z"
}Validate an authentication code and optionally return a session token
Authorizations
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/codePOST /api/v1/auth/code HTTP/1.1
Host: 
x-app-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 15
{
  "code": "text"
}{
  "status": "VALID",
  "sessionToken": "text",
  "expiryTime": "2025-10-31T04:52:33.604Z",
  "error": "text"
}Last updated
