cURL
curl -X GET "https://api.fitsociety.io/public/v1/clients/{clientId}/goals" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/clients/{clientId}/goals', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fitsociety.io/public/v1/clients/{clientId}/goals"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"goals": {
"physicalActivityGoal": "string",
"currentWeightKg": 1,
"targetWeightKg": 1,
"timeline": {
"startDate": "2026-07-14T10:00:00.000Z",
"endDate": "2026-07-14T10:00:00.000Z"
},
"dailyGoals": {
"waterIntakeMl": 1,
"dailySteps": 1,
"sleepDurationHours": 1
},
"nutritionGoals": {
"daily": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"weekly": {
"enabled": true,
"monday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"tuesday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"wednesday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"thursday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"friday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"saturday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"sunday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
}
}
},
"measurementGoals": [
{
"typeId": "66f7b8b1e13c8d25f4d3d90a",
"typeName": "Example name",
"goal": 1,
"unit": "string"
}
]
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}Goals
Get client goals
Requires goals:read. Returns public-safe activity, weight, timeline, daily habit-style goals, nutrition targets, and measurement goals. Measurement goals include only active, non-deleted settings with a valid type visible in the authenticated company context; another company’s custom goals are excluded. System measurement goals are shared client settings. Medical, medication, allergy, injury, nutrition plan, and raw objective fields are omitted.
GET
/
public
/
v1
/
clients
/
{clientId}
/
goals
cURL
curl -X GET "https://api.fitsociety.io/public/v1/clients/{clientId}/goals" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/clients/{clientId}/goals', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fitsociety.io/public/v1/clients/{clientId}/goals"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"goals": {
"physicalActivityGoal": "string",
"currentWeightKg": 1,
"targetWeightKg": 1,
"timeline": {
"startDate": "2026-07-14T10:00:00.000Z",
"endDate": "2026-07-14T10:00:00.000Z"
},
"dailyGoals": {
"waterIntakeMl": 1,
"dailySteps": 1,
"sleepDurationHours": 1
},
"nutritionGoals": {
"daily": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"weekly": {
"enabled": true,
"monday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"tuesday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"wednesday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"thursday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"friday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"saturday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
},
"sunday": {
"caloriesKcal": 1,
"macroNutrients": {
"carbohydratesPercent": 1,
"carbohydratesGram": 1,
"proteinPercent": 1,
"proteinGram": 1,
"fatPercent": 1,
"fatGram": 1
}
}
}
},
"measurementGoals": [
{
"typeId": "66f7b8b1e13c8d25f4d3d90a",
"typeName": "Example name",
"goal": 1,
"unit": "string"
}
]
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}Authorizations
Public API access token issued by /public/v1/oauth/token. Example: Authorization: Bearer fspt_.... Each resource request rechecks the token company's current provider access. Disabling access blocks existing tokens with 403 auth.provider_unavailable.
Path Parameters
Example:
"66f7b8b1e13c8d25f4d3d90a"