Get user from authorization header
GET /user
Authorizations
Responses
200
Expected response to a valid request
object
The user’s username
my_user
The user’s display name
My User
The user’s email (only displayed if requesting your own account). Requires USER_READ_EMAIL
PAT scope.
A description of the user
My short biography
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)
10.11223344556678
The wallet that the user has selected
paypal
The type of the user’s wallet
email
The user’s payout address
support@modrinth.com
The user’s ID
EEFFGGHH
The user’s avatar url
https://avatars.githubusercontent.com/u/11223344?v=1
The time at which the user was created
The user’s role
developer
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
63
A list of authentication providers you have signed up for (only displayed if requesting your own account)
[ "github", "gitlab", "steam", "microsoft", "google", "discord"]
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
unauthorized
The contents of the error
Authentication Error: Invalid Authentication Credentials