Introduction
If you are an Android user, you currently have access to the Legacy API. This is the version of our API that powers the current Android app and older integrations.
While iOS has moved to the new API V2, the Android app still generates and uses Legacy keys. This guide will help you get set up.
Official Documentation
For the complete technical reference for the Legacy API, please use our legacy documentation site:
Get Your API Key on Android
To start building connections, you need to get your unique API Key directly from the Android app.
Open Habitify on your Android device.
Go to the Settings tab.
Tap on API Credentials.
Tap copy the key
Frequently Asked Questions (V1)
Q: I see documentation for "Habitify API V2". Can I use it?
A: No. As an Android user, your app generates a V1 key. You must use the V1 documentation (docs.habitify.me). V2 keys are currently exclusive to iOS.
Q: My key isn't working with the V2 examples.
A: This is expected. V2 uses a different authentication header format ("Bearer token") and different URL endpoints. Please stick to the V1 examples until the Android update is released.
Q: Will V2 be available for Android soon?
Yes. We are working hard to bring the updated API V2 standard to Android.
