10-21-2020 01:29 - edited 10-21-2020 01:33
10-21-2020 01:29 - edited 10-21-2020 01:33
Hello I'm trying to get steps activities using the following API
API: https://api.fitbit.com/1/user/-/activities/steps/date/2020-10-20/1d/15min/time/08:00/20:00.json
but getting the "insufficient_permissions" in response with a message "API client is not authorized by Fitbit to access the resource requested."
11-18-2020 10:54
11-18-2020 10:54
Hi @soken
The endpoint your executing is an intraday endpoint. You should be able to query this data if the access token belongs to the Fitbit account which owns the application and the application type = "personal". If you're trying to query someone else's intraday data, then you'll need to request access at https://dev.fitbit.com/build/reference/web-api/intraday-requests/.
Gordon