GET Player Info
https://auth.riotgames.com/userinfo
Get the PUUID and other info from a token
Headers:
-
Authorization: Bearer {auth token}
Other Variables:
-
auth token
Can be obtained locally with the Entitlements Token endpoint or remotely by first using the Auth Cookies endpoint then using the cookies with the Auth Request endpoint
Response:
type PlayerInfoResponse = {
country: string;
/** Player UUID */
sub: string;
email_verified: boolean;
player_plocale?: unknown | null;
/** Milliseconds since epoch */
country_at: number | null;
pw: {
/** Milliseconds since epoch */
cng_at: number;
reset: boolean;
must_reset: boolean;
};
phone_number_verified: boolean;
account_verified: boolean;
ppid?: unknown | null;
federated_identity_providers: string[];
player_locale: string | null;
acct: {
type: number;
state: string;
adm: boolean;
game_name: string;
tag_line: string;
/** Milliseconds since epoch */
created_at: number;
};
age: number;
jti: string;
affinity: {
[x: string]: string;
};
};