Terra

Integration

API
Unified API
SDK
SDK
Authentication
Authentication
Streaming
Streaming
Blood
Blood Report API
Planned Workout
Planned Workout
AI Interface
AI Interface

User engagement

Graph API
Graph API
Scores
Health Scores
Rewards
Health Rewards

Use cases

Enterprise
Enterprise
Insurance
Insurance

Developers

Wearable Data
Wearable Data
Community
Community
Documentation
Documentation

Learn

Blog
Blog
Podcast
Podcast
Events
Events
Reports
Reports

Company

Customers
Customers
Careers
Careers
Partners
Partners
Support
Support
Become an integration
Become an integration


Cookie Preferences

Essential CookiesAlways On
Advertisement Cookies
Analytics Cookies

Crunch Time: Embrace the Cookie Monster Within!

We use cookies to enhance your browsing experience and analyse our traffic. By clicking “Accept All”, you consent to our use of cookies according to our Cookie Policy. You can change your mind any time by visiting out cookie policy.

zap

Latest

zap

Popular

API

Unified API

SDK

Phone SDK

Authentication

Widget

Streaming

Streaming

Graph API

Graph API

How can multiple wearable devices be linked to the same user?

All

ElatedPenguin26 months ago

I noticed that Terra referes to each device as a user and each user has a user_id, but some of my users have multiple devices and I wish to group the devices into users as it would appear in my app. What can I do here?

terra

Alexadmin26 months ago

That is an excellent question. Terra allows you to provide a reference_id parameter when creating an authentication url or a widget session which will be assigned to the user (device) and sent with every payload. You can pass in the user-id you use within your system to connect all these Terra users together.

You can also use the reference_id when hitting the /userInfo endpoint to list all the Terra users that are linked to that reference_id


ElatedPenguin26 months ago

Thanks. I already have a few users/devices that don't have reference-ids assigned. Should I deauthenticate the users and reconnect them or can we migrate the devices to new terra users


terra

Alexadmin26 months ago

There is no need for that. You can reassign the reference_id of the user by going to the dashboard and navigating to Tools > Debug > Users and clicking the arrow on the arrow on the right - opening up the details pane where you can edit the reference id.


ElatedPenguin26 months ago

Thanks, that helps alotYour welcome :)