06-15-2022 13:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-15-2022 13:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
I am using Fitbit Inspire 2 and trying to fetch some data via WebApi.
My application type is "Personal" and at first attempt to authorize I gave an access to 'All' my data.
I am able to fetch everything(hr/steps/distance/calories) except:
- Breathing Rate Summary/Intraday.
Request:
https://api.fitbit.com/1/user/-/br/date/2022-06-11/all.json
Error:
This application does not have permission to READ RESPIRATORY_RATE data. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process.
How can I request this permission? I have already shared 'All' data, haven't I? - Heart Rate Variability intraday. (summary is possible to fetch)
Request:Error:
From the error message documentation:
API client is not authorized by Fitbit to access the resource requested. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process.
If you application type is “Personal”, then the owner of the application can only query their intraday data.
But... I am trying to fetch my HRV intraday data. Why isn't it possible?
I would appreciate any help with it, thanks.
P.S. 'dailyRmssd' from HRV summary is called daily, but in the Fitbit App the same data are marked as 'nightly average'. Looks strange.
06-16-2022 09:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-16-2022 09:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Just to confirm, when you consented to share all of your data with your application, did you see breathing rate and HRV listed in the available scopes page?
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

06-16-2022 15:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-16-2022 15:01
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Gordon-C
No, there were no br and hrv in the listed scope page.
I have revoked access and here what it has suggested to share
So.. if these options should be here, then it's a bit strange that they hadn't been listed.

06-17-2022 02:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-17-2022 02:11
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi, I have same issue when fetch the breathing rate and SpO2. and I could not find the scope for spo2 and breathing rate in the list. Do you know what scope is for spo2 and breathing rate?

06-17-2022 10:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-17-2022 10:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
You will need to add the breathing rate and SpO2 scopes to your authorization string. This is not required for HRV because the data set access is part of the heart rate scope. The documentation for the endpoints lists the scope you need to add at the top of the page. See
Breathing Rate: https://dev.fitbit.com/build/reference/web-api/breathing-rate/get-br-summary-by-date/
SpO2: https://dev.fitbit.com/build/reference/web-api/spo2/get-spo2-summary-by-date/
Once you add the scopes and send the user through the authorization flow again, you should see the 2 new scopes appear. The user will need to consent to the new scopes before you can access the data.
Let me know if this doesn't work for you.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
06-19-2022 11:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-19-2022 11:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks Gordon, it worked 😊
By requesting /1/user/[user-id]/br/date/[date].json, the breathing rate is returned.
However, when requesting intraday data - /1/user/[user-id]/br/date/[date]/all.json, it returns the same error message as for hvr:
API client is not authorized by Fitbit to access the resource requested. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process.

06-22-2022 08:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-22-2022 08:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Have you requested intraday access for this client ID? If not, you have 2 choices
- You can change your application type to "personal" in your client ID settings at https://dev.fitbit.com
- You can request intraday access at https://dev.fitbit.com/build/reference/web-api/intraday/
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

06-23-2022 04:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-23-2022 04:08
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
No, I haven't because my application type initially was set to "personal"

06-23-2022 07:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-23-2022 07:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks for clarifying. I'm investigating the problem.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

09-14-2022 07:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-14-2022 07:07
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi everyone,
We have fixed the problem where applications could not retrieve HRV and Breathing Rate intraday data for "personal" applications. We are still working on SpO2. We will update the community posts when SpO2 is available.
Gordon
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

