Support for the legacy Fitbit Web API ends on September 30, 2026
Important: Support for the legacy Fitbit Web API ends on September 30, 2026. After this date the API will continue to operate, but Google will no longer fix bugs or provide API support. On October 30, 2026, the Fitbit Web API will be turned off and will no longer function or sync data to or from Fitbit users. To continue accessing data for your users after this date, migrate to the Google Health API.
Permissions API
chevron down
 

Permissions API

Interface: Permissions

Information about the application's permissions.

Methods

granted()

granted(permissionName: string)

Returns: boolean

Indicates whether the application has been granted a permission or not.

permissionName Name of a permission.

Returns true if the application has been granted the permission, or false if it hasn't.

Note that false doesn't necessarily mean than the permission has been explicitly denied by the user. It may be that the permission is not granted because of a combination of other factors, or that that permission was never requested and/or does not exist.

PermissionName

String: string

Permission name.