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.
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.
Hi @MengL
You will only have one isMainSleep in a 24 hour period. Typically, the main sleep is the longest sleep period.
Gordon
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.
Hi @MengL
You will only have one isMainSleep in a 24 hour period. Typically, the main sleep is the longest sleep period.
Gordon
Best Answer