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.
Settings API
chevron down
 

Settings API

Variable: settingsStorage

Type: LiveStorage

The Settings API provides LiveStorage that represents the companion app settings.

The settings values can be read and written by the companion application as well as the companion's settings view. Changes from the settings view will trigger events to be emitted in the companion application, and changes from the companion application will trigger events to be emitted in the settings view.

import { settingsStorage } from "settings";
settingsStorage.setItem("myKey", "myValue");
console.log(settingsStorage.getItem("myKey"));