Manual connection via the API
As an alternative to Terra Connect, you may wish to embed the connection UI within your app, and have more control around how the user navigates through adding more device connections to your service.
How to build your UI using the API to authenticate users
- Provide a selection screen for the different app & wearable connections you'd like to make available, as in Terra Connect
- Upon a button press, trigger a call to your backend which will hit hit the /authenticateUser endpoint, and open the URL returned within an in-app browser on the client side. Once that's done, you may expect the user to complete authentication, and receive an auth success webhook to your server.
Updated 6 months ago
What’s Next
Connected a device? Click below to explore what data you can expect through the API