03-21-2019 20:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-21-2019 20:03
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello. I want utilize "minutesToFallAsleep" data from Get Sleep Logs API.
Now, I am using Fitbit Alta HR and Fitbit Versa.
And, I already set my account's Sleep Sensitivity to "Sensitive".
But, when I get data with Get Sleep Logs API, the value of "minutesToFallAsleep" is "0".
Are there any other necessary settings still missing?
I would appreciate if you could give me some adveice!
e.g.)
- Is this data not provided for free? (Paid service only?)
- Is there a limit depending on the product model?
- Is this data not provided even now, already written in document though?

- Labels:
-
JavaScript
03-22-2019 09:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



03-22-2019 09:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @SA_AllegroSmart ,
Access to this data point is free and available for all devices that auto-detect sleep. In the Get Sleep Log documentation, we state in the example
"minutesToFallAsleep": <value>, // this is generally 0 for autosleep created sleep logs
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

