Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to write weight and profile data to Fitbit

Hi,

I am trying to do an app where i just want to write the weight and profile of the user to Fitbit 

So that the Fitbit app can keep track of their daily activity, how can I do that 

So far there are some samples only to read the data from fit bit 

 

How to write data to Fitbit 

Thank you 

 

Best Answer
0 Votes
1 REPLY 1

Hi @jeyaseelan,

 

Welcome to the forums!

 

In order to read/write data onto a user's Fitbit account, you'll need to make sure that your application's default access type is set to "Read & Write" in your application settings at dev.fitbit.com/apps/edit/<Client_ID>. Additionally, the user of the data you are accessing must have given your application consent to access their profile and weight data in the authorization page during the oAuth 2.0 consent flow.

 

To be able to read a user's profile and settings, you'll want to use the GET Profile endpoint, and if you want to write profile data, you'll want to use the POST Update Profile endpoint.

 

To be able to read a user's weight data, you'll want to use the GET Weight Logs endpoint, and if you want to write weight data, you'll want to use the POST Log Weight endpoint.

 

I hope this helps. Let me know if you have any additional questions.

Best Answer
0 Votes