11-01-2022 09:01 - edited 11-01-2022 09:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-01-2022 09:01 - edited 11-01-2022 09:02
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
2 related questions:
1. Does my App have to create a userRevokedAccess subscription for each user? It seems to me if an App wants this they would want for all users, so it would make sense to make this a global subscription?
2. Do I subscribe to userRevokedAccess using the SAME subscription ID that I use for 'activities' collection or do I create different subscription IDs for each collection?

- Labels:
-
Subscriptions API
11-01-2022 12:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



11-01-2022 12:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @eglobal
The documentation isn't very clear on this topic. I'll see what I can do to improve it. To answer your questions
1. Fitbit will automatically create the "userRevokedAccess" subscription when no collection is specified. When you don't specify a collection, the user will need to enable the activity, nutrition, profile, settings, sleep and weight scopes. If you specify the collection, you will need to create a subscription for the userRevokedAccess collection, as well.
2. You will use a unique subscription Id for "userRevokedAccess"
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

