05-27-2025 12:48
05-27-2025 12:48
Hi Fitbit Community,
I'm developing a personal mode application and I'm having trouble accessing intraday data. Here's my situation:
1. Authentication Setup:
- Using personal mode authentication
- Successfully obtained access and refresh tokens
- Using the same Fitbit account that registered the client application
- Token has the HEARTRATE=READ scope
2. API Request Details:
- Endpoint: https://api.fitbit.com/1/user/-/activities/heart/date/{date}/{date}/1min.json
- Headers: Authorization: Bearer {access_token}
- Status Code: 200 (success)
- Detail Level: 1min
3. Current Response:
```json
{
"activities-heart": [
{
"value": {
"customHeartRateZones": [],
"heartRateZones": [
{
"caloriesOut": 1851.50136,
"max": 110,
"min": 30,
"minutes": 1434,
"name": "Out of Range"
},
{
"caloriesOut": 25.817000000000004,
"max": 131,
"min": 110,
"minutes": 6,
"name": "Fat Burn"
},
{
"caloriesOut": 0,
"max": 158,
"min": 131,
"minutes": 0,
"name": "Cardio"
},
{
"caloriesOut": 0,
"max": 220,
"min": 158,
"minutes": 0,
"name": "Peak"
}
],
"restingHeartRate": 67
},
"dateTime": "(today, not permitted format on the post idk why)"
}
]
}
```
4. Issue:
- The response includes summary data (heart rate zones, resting heart rate)
- Missing the expected "activities-heart-intraday" section with minute-by-minute data
- No error messages or warnings in the response
5. What I've tried:
- Verified token scopes using OAuth introspection endpoint
- Tried alternative endpoint format: /1/user/-/activities/heart/date/{date}/1d/1min.json
- Confirmed the device is synced and has heart rate data
- Checked that the date has heart rate data in the Fitbit app
Questions:
1. Is there a specific permission or setting I need to enable for intraday data access in personal mode?
2. Are there any additional scopes required beyond HEARTRATE=READ?
3. Could this be related to the device type or Fitbit account type?
4. Is there a way to verify if my account has access to intraday data?
Any help or guidance would be greatly appreciated. Thank you!
05-27-2025 12:55
05-27-2025 12:55
Here i ment:
1. Authentication Setup:
- Using personal mode authentication
- Successfully obtained access and refresh tokens
- **The email address I used to create the personal mode application is the same one I'm using to authenticate and obtain the tokens for intraday data collection**
- Token has the HEARTRATE=READ scope
Best Answer06-25-2025 12:00
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
06-25-2025 12:00
Hi @giovanono
I have test your scenario, and I correctly receive the intraday data. I'm going to create a support ticket through issue tracker so I can collect some more information from you to troubleshoot.
Gordon
Best Answer