Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The activity logging endpoint doesn't record steps

Hi,

I'm using the activity logging endpoint to sync activities on our app to fitbit. However, I can't find a parameter as the number of steps of an activity. Am I missing something?

https://dev.fitbit.com/build/reference/web-api/activity/ 

 

Best Answer
0 Votes
1 REPLY 1

Hi @jinboshen 

 

To enter the number of steps, you'll use the query parameter "distanceUnit=steps" and "distance=<number of steps>".  However, Steps units are available only for "Walking" (activityId=90013) and "Running" (activityId=90009) directory activities and their intensity levels.

 

Gordon

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes