mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-06 12:37:47 +00:00
35 KiB
35 KiB
GetTokenDetailsUserPlexAccount
Logged in user details
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
adsConsent |
Optional<Boolean> | ✔️ | Unknown | |
adsConsentReminderAt |
Optional<Long> | ✔️ | N/A | 1556281940 |
adsConsentSetAt |
Optional<Long> | ✔️ | N/A | 1556281940 |
anonymous |
JsonNullable<Boolean> | ➖ | Unknown | |
authToken |
String | ✔️ | The account token | CxoUzBTSV5hsxjTpFKaf |
backupCodesCreated |
Optional<Boolean> | ➖ | If the two-factor authentication backup codes have been created | |
confirmed |
Optional<Boolean> | ➖ | If the account has been confirmed | |
country |
String | ✔️ | The account country | US |
email |
String | ✔️ | The account email address | username@email.com |
emailOnlyAuth |
Optional<Boolean> | ➖ | If login with email only is enabled | |
experimentalFeatures |
Optional<Boolean> | ➖ | If experimental features are enabled | |
friendlyName |
String | ✔️ | Your account full name | friendlyUsername |
entitlements |
List<String> | ✔️ | List of devices your allowed to use with this account | |
guest |
Optional<Boolean> | ➖ | If the account is a Plex Home guest user | |
hasPassword |
Optional<Boolean> | ➖ | If the account has a password | |
home |
Optional<Boolean> | ➖ | If the account is a Plex Home user | |
homeAdmin |
Optional<Boolean> | ➖ | If the account is the Plex Home admin | |
homeSize |
int | ✔️ | The number of accounts in the Plex Home | 1 |
id |
int | ✔️ | The Plex account ID | 13692262 |
joinedAt |
long | ✔️ | Unix epoch datetime in seconds | 1556281940 |
locale |
Optional<String> | ✔️ | The account locale | |
mailingListActive |
Optional<Boolean> | ➖ | If you are subscribed to the Plex newsletter | |
mailingListStatus |
MailingListStatus | ✔️ | Your current mailing list status (active or unsubscribed) | active |
maxHomeSize |
int | ✔️ | The maximum number of accounts allowed in the Plex Home | 15 |
pin |
Optional<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 |
|
profile |
UserProfile | ✔️ | N/A | |
protected_ |
Optional<Boolean> | ➖ | If the account has a Plex Home PIN enabled | |
rememberExpiresAt |
long | ✔️ | Unix epoch datetime in seconds | 1556281940 |
restricted |
Optional<Boolean> | ➖ | If the account is a Plex Home managed user | |
roles |
List<String> | ➖ | [Might be removed] List of account roles. Plexpass membership listed here | |
scrobbleTypes |
String | ✔️ | Unknown | |
services |
List<Services> | ✔️ | N/A | |
subscription |
Subscription | ✔️ | If the account’s Plex Pass subscription is active | |
subscriptionDescription |
Optional<String> | ✔️ | Description of the Plex Pass subscription | |
subscriptions |
List<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 |
twoFactorEnabled |
Optional<Boolean> | ➖ | If two-factor authentication is enabled | |
username |
String | ✔️ | The account username | Username |
uuid |
String | ✔️ | The account UUID | dae343c1f45beb4f |
attributionPartner |
Optional<String> | ✔️ | N/A |