HabitRPG Wiki

API Options

741pages on
this wiki
Add New Page
Talk0 Share
API Options Navigation

The API page can be accessed from the Settings menu (direct link). It presents user credentials (the User ID and the API Token) and displays a QR code which can quickly load the user credentials into some applications.

User ID (UID) Edit

The User ID or Unique User ID (UID) is a complex hexadecimal number that Habitica automatically generates when a player joins, similar to a username.


You'll need it to:

To find your User ID, go to Settings → API (direct link).


You can also find the User ID of other players in their profile.

To find someone else's User ID, click on that person's name in Tavern Chat or any other Habitica chat room. It will be displayed on their profile. If you are already in a party with them, you can view their profile by clicking their name in the Members box on your party page.

API Token Edit

The API token is a unique security code generated along with your User ID. It is similar to a password so it is essential that you keep this token private and never share this token with any untrustworthy applications or people!

To find your API Token, go to Settings → API (direct link).

QR Code Edit

The QR code is currently used by the iOS app and the Android app to invite party members and send private messages. Since it contains your API Token, do not share the QR code with any untrustworthy applications or people.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.