How do I detect whether a user connected a wearable?
Use the /userinfo endpoint, optionally filtering by your reference_id, to list a user's connections and all associated user_ids.
Use the /userinfo endpoint, optionally filtering by your reference_id, to list a user's connections and all associated user_ids. The is_authenticated flag tells you whether the auth flow completed.
Notes:
For SDK providers, calling
initConnectioncreates the connection directly, and if a user fully disconnects, theuser_idno longer exists.Initialising the SDK with a new
reference_idintentionally creates a newuser_id, so one physical device can map to several users (payloads return the most recent connection).Use the
/athleteendpoint to see the provider-side account/device ID.
Last updated
Was this helpful?