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

API endpoint for partner data

ANSWERED

Hi Fitbit Gurus,

 

My app has been granted intraday activity access for our study cohort.  Many thanks.

 

The API GET endpoint is not obvious from my reading of the docs.

 

I would presume that

 

GET /1/user/[user-id]/activities/steps/date/[date]/1d/1m.json

 

(where user-id is the fitbit userID who has previously granted access to this resource)

woiuld do the trick, but this gives me a list of daily step counts for that user for the last month, i.e.

 

{"activities-steps":[

{"dateTime":"2016-03-05","value":"17858"},

{"dateTime":"2016-03-06","value":"15021"},

{"dateTime":"2016-03-07","value":"6910"},

{"dateTime":"2016-03-08","value":"9438"},

{"dateTime":"2016-03-09","value":"16411"}, etc

 

Would it be possible to know the API GET endpoint that will let me have activity intraday time series for my app please ?

 

Regards,

Tony Barry

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

[SOLVED]

 

The correct API GET endpoint for partner data was

 

GET  /1/user/[user-id]/activities/steps/date/[date]/1d/1min.json"

 

Too easy.  Thanks to Fitbit.

 

Regards,

Tony Barry

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

[SOLVED]

 

The correct API GET endpoint for partner data was

 

GET  /1/user/[user-id]/activities/steps/date/[date]/1d/1min.json"

 

Too easy.  Thanks to Fitbit.

 

Regards,

Tony Barry

Best Answer
0 Votes