mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-09 12:37:47 +00:00
35 KiB
35 KiB
GetTokenDetailsUserPlexAccount
Logged in user details
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
authToken |
string | ✔️ | The account token | CxoUzBTSV5hsxjTpFKaf |
country |
string | ✔️ | The account country | US |
email |
string | ✔️ | The account email address | username@email.com |
friendlyName |
string | ✔️ | Your account full name | friendlyUsername |
entitlements |
array<string> | ✔️ | List of devices your allowed to use with this account | |
homeSize |
int | ✔️ | The number of accounts in the Plex Home | 1 |
id |
int | ✔️ | The Plex account ID | 13692262 |
joinedAt |
int | ✔️ | Unix epoch datetime in seconds | 1556281940 |
mailingListStatus |
Operations\MailingListStatus | ✔️ | Your current mailing list status (active or unsubscribed) | active |
maxHomeSize |
int | ✔️ | The maximum number of accounts allowed in the Plex Home | 15 |
profile |
Operations\UserProfile | ✔️ | N/A | |
rememberExpiresAt |
int | ✔️ | Unix epoch datetime in seconds | 1556281940 |
scrobbleTypes |
string | ✔️ | Unknown | |
services |
array<Operations\Services> | ✔️ | N/A | |
subscription |
Operations\Subscription | ✔️ | If the account’s Plex Pass subscription is active | |
subscriptions |
array<Operations\GetTokenDetailsSubscription> | ✔️ | N/A | |
thumb |
string | ✔️ | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 |
title |
string | ✔️ | The title of the account (username or friendly name) | UsernameTitle |
username |
string | ✔️ | The account username | Username |
uuid |
string | ✔️ | The account UUID | dae343c1f45beb4f |
adsConsent |
bool | ✔️ | Unknown | |
adsConsentReminderAt |
int | ✔️ | N/A | 1556281940 |
adsConsentSetAt |
int | ✔️ | N/A | 1556281940 |
backupCodesCreated |
?bool | ➖ | If the two-factor authentication backup codes have been created | |
confirmed |
?bool | ➖ | If the account has been confirmed | |
emailOnlyAuth |
?bool | ➖ | If login with email only is enabled | |
experimentalFeatures |
?bool | ➖ | If experimental features are enabled | |
guest |
?bool | ➖ | If the account is a Plex Home guest user | |
hasPassword |
?bool | ➖ | If the account has a password | |
home |
?bool | ➖ | If the account is a Plex Home user | |
homeAdmin |
?bool | ➖ | If the account is the Plex Home admin | |
locale |
string | ✔️ | The account locale | |
mailingListActive |
?bool | ➖ | If you are subscribed to the Plex newsletter | |
pin |
?string | ➖ | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. [Might be removed] The hashed Plex Home PIN |
|
protected |
?bool | ➖ | If the account has a Plex Home PIN enabled | |
restricted |
?bool | ➖ | If the account is a Plex Home managed user | |
roles |
array<string> | ➖ | [Might be removed] List of account roles. Plexpass membership listed here | |
subscriptionDescription |
string | ✔️ | Description of the Plex Pass subscription | |
twoFactorEnabled |
?bool | ➖ | If two-factor authentication is enabled | |
attributionPartner |
string | ✔️ | N/A | |
anonymous |
?bool | ➖ | Unknown |