05-26-2021 03:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-26-2021 03:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello!
I try to get my heart rate data with an API call. In swagger or in the postman everything is alright, but the same process in the Flutter I don't get back my all data.
My request: https://api.fitbit.com/1/user/-/activities/heart/date/today/1d.json
And I get back only: activities-heart field and I need the activities-heart-intraday filed to.
How can I fix it?
05-27-2021 16:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



05-27-2021 16:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @EliaaaS,
Can you tell me if your application is "Server", "Client", or "Personal"? This matters because only the "Personal" application type will grant you immediate access to the Intraday Time Series endpoints for your data only. If your app is registered as "Server" or "Client", you'll need to request access to the intraday data.
Also, you're missing the detail-level parameter in your endpoint which is used to specify how granular you want the data to be returned to you. If you specify:
- heart/date/today/1d/1sec = you'll be returned with intraday data in 1-second detail level
- heart/date/today/1d/1min = you'll be returned with intraday data in 1-minute detail level
To see our documentation, please visit: https://dev.fitbit.com/build/reference/web-api/heart-rate/#get-heart-rate-intraday-time-series
I hope this helps!

