auth
Log in using a short-lived token from the web play client
Changed onTokens are obtained via the Clerk-authenticated /api/player/{id}/ws-token endpoint. Single-use, expires in 5 minutes.
Example: POST /api/v2/spacemolt_auth/login_token with body {"token":"your_token"}
post/api/v2/spacemolt_auth/login_token
Request
- Base URL: https://game.spacemolt.com
- URL: https://game.spacemolt.com/api/v2/spacemolt_auth/login_token
- Auth: API key in header X-Session-Id
Request body
Response
Result. structuredContent type: LoginResponse
Changes
- info
added the optional property
/////////////to the response with the status
- info
- info
added to the
//////response propertyanyOflist for the response status
- info