10-06-2015 12:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-06-2015 12:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I'm attempting to retrieve heart rate data using the Fitbit API's. I'm hitting the following endpoint:
https://api.fitbit.com/1/user/{User ID}/activities/heart/date/2015-09-01/2015-10-06.json
The response is returning a 403 Forbidden. Having checked the Settings/Applications area for the user, I can see the following areas have been granted access to my application by this user:
Access profile,friends,weight,food and water logs,Fitbit devices and settings,sleep,activity and exercise,heart rate,location and GPS
I'm able to retrieve sleep data without issues and have hit upon this hurdle trying to retrieve the heart rate data. I'm using the OAuth 1.0 mechanism for both requests.
Thanks for the help.
Answered! Go to the Best Answer.

- Labels:
-
OAuth 1.0a
Accepted Solutions
10-06-2015 12:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
10-06-2015 12:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@hhusain wrote:
I'm attempting to retrieve heart rate data using the Fitbit API's. I'm hitting the following endpoint:
https://api.fitbit.com/1/user/{User ID}/activities/heart/date/2015-09-01/2015-10-06.json
The response is returning a 403 Forbidden. Having checked the Settings/Applications area for the user, I can see the following areas have been granted access to my application by this user:
Access profile,friends,weight,food and water logs,Fitbit devices and settings,sleep,activity and exercise,heart rate,location and GPS
I'm able to retrieve sleep data without issues and have hit upon this hurdle trying to retrieve the heart rate data. I'm using the OAuth 1.0 mechanism for both requests.
Thanks for the help.
Heart Rate and Location data is not available via OAuth 1.0. You will need to use OAuth 2.0 to access those endpoints.
10-06-2015 12:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
10-06-2015 12:50
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@hhusain wrote:
I'm attempting to retrieve heart rate data using the Fitbit API's. I'm hitting the following endpoint:
https://api.fitbit.com/1/user/{User ID}/activities/heart/date/2015-09-01/2015-10-06.json
The response is returning a 403 Forbidden. Having checked the Settings/Applications area for the user, I can see the following areas have been granted access to my application by this user:
Access profile,friends,weight,food and water logs,Fitbit devices and settings,sleep,activity and exercise,heart rate,location and GPS
I'm able to retrieve sleep data without issues and have hit upon this hurdle trying to retrieve the heart rate data. I'm using the OAuth 1.0 mechanism for both requests.
Thanks for the help.
Heart Rate and Location data is not available via OAuth 1.0. You will need to use OAuth 2.0 to access those endpoints.
