Modernizing the Fitbit Developer Experience.
The Fitbit Web APIs are moving to a new, scalable infrastructure. We will be deprecating the legacy Fitbit Web API in September 2026. To ensure uninterrupted data continuity for your users, you will need to migrate your applications. Detailed migration guides are live on the Google Health API developer site.
Location-change API
chevron down
 

Location-change API

Interface: Companion

The Companion interface provides information about the running companion application, access to permissions, environment information and oAuth access tokens.

Properties

monitorSignificantLocationChanges

boolean

Flag that indicates whether the application would like to be woken up upon significant location changes or not.

An application should set it to true to be woken up, or false to ignore significant location changes.

When an application is woken up by a significant location change, the launchReasons locationChanged property will be set to the GPS Position that triggered the waking up.

onsignificantlocationchange

((this: Companion, event: SignificantLocationChangeEvent) => any) or undefined

Event handler invoked when a significant location change occurs while the application is running and has indicated that it wants to monitor significant location changes.

Interface: SignificantLocationChangeEvent

Properties

position

Position