10-20-2022 00:41
10-20-2022 00:41
Hi
Few questions that we will appreciate some elaboration on:
Where can we find the “resting heart rate” as a “stand-alone feature”?
Currently, it appears per activity, at the current API but, if we do not track the Activities, and still want to get it ?Thanks
10-20-2022 12:12
10-20-2022 12:12
1. The Get Heart Rate Time Series endpoints provides the user's heart rate values. It doesn't associate the heart rate with a specific activity. To get the user's heart rate during an activity, you will want to use the Get Activity Log List endpoint. The Get Activity Log List response will provide the recorded activity and how many minutes the user was in each heart rate zone. Use the heartRateLink to retrieve the intraday heart rate values during the activity time period (intraday access will need to be enabled). Lastly, the tcxLink will also give you the heart rate values during the exercise.
2. Resting heart rate is returned by the Get Heart Rate Time Series endpoints and is recorded during sleep. You should be able to retrieve the resting heart rate value with just the heart scope enabled. See https://dev.fitbit.com/build/reference/web-api/heartrate-timeseries/get-heartrate-timeseries-by-date....
3. If your client ID has intraday enabled, you can retrieve the heart rate per minute using the heart rate intraday endpoint. See https://dev.fitbit.com/build/reference/web-api/intraday/get-heartrate-intraday-by-date/. You will need to request access to intraday at https://dev.fitbit.com/build/reference/web-api/intraday/.
Gordon
10-27-2022 01:21
10-27-2022 01:21
Thank you, Gordon. Appreciate your response.