Move Health API

Fetch steps

GET https://sdk.dolph.in/v20/health/steps

Retrieves a user's step count within a specified time range, including the total number of steps as well as a breakdown per device.

Headers

Name
Type
Description

Authorization*

string

Basic <ProjectId>:<API-Key>

Query Parameters

Name
Type
Description

userId*

string

The user id

projectId*

integer

Id of MOVE SDK project

from*

integer

Start of the time range (Unix epoch timestamp in seconds)

to*

integer

End of the time range (Unix epoch timestamp in seconds)

Response Body

Name
Type
Description

total

integer

Aggregated step count from all devices.

devices

array

List of individual device contributions, each with:

devices.name

string

Name of device

devices.total

integer

Step count reported by the device

{
  "total": 12312,
  "devices": [
    {
      "name": "Apple Watch",
      "total": 10112
    },
    {
      "name": "Apple iPhone",
      "total": 5400
    }
  ]
}

Last updated