Launch tokens (game servers)Available

For games sold through the REAN store: your server checks that the connecting player launched the game from the REAN Launcher and owns it.

Flow

  1. The player presses Play; the launcher confirms they own the game.
  2. The game starts with -LauncherToken=…: a signed token that expires after 10 minutes and works once.
  3. The game sends the token to your server, which checks it with REAN before letting the player in.
POSThttps://api.reanstudios.com/api/game/verify-launchX-Game-Server-Key
bash
curl -X POST https://api.reanstudios.com/api/game/verify-launch \
  -H "X-Game-Server-Key: $GAME_SERVER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"token":"eyJ2IjoxLCJqdGki…"}'
Responses
{ "valid": true, "playerId": "4f9c…", "username": "nova", "productId": "voltium" }
{ "valid": false, "reason": "invalid_or_expired" }
{ "valid": false, "reason": "already_used" }