curl -X GET "https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/profile" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"companyId": "66f7b8b1e13c8d25f4d3d90a",
"clientId": "66f7b8b1e13c8d25f4d3d90a",
"baseline": {
"source": "logged_activities",
"startDate": "2026-07-14",
"endDate": "2026-07-14",
"timeZone": "Europe/Amsterdam",
"calculatedAt": "2026-07-14T10:00:00.000Z",
"complete": true,
"baselineWeeklyKm": 1,
"weeklyTotals": [
{
"weekStart": "2026-07-14",
"distanceKm": 1,
"runCount": 1,
"missingDistanceCount": 1
}
],
"reasonCodes": [
"RUNNING_BASELINE_ACTIVITY_TYPE_MISSING"
]
},
"running": {
"thresholdSource": {
"kind": "max_effort",
"distanceM": 1,
"timeSec": 1,
"date": "2026-07-14"
},
"baselineWeeklyKm": 1,
"baselineSource": "coach",
"hrBands": {
"easy": {
"low": 1,
"high": 1
},
"threshold": {
"low": 1,
"high": 1
}
},
"runDaysPerWeek": 1,
"availableWeekdays": [
1
],
"fixedWeekdays": [
1
],
"baselineWindow": {
"source": "logged_activities",
"startDate": "2026-07-14",
"endDate": "2026-07-14",
"timeZone": "Europe/Amsterdam",
"calculatedAt": "2026-07-14T10:00:00.000Z",
"complete": true,
"baselineWeeklyKm": 1,
"weeklyTotals": [
{
"weekStart": "2026-07-14",
"distanceKm": 1,
"runCount": 1,
"missingDistanceCount": 1
}
],
"reasonCodes": [
"RUNNING_BASELINE_ACTIVITY_TYPE_MISSING"
]
},
"thresholdSecPerKm": 1,
"thresholdRangeSecPerKm": {
"low": 1,
"high": 1
}
},
"niggle": {
"active": true,
"note": "string",
"reportedAt": "2026-07-14T10:00:00.000Z",
"clearedAt": "2026-07-14T10:00:00.000Z"
},
"paces": {
"thresholdSecPerKm": 1,
"thresholdRangeSecPerKm": {
"low": 1,
"high": 1
},
"anchors": {
"E": {
"low": 1,
"high": 1
},
"T": {
"low": 1,
"high": 1
},
"I": {
"low": 1,
"high": 1
},
"R": {
"low": 1,
"high": 1
}
},
"reasonCodes": [
"THRESHOLD_MEASUREMENT_REQUIRED"
]
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 400,
"key": "request.invalid",
"message": "The request is invalid."
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 403,
"key": "scopes.insufficient",
"message": "The access token does not include the required scope.",
"details": {
"requiredScopes": [
"required:scope"
]
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 500,
"key": "server.internal_error",
"message": "An unexpected Public API server error occurred."
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}Read a client's running profile and calculated baseline (coach)
When no measured baseline is stored, or the source is logged_activities, calculate the last four completed calendar weeks as a read-only suggestion. Missing logs/distances remain explicit; coach baselines are preserved.
Requires the workout_client_plans:read scope. This operation maps to /app/v1/workout/cardio/clients/:clientId/profile and retains its Workout V2 permission, feature-flag, and resource-scope checks.
The clientId path parameter is resolved inside the company bound to the Public API token when present.
curl -X GET "https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/profile" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"companyId": "66f7b8b1e13c8d25f4d3d90a",
"clientId": "66f7b8b1e13c8d25f4d3d90a",
"baseline": {
"source": "logged_activities",
"startDate": "2026-07-14",
"endDate": "2026-07-14",
"timeZone": "Europe/Amsterdam",
"calculatedAt": "2026-07-14T10:00:00.000Z",
"complete": true,
"baselineWeeklyKm": 1,
"weeklyTotals": [
{
"weekStart": "2026-07-14",
"distanceKm": 1,
"runCount": 1,
"missingDistanceCount": 1
}
],
"reasonCodes": [
"RUNNING_BASELINE_ACTIVITY_TYPE_MISSING"
]
},
"running": {
"thresholdSource": {
"kind": "max_effort",
"distanceM": 1,
"timeSec": 1,
"date": "2026-07-14"
},
"baselineWeeklyKm": 1,
"baselineSource": "coach",
"hrBands": {
"easy": {
"low": 1,
"high": 1
},
"threshold": {
"low": 1,
"high": 1
}
},
"runDaysPerWeek": 1,
"availableWeekdays": [
1
],
"fixedWeekdays": [
1
],
"baselineWindow": {
"source": "logged_activities",
"startDate": "2026-07-14",
"endDate": "2026-07-14",
"timeZone": "Europe/Amsterdam",
"calculatedAt": "2026-07-14T10:00:00.000Z",
"complete": true,
"baselineWeeklyKm": 1,
"weeklyTotals": [
{
"weekStart": "2026-07-14",
"distanceKm": 1,
"runCount": 1,
"missingDistanceCount": 1
}
],
"reasonCodes": [
"RUNNING_BASELINE_ACTIVITY_TYPE_MISSING"
]
},
"thresholdSecPerKm": 1,
"thresholdRangeSecPerKm": {
"low": 1,
"high": 1
}
},
"niggle": {
"active": true,
"note": "string",
"reportedAt": "2026-07-14T10:00:00.000Z",
"clearedAt": "2026-07-14T10:00:00.000Z"
},
"paces": {
"thresholdSecPerKm": 1,
"thresholdRangeSecPerKm": {
"low": 1,
"high": 1
},
"anchors": {
"E": {
"low": 1,
"high": 1
},
"T": {
"low": 1,
"high": 1
},
"I": {
"low": 1,
"high": 1
},
"R": {
"low": 1,
"high": 1
}
},
"reasonCodes": [
"THRESHOLD_MEASUREMENT_REQUIRED"
]
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 400,
"key": "request.invalid",
"message": "The request is invalid."
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 403,
"key": "scopes.insufficient",
"message": "The access token does not include the required scope.",
"details": {
"requiredScopes": [
"required:scope"
]
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 500,
"key": "server.internal_error",
"message": "An unexpected Public API server error occurred."
},
"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
Client linked to the authenticated company and inside the coach's permitted member scope.