08-09-2020 16:36
08-09-2020 16:36
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
Answered! Go to the Best Answer.
08-10-2020 14:13
08-10-2020 14:13
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
08-10-2020 14:13
08-10-2020 14:13
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
08-10-2020 16:32
08-10-2020 16:32
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
08-11-2020 17:57
08-11-2020 17:57
We do not separate the rate limit between GET and POST requests.
08-13-2020 05:40
08-13-2020 05:40
Ok. Please consider this change in future releases of the Web API. Thanks.