v2

latestOpenAPI 3.1.02026-08-07168434918.5 KB
Users

Authenticate User

Authenticate a user using a one-time token. Game Hub generates and sends this token to the game client to process the user's authentication flow with the game server.

The token is valid for a single use and expires after a short period.

post/v1/users/authenticate

Request body

tokenstring required

The token to authenticate the user.

Response

Successful Response

idstring required

The unique identifier of the user.

namestring

The name of the user.

avatar_urlstring

The avatar URL of the user.

player_idstring

The unique player ID of the user. If the user is not linked to a player, this field will be null.