v14

latestOpenAPI 3.1.02026-08-043122950.3 KB
oauth

Get user info

Get information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app.

get/oauth/userinfo

Response

User info

substring required

ID of the user

namestring

Full name of the user

preferred_usernamestring

Username of the user

profilestring uri

Profile URL of the user

picturestring uri

Avatar URL of the user

websitestring uri

Website of the user

emailstring

Email of the user

email_verifiedboolean

Whether the email is verified

isProboolean required

Whether the user is a Pro user

canPayboolean

Whether the user has access to billing. You should check canPay first.

billingMode'prepaid' | 'postpaid'

Whether the user is on prepaid or postpaid billing