Move Heath 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. The total value is calculated by merging steps from all available devices while resolving any overlapping intervals to avoid double-counting.

Headers

Name
Type
Description

Authorization*

string

Basic <ProjectId>:<API-Key>

Query Parameters

Name
Type
Description

userId*

string

The unique identifier for the user for whom the Auth Code is being requested.

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, with overlaps handled.

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