Forum Posts

Resolved! Subscription Notification - Water

Hi there.I have a subscriber endpoint set up with notifications coming in.I noticed if a user logs water in the app, I don't get any type of subscription notification. However, if a food is logged, a subscription (food) notification is sent, and upon...

Stopped receiving web hook

We have stopped receiving web hook. I added a new endpoint also & it was verified, but nothing changes. I add new activities for a user using the Web Dashboard, but I don't get any web hook notification to my server anymore. The stats box next to the...

Subscribers endpoint disabled

Hi Fitbit support team, My team notice that our subscriber endpoint is disabled. We have been using this the subscriber endpoint for > 6 mth and its affecting our customer steps and health activity Need you advice on below:1. What is the reason why F...

g.siang by Recovery Runner
  • 328 Views
  • 1 replies
  • 3 votes

Resolved! Make Request with PostMan to get Heartrate

Hello, I'm trying to make a simple request on the API to get back heartrate scope. I red API documentations and many subjects and the forum but i sill do not understand how to do it. here where i am: Set in API an new app to be able to get the requir...

dsalerne by Recovery Runner
  • 4228 Views
  • 11 replies
  • 0 votes

Resolved! Authorization Error: Invalid authorization token type

Hello Fitbit dev team,  I'm having some issues creating a subscription after verifying my subscriber endpoint and authenticating a user via the implicit grant flow.  Once the user is authenticated, the user's access token is used to call the create a...

esef by Jogger
  • 726 Views
  • 4 replies
  • 2 votes

401 error on creating subscription

Hi community! I am integrating Fitbit API with the application of the company I work for. I have successfully managed to implement all required steps for authentication (OAuth 2.0) through our app (on Android) and I can see my user's consent to Fitbi...

Cannot Verify Subscriber

Hi, I am trying to verify an endpoint for a subscriber, but I do not see any requests coming in from my reverse proxy logs when I click on "Verify". Could I get confirmation that the verification requests are indeed being initiated, and what response...

Resolved! Method information Webhook

I have developed a Webhook using the subscriptions API to get information about users' activities. It works fine, but I would like to know what is the action made for the activity (create, update or delete) so that I can modify it properly. The body ...

Resolved! Notifications signature verification

Hello! I am having problems to figure out what I am missing for the verification of the signature in the webhooks.I am getting the X-Fitbit-Signature header and matching it to the body of the request encrypted with SHA1 with the client-secret+'&' as ...

Insufficient Permissions Error

Hi, I am trying to fetch data from 4 endpoints: /activities/list.json/[user-id]/body/log/weight/date/[date].json/[user-id]/foods/log/date/[date].json/[user-id]/sleep/date/[date].json Out of those 4, 3 return an "API client is not authorized by the re...

Resolved! Multiple Devices connected to One Account

I have REST API that GETS sleep and activity data from Fitbit and stores it in an excel file. I have a question, If there are multiple Fitbit devices connected to a single account. How can I differentiate, that which sleep data belongs to which devic...

Invalid token error

Hi all. In my application I have authorised a user, and added them to a subscription. However whenever I add any activities for that user via the app, nothing is sent back to my subscription endpoint. The subscriber is verified, and when I add the su...

Resolved! Fitbit 404 after after clicking Allow Button

I'm getting a 404 error when clicking the allow button. I'm having this problem only in my live server(https://www.gogch.com/app/). Its working fine in my local server(http://localhost:8080) and also a test server(https://testing.gogch.com/app/).This...

sarathn91 by Recovery Runner
  • 1550 Views
  • 7 replies
  • 2 votes

Resolved! Retrieve Historical Data

Looking for best practice for retrieving historical data. For example, I want to retrieve that last 30 days of activities for a user. It seems I would have to make several requests:https://api.fitbit.com/1/user/-/activities/date/2021-09-13.json https...

Accessing the API as a student

Hi, I am doing a fitbit integrated web app for my university thesis project. As the API access form requires some company specific information i.e. website, privacy policy, terms of service, link to where the app will be accessible. I was wondering h...

Resolved! research best practice

I am undertaking a research thesis using the Charge 4 with 30 participants. I have had to go through an ethics process ensuring the privacy of the participants is very protected.I am able to connect and extract data for a participant using the web ap...

jpoyser by Recovery Runner
  • 596 Views
  • 3 replies
  • 2 votes

Resolved! Understanding Subscription Activity Frequency

We are working on transition over to subscriptions to better handle user updates.  I have monitored the webhooks from our dev account and noticed some interesting behavior that I'd like to see clarified. Over the course of the day, I saw activity upd...

Daily updates notifications for current day

Hi Fitbit, We use Web API for many years, and we currently encounter a new kind of issues : many users of our application complain about the low frequency of Daily summaries. It seems that we receive only 1 or 2 updates for a specific dates, or even ...

pécé by Recovery Runner
  • 488 Views
  • 3 replies
  • 1 votes

API DATA

When we are customizing, we are trying to  created different App using Fitbit API,Do we get data directly from Watch or data will move to FitBit app and from that app we have to take required  data ?? should we have to install fitbit app compulsory f...

Fitbit web API question

organized the question details regarding the implementation of Fitbit web API. 1. What is the maximum setting of expires_in when requesting RefreshToken?    Setting expires_in to 3153600 does not apply. 2. What should I use for unsubscribe token?    ...

Subscriptions - Responding to Notifications

Hi there.I have a subscriber endpoint set up with notifications coming in. When a user logs an activity, what type of subscription notification is sent?Does it come in the format below as a post of the endpoint URL?[{"collectionType": "activities","d...

Resolved! Subscriber not successfully verified

The subscription verification for our application is failing and showing this message "Subscriber has not been successfully verified."The endpoint is working fine and it is returning the correct 204/404 replies when the code is either correct or inva...

changhc by Recovery Runner
  • 628 Views
  • 4 replies
  • 3 votes

Close Fitbit user session after authorization

Hi, I've created a Server APP to obtain the sleep data of the users for my app, the authorization process is made with a Link on my phone app or a link on my web system, the problem I have is that when I try to authorize multiple users, I can't do it...

JavierAP by Recovery Runner
  • 449 Views
  • 1 replies
  • 0 votes

Resolved! Duplicate Sleep Subscription Notifications

Over the last month or so noticing that we are receiving duplicate sleep notifications within  seconds of each other. Example of a couple of notifications received this morning: {"Type": "fb","Payload": "[{\"collectionType\":\"sleep\",\"date\":\"2019...

TJISMH by Recovery Runner
  • 1358 Views
  • 9 replies
  • 1 votes

Subscriber Verification Issue

The subscription verification for our application was working fine and we were getting notifications but today it is failing and showing this message "Subscriber has not been successfully verified."The endpoint is working fine and it is returning the...

SPHAdmin by Recovery Runner
  • 1098 Views
  • 2 replies
  • 0 votes

Resolved! Activity duration being greater than active duration

Hello, we had a few instances recorded around March 8th 2021, where activity duration was initially greater that active duration and then getting corrected. I have couple questions on this:1. Is duration, activeDuration or originalDuration expected t...

msirbu by Jogger
  • 742 Views
  • 2 replies
  • 2 votes