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

Enable irregular_rhythm_notifications scope

ANSWERED

Hi, 

I have an application that needs to access the Irregular Rhythm Notifications (IRN) web API Resource.

Currently when using the API request `https://api.fitbit.com/1/user/-/irn/alerts/list.json` the response says: 

This application does not have permission to READ IRREGULAR_RHYTHM_NOTIFICATIONS data. Visit https: //dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process.

Which makes sense. What I've learned so far is that the users have to grant access to the irregular_rhythm_notifications scope but I haven't found the steps to enable it in my app.
This is the list of "scopes" our users see during the OAuth authorization. I don't see anything related to IRN.

  •  Allow All
  • Heart rate
  • Profile
  • Activity and exercise
  • Location and GPS
  • Fitbit devices and settings
  • Sleep
  • Weight
  • Food and Water Logs
  • Friends

Do I need to configure anything special from my OAuth app? Or How this scope/permission is presented to the users?

Any help is appreciated

Thanks!

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @alexperto 

You enable the IRN scope just like all of the others.  You need to add irregular_rhythm_notifications to the authorization string.   See https://dev.fitbit.com/build/reference/web-api/authorization/authorize/.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
2 REPLIES 2

Hi @alexperto 

You enable the IRN scope just like all of the others.  You need to add irregular_rhythm_notifications to the authorization string.   See https://dev.fitbit.com/build/reference/web-api/authorization/authorize/.

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

Thank you Gordon! That was exactly what I needed

Best Answer
0 Votes