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

Changes

Changed in 4 of the 82 revisions of this API.7123

    • ▲

      the response's property type changed from no type to string for status

      response-property-type-changed

    • ▲

      the // response's property type changed from no type to boolean for status

      response-property-type-changed

    • ▲

      the // response's property type changed from no type to string for status

      response-property-type-changed

    • ▲

      the // response's property type changed from no type to string for status

      response-property-type-changed

    • ▲

      the //// response's property type changed from no type to string for status

      response-property-type-changed

    • ▲

      the // response's property type changed from no type to string for status

      response-property-type-changed

    • ▲

      the /// response's property type changed from no type to string for status

      response-property-type-changed

  • 99cb19038135102See the full diff
    • ●

      added the new admin enum value to the //// response property for the response status

      response-property-enum-value-added

    • ●

      added the new admin enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new contributor enum value to the //// response property for the response status

      response-property-enum-value-added

    • ●

      added the new contributor enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new no_access enum value to the //// response property for the response status

      response-property-enum-value-added

    • ●

      added the new no_access enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new read enum value to the //// response property for the response status

      response-property-enum-value-added

    • ●

      added the new read enum value to the // response property for the response status

      response-property-enum-value-added

    • ●

      added the new write enum value to the //// response property for the response status

      response-property-enum-value-added

    • ●

      added the new write enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      removed subschema #1 subschema #2 from the //// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 subschema #2 from the // response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed