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

How to know if a user edited sleep start time and duration in API-Get-Sleep

We are thinking of using the Fitbit Charge HR to track sleep data for clinical trial purposes.

 

The Fitbit Charge HR device will be populating the Fitbit app with sleep data, which we will then be pulling from the Fitbit web service as described here.

 

https://wiki.fitbit.com/display/API/API-Get-Sleep

 

If the user edits the sleep information after it has been saved from the Fitbit Charge HR in the Fitbit app, is there a way to know that it has been edited by the user when retreiving the sleep data from the Fitbit web service?

 

We would like to know if the user's sleep start time and duration has been edited by the user.

Best Answer
0 Votes
2 REPLIES 2

There is no way to distinguish between sleep logs created by Fitbit's auto-detection and those added/edited by people.

Best Answer
0 Votes

@adealmeida If I understand your question correctly you want to get notified when a user changes a sleep record so you can update data in your local database. If that is correct you should look at the subscription API documentation.

Best Answer
0 Votes