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

Log Weight - Multiple Data Points In One POST

ANSWERED

Hi,

 

Is it possible to log more than one weight data point in one request?  For example. Can I log a weeks worth of weight data in one Log Weight POST? The reason I'm asking is because of the rate limit. Our users want to log months and possible years worth of weight data, but the 150 an hour "limits" our ability to do this.

 

Thanks,

Chris

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @bickster 

 

Unfortunately, you cannot bulk load weight data through the Web APIs.  I'd recommend your users enter the months worth of data through the Fitbit web or mobile application, then your application can use the time series endpoint to query all of the data.

 

https://dev.fitbit.com/build/reference/web-api/body/#get-weight-logs

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

View best answer in original post

Best Answer
0 Votes
4 REPLIES 4

Hi @bickster 

 

Unfortunately, you cannot bulk load weight data through the Web APIs.  I'd recommend your users enter the months worth of data through the Fitbit web or mobile application, then your application can use the time series endpoint to query all of the data.

 

https://dev.fitbit.com/build/reference/web-api/body/#get-weight-logs

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Thanks for the reply. Would it be possible to raise the rate limit for POST requests?  With one GET request you can get 100 data points so the rate limit is not as restrictive.  With POST requests you can only send up one data point at a time which really restricts and complicates developers ability to integrate with Fitbit.

 

Chris

Best Answer
0 Votes

We do not separate the rate limit between GET and POST requests.   

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Ok. Please consider this change in future releases of the Web API. Thanks.

Best Answer
0 Votes