Google Health (Fitbit)

App · 9 actions

Read Fitbit activity, workouts, sleep, weight and paired devices through Google Health.

Actions

ActionWhat it does
Get identityGet the ID of the connected Google Health account.
Get profileRead profile details from the connected Google Health account.
Get settingsRead the connected account’s Google Health settings.
List distanceRead distance from the connected Google Health account.
List exerciseRead exercise from the connected Google Health account.
List paired devicesFind Fitbit and other devices paired with the account.
List sleepRead sleep from the connected Google Health account.
List stepsRead steps from the connected Google Health account.
List weightRead weight from the connected Google Health account.

Get identity

Get the ID of the connected Google Health account.

Inputs

None.

Outputs

dataobject
Data.
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation value for the next page, when available.
Example output
{
  "data": {
    "healthUserId": "1234567890"
  },
  "has_more": false,
  "next_cursor": null
}

Get profile

Read profile details from the connected Google Health account.

Inputs

None.

Outputs

dataobject
Data.
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation value for the next page, when available.
Example output
{
  "data": {
    "name": "users/me/profile"
  },
  "has_more": false,
  "next_cursor": null
}

Get settings

Read the connected account’s Google Health settings.

Inputs

None.

Outputs

dataobject
Data.
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation value for the next page, when available.
Example output
{
  "data": {
    "name": "users/me/settings"
  },
  "has_more": false,
  "next_cursor": null
}

List distance

Read distance from the connected Google Health account.

Inputs

Start datestart_datedate
First day to include.
End dateend_datedate
First day to exclude.
Limitlimitnumber
Maximum data points to return.From 1 to 10000.
Page tokenpage_tokentext
Use the continuation token from a previous step.

Outputs

dataobject
Data.
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation value for the next page, when available.
Example output
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}

List exercise

Read exercise from the connected Google Health account.

Inputs

Start datestart_datedate
First day to include.
End dateend_datedate
First day to exclude.
Limitlimitnumber
Maximum data points to return.From 1 to 10000.
Page tokenpage_tokentext
Use the continuation token from a previous step.

Outputs

dataobject
Data.
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation value for the next page, when available.
Example output
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}

List paired devices

Find Fitbit and other devices paired with the account.

Inputs

Limitlimitnumber
Maximum devices to return.From 1 to 100.
Page tokenpage_tokentext
Use the continuation token from a previous step.

Outputs

dataobject
Data.
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation value for the next page, when available.
Example output
{
  "data": {
    "pairedDevices": [
      {
        "name": "users/me/pairedDevices/example"
      }
    ]
  },
  "has_more": false,
  "next_cursor": null
}

List sleep

Read sleep from the connected Google Health account.

Inputs

Start datestart_datedate
First day to include.
End dateend_datedate
First day to exclude.
Limitlimitnumber
Maximum data points to return.From 1 to 10000.
Page tokenpage_tokentext
Use the continuation token from a previous step.

Outputs

dataobject
Data.
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation value for the next page, when available.
Example output
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}

List steps

Read steps from the connected Google Health account.

Inputs

Start datestart_datedate
First day to include.
End dateend_datedate
First day to exclude.
Limitlimitnumber
Maximum data points to return.From 1 to 10000.
Page tokenpage_tokentext
Use the continuation token from a previous step.

Outputs

dataobject
Data.
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation value for the next page, when available.
Example output
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}

List weight

Read weight from the connected Google Health account.

Inputs

Start datestart_datedate
First day to include.
End dateend_datedate
First day to exclude.
Limitlimitnumber
Maximum data points to return.From 1 to 10000.
Page tokenpage_tokentext
Use the continuation token from a previous step.

Outputs

dataobject
Data.
has_moretrue/false
Whether another page is available.
next_cursortext
Continuation value for the next page, when available.
Example output
{
  "data": {
    "dataPoints": []
  },
  "has_more": false,
  "next_cursor": null
}

On this page