Is there a way to retrieve a single activity by logId?
Best Answer
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.
@danielle98 wrote:
Is there a way to retrieve a single activity by logId?
Not officially. What is the use case? All of the information is returned in the Get Activity Logs List endpoint.
@danielle98 wrote:
it is /activities/{logId}.json - found this out by trial and error. If someone could point me to the page this on that would be great.
You discovered a hidden feature. Endpoints not documented are not officially supported.
Best Answer
Best Answer
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
@danielle98 Yeah that's how it works. If you're looking for a specific activity you would have to look through the list that's returned.
If you're looking for a recently added or modified activity on a certain date, maybe comparing "lastModified" and/or "startTime" within the activities could help?
Best Answer