02-21-2021 21:29
02-21-2021 21:29
Hi all,
When I requested sleep data via Fitbit API, I got multiple sleep sessions in a day. Sometimes, the `isMainSleep` field is true. Sometimes, it is false.
Does anybody know if we can have multiple sessions with "isMainSleep:true" in a day?
Thanks!
Meng
Answered! Go to the Best Answer.
02-22-2021 10:15
02-22-2021 10:15
Hi @MengL
You will only have one isMainSleep in a 24 hour period. Typically, the main sleep is the longest sleep period.
Gordon
02-22-2021 10:15
02-22-2021 10:15
Hi @MengL
You will only have one isMainSleep in a 24 hour period. Typically, the main sleep is the longest sleep period.
Gordon
02-23-2021 11:58
02-23-2021 11:58
Thank you!
Meng