09-07-2020 07:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-07-2020 07:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello guys,
I am new to FitBit world so please don't mind if I mis-spell the things.
I wants to fetch some data from my api server and show it on the FitBit watch, so can anyone please provide me some links or docs like I can refer to call my own api hosted on my server and display the results on a watch.
Thank in Advance
Answered! Go to the Best Answer.
Accepted Solutions
09-08-2020 01:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-08-2020 01:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
09-07-2020 13:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-07-2020 13:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
You'll have to access the server in companion code that runs within the Fitbit app on your phone, because the watch itself can't connect to anything but the companion code.
Within your companion code, you'll have to use fetch() or WebSocket to get the data from your server.
Gondwana Software
09-08-2020 01:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-08-2020 01:06
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello @Gondwana
Thank you so much for replying back to me, can you share any doc for fetch() or WebSocket from where I can get the idea and flow as I am a newbee to the FitBit.

09-08-2020 01:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-08-2020 01:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
https://dev.fitbit.com/build/reference/companion-api/fetch/
https://dev.fitbit.com/build/reference/companion-api/websocket/
Gondwana Software
09-09-2020 01:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-09-2020 01:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
