I can't add more than one subscription. I'm attempted to add one per user. For example:
POST http://api.fitbit.com/1/user/NNNNN1/apiSubscriptions/NNNNN1.json
POST http://api.fitbit.com/1/user/NNNNN2/apiSubscriptions/NNNNN2.json
The 2nd call gives me a 401.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
You can only create subscription to user who had authorized your app to do so.
As it specified in documentation you should just pass [-] instead of actual user id every time: https://wiki.fitbit.com/display/API/Fitbit+Subscriptions+API#FitbitSubscriptionsAPI-Addasubscription
Best Answer