Get user from authorization header
GET /user
Authorizations
Responses
200
Expected response to a valid request
object
The user’s username
The user’s display name
The user’s email (only displayed if requesting your own account). Requires USER_READ_EMAIL
PAT scope.
A description of the user
Various data relating to the user’s payouts status (you can only see your own)
object
The payout balance available for the user to withdraw (note, you cannot modify this in a PATCH request)
The wallet that the user has selected
The type of the user’s wallet
The user’s payout address
The user’s ID
The user’s avatar url
The time at which the user was created
The user’s role
Any badges applicable to this user. These are currently unused and undisplayed, and as such are subject to change
In order from first to seventh bit, the current bits are:
- (unused)
- EARLY_MODPACK_ADOPTER
- EARLY_RESPACK_ADOPTER
- EARLY_PLUGIN_ADOPTER
- ALPHA_TESTER
- CONTRIBUTOR
- TRANSLATOR
A list of authentication providers you have signed up for (only displayed if requesting your own account)
Whether your email is verified (only displayed if requesting your own account)
Whether you have a password associated with your account (only displayed if requesting your own account)
Whether you have TOTP two-factor authentication connected to your account (only displayed if requesting your own account)
Deprecated - this is no longer public for security reasons and is always null
401
Incorrect token scopes or no authorization to access the requested item(s)
object
The name of the error
The contents of the error