07-15-2016 08:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-15-2016 08:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi guys,
We are using Fitbit API to get Daily Activity Summary, Sleep data, etc. Sometimes our users does not synchronize their mobile Fitbit apps with Fitbit server and complain about data mismatch. We'd like to display notification about last sync timestamp.
From API documentation I don't see any possibility to implement such feature straightforward and think about workarounds.
We've noticed that DailySummary data includes steps count only in case when device was synchronized this day. In this case we can use DailySummary date as approximate sync timestamp.
Please let me know if you see better way to get sync date or think that approach described above is bad idea.
Thank You in advance,
Yauhen
Answered! Go to the Best Answer.
Accepted Solutions
07-15-2016 09:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-15-2016 09:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@Hansovovich Have you considered the devices endpoint? You'll be able to see last sync time of the device for the user.

07-15-2016 09:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-15-2016 09:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
@Hansovovich Have you considered the devices endpoint? You'll be able to see last sync time of the device for the user.

07-16-2016 02:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-16-2016 02:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thank you!
looks like I've missed thus part of API.

08-21-2018 22:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-21-2018 22:34
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
But this API does not return time zone offset with lastSysctime parameter then how we can convert it to local time?

09-17-2018 16:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



09-17-2018 16:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @Bajrang. You can get the offset time from the Profile endpoint, /1/user/-/profile.json. This endpoint will return the offsetFromUTCMilllis. Will that help you?
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

