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.
It's only available via the web api. https://dev.fitbit.com/build/reference/web-api/body/#goals
You can see an example of accessing the web api here https://dev.fitbit.com/build/tutorials/examples/#web-api-oauth
Best Answer