Skip to content
Reference
/
RESTful API
/
Endpoints
/
/internal/playerJoined

/internal/playerJoined

Post player data on join.

Request Body

{
    "id": 1, // Number: UserID
    "token": "session_key", // String: sessionKey provided from /auth
    "accountId": "user_id", // String: PseudoID of the user's account
    "acccountAge": 1 , // Number: Age of the account
    "followedPlayer": true, // Boolean: Whether the user joined a player
    "followedFriend": true, // Boolean: Whether the user joined a friend
    "premium": false, // Boolean: Whether the user has a premium account
    "locale": "en-GB", // String: Locale of the user
    "region": "GB", // String: Region of the user
}

Response

{
    "code": 200, // Number: IETF Status Code
    "status": "Session Key OK", // String: Success
    "playerId": "user_id", // String: PseudoID of the user's account
}