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."
Best Answer11-18-2020 10:54
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.
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
Best Answer