curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/plans/assigned/{templateId}/detail" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/plans/assigned/{templateId}/detail', 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/clients/{clientId}/plans/assigned/{templateId}/detail"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"plan": {
"schedule": {
"mode": "multi_week",
"releasePolicy": "weekly_from_start",
"startDate": "2026-09-08",
"timeZone": "Europe/Amsterdam",
"totalWeeks": 4,
"layout": "calendar_week",
"weeks": [
{
"weekNumber": 1,
"days": [
{
"weekday": 1,
"isRestDay": false,
"items": [
{
"_id": "67f1234567890abcdef1234",
"order": 1,
"startTime": "08:30",
"plannedDurationMinutes": 45,
"status": "today",
"plannedDate": "2026-09-08",
"scheduledDate": "2026-09-08",
"source": "programme",
"clientAdjustment": {
"action": "moved",
"occurrenceDate": "2026-09-08",
"scheduledDate": "2026-09-08",
"changedAt": null
},
"canClientRestore": true,
"type": "workout",
"planMomentId": "67f1234567890abcdef1234"
}
]
}
]
}
]
}
},
"stats": {
"totalExercises": 22,
"totalDays": 4
},
"progress": {
"total": 6,
"completed": 2,
"progressPercentage": 33,
"isCompleted": false
},
"days": [
{
"planMomentId": "67f1234567890abcdef1234",
"name": "Day 1",
"description": "",
"dayOrder": 1,
"order": 0,
"weekNumber": 1,
"sessionOrder": 1,
"exerciseCount": 6,
"restSeconds": 90,
"expectedDurationMinutes": 45,
"scoring": {
"scoringType": "forTime",
"descriptionOnly": true,
"acceptsManualResult": true,
"targetValue": null,
"timeDomain": {
"windowSeconds": null,
"timeCapSeconds": 900,
"rounds": 3,
"intervalSeconds": null,
"intervalCount": null,
"workSeconds": null,
"restSeconds": null
},
"scoreValidation": {
"timeCapSeconds": 900,
"maxReps": null,
"expectedIntervals": null
},
"result": {
"roundsCompleted": 5,
"repsPerRound": 30,
"extraReps": 12,
"totalReps": 162,
"intervalReps": [
12,
11,
10
],
"elapsedSeconds": 742,
"finishedBeforeCap": true,
"timeCapSeconds": 900,
"maxLoadKg": 120
}
},
"progress": {
"total": 6,
"completed": 2,
"progressPercentage": 33,
"isCompleted": false
},
"exercises": [
{
"type": "exercise",
"planExerciseId": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Dumbbell Bench Press",
"thumbnail": "https://cdn.example.com/exercises/bench.jpg",
"media": [
{
"type": "image",
"url": "https://cdn.example.com/ex/bench.jpg",
"platform": null,
"videoId": null,
"thumbnail": null,
"duration": null,
"width": 1080,
"height": 720
}
],
"primaryMuscle": "Chest",
"secondaryMuscles": [
"Triceps"
],
"equipment": [
"Dumbbell"
],
"groupId": "",
"order": 0,
"isFavourite": false,
"hasHistory": false,
"targets": {
"type": "reps",
"sets": 4,
"reps": "8–12",
"rest": 60,
"rpe": 8,
"rmPercentage": 0,
"tempo": "",
"notes": "Keep elbows tucked."
},
"previousBestSet": "12 × 24kg",
"performanceId": "67f1234567890abcdef1234",
"isCompleted": false,
"clientNotes": "",
"clientRestSeconds": null,
"notes": "",
"sets": [
{
"setNumber": 1,
"setType": "N",
"displayNumber": 1,
"displayLabel": "1",
"previous": "12 × 22kg",
"reps": 10,
"weight": 22,
"timeSeconds": null,
"distanceMeters": null,
"rpe": null,
"completed": false
}
],
"exerciseCount": 2,
"rounds": 4,
"data": [
{
"id": "67f1234567890abcdef1234",
"name": "Barbell Bench Press",
"primaryMuscle": "Chest",
"secondaryMuscles": [
"Chest"
],
"primaryJoint": "Shoulder",
"equipment": [
"Dumbbells"
],
"difficulty": "Intermediate",
"intensity": "Above Average",
"visibility": "Company",
"tags": [
"string"
],
"thumbnail": "https://cdn.example.com/exercises/bench-thumb.jpg"
}
]
}
]
}
],
"weeks": [
{
"weekNumber": 2,
"availableFrom": "2026-09-08",
"isAvailable": false,
"progressPercentage": 50,
"isCompleted": false
}
]
},
"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": 404,
"key": "resource.not_found",
"message": "The requested Public API resource was not found."
},
"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
}
}
}Get assigned-plan browse detail
Returns the assigned plan header and every active workout day while preserving the existing response envelope. Legacy days remains workout-only. Recurring sequence days return to ready after completion, preserving every previous session. For multi-week/calendar programmes, plan progress counts completed active moments: an exact plan/moment is permanently complete after any non-deleted completed session, including zero-exercise moments. Archived/deleted moments are excluded. Partial exercise progress comes only from the selected active attempt and performances are never unioned across attempts. Calendar plans expose additive weeks with all seven company-local dates, workout and activity items, occurrence status, and week availability. Request one recurring cycle with selectedWeekStart, or request a complete month grid with the mutually exclusive viewStart and viewEnd pair.
Requires the workout_client_plans:read scope. This operation maps to /app/v1/workout/plans/client/assigned/:templateId/detail 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/clients/{clientId}/plans/assigned/{templateId}/detail" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/plans/assigned/{templateId}/detail', 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/clients/{clientId}/plans/assigned/{templateId}/detail"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"plan": {
"schedule": {
"mode": "multi_week",
"releasePolicy": "weekly_from_start",
"startDate": "2026-09-08",
"timeZone": "Europe/Amsterdam",
"totalWeeks": 4,
"layout": "calendar_week",
"weeks": [
{
"weekNumber": 1,
"days": [
{
"weekday": 1,
"isRestDay": false,
"items": [
{
"_id": "67f1234567890abcdef1234",
"order": 1,
"startTime": "08:30",
"plannedDurationMinutes": 45,
"status": "today",
"plannedDate": "2026-09-08",
"scheduledDate": "2026-09-08",
"source": "programme",
"clientAdjustment": {
"action": "moved",
"occurrenceDate": "2026-09-08",
"scheduledDate": "2026-09-08",
"changedAt": null
},
"canClientRestore": true,
"type": "workout",
"planMomentId": "67f1234567890abcdef1234"
}
]
}
]
}
]
}
},
"stats": {
"totalExercises": 22,
"totalDays": 4
},
"progress": {
"total": 6,
"completed": 2,
"progressPercentage": 33,
"isCompleted": false
},
"days": [
{
"planMomentId": "67f1234567890abcdef1234",
"name": "Day 1",
"description": "",
"dayOrder": 1,
"order": 0,
"weekNumber": 1,
"sessionOrder": 1,
"exerciseCount": 6,
"restSeconds": 90,
"expectedDurationMinutes": 45,
"scoring": {
"scoringType": "forTime",
"descriptionOnly": true,
"acceptsManualResult": true,
"targetValue": null,
"timeDomain": {
"windowSeconds": null,
"timeCapSeconds": 900,
"rounds": 3,
"intervalSeconds": null,
"intervalCount": null,
"workSeconds": null,
"restSeconds": null
},
"scoreValidation": {
"timeCapSeconds": 900,
"maxReps": null,
"expectedIntervals": null
},
"result": {
"roundsCompleted": 5,
"repsPerRound": 30,
"extraReps": 12,
"totalReps": 162,
"intervalReps": [
12,
11,
10
],
"elapsedSeconds": 742,
"finishedBeforeCap": true,
"timeCapSeconds": 900,
"maxLoadKg": 120
}
},
"progress": {
"total": 6,
"completed": 2,
"progressPercentage": 33,
"isCompleted": false
},
"exercises": [
{
"type": "exercise",
"planExerciseId": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Dumbbell Bench Press",
"thumbnail": "https://cdn.example.com/exercises/bench.jpg",
"media": [
{
"type": "image",
"url": "https://cdn.example.com/ex/bench.jpg",
"platform": null,
"videoId": null,
"thumbnail": null,
"duration": null,
"width": 1080,
"height": 720
}
],
"primaryMuscle": "Chest",
"secondaryMuscles": [
"Triceps"
],
"equipment": [
"Dumbbell"
],
"groupId": "",
"order": 0,
"isFavourite": false,
"hasHistory": false,
"targets": {
"type": "reps",
"sets": 4,
"reps": "8–12",
"rest": 60,
"rpe": 8,
"rmPercentage": 0,
"tempo": "",
"notes": "Keep elbows tucked."
},
"previousBestSet": "12 × 24kg",
"performanceId": "67f1234567890abcdef1234",
"isCompleted": false,
"clientNotes": "",
"clientRestSeconds": null,
"notes": "",
"sets": [
{
"setNumber": 1,
"setType": "N",
"displayNumber": 1,
"displayLabel": "1",
"previous": "12 × 22kg",
"reps": 10,
"weight": 22,
"timeSeconds": null,
"distanceMeters": null,
"rpe": null,
"completed": false
}
],
"exerciseCount": 2,
"rounds": 4,
"data": [
{
"id": "67f1234567890abcdef1234",
"name": "Barbell Bench Press",
"primaryMuscle": "Chest",
"secondaryMuscles": [
"Chest"
],
"primaryJoint": "Shoulder",
"equipment": [
"Dumbbells"
],
"difficulty": "Intermediate",
"intensity": "Above Average",
"visibility": "Company",
"tags": [
"string"
],
"thumbnail": "https://cdn.example.com/exercises/bench-thumb.jpg"
}
]
}
]
}
],
"weeks": [
{
"weekNumber": 2,
"availableFrom": "2026-09-08",
"isAvailable": false,
"progressPercentage": 50,
"isCompleted": false
}
]
},
"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": 404,
"key": "resource.not_found",
"message": "The requested Public API resource was not found."
},
"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
Assigned workout plan id.
"67f1234567890abcdef1234"
Client in the company bound to the Public API token.
^[a-fA-F0-9]{24}$Query Parameters
Only for coach/admin callers; clients resolve from the token.
"67f1234567890abcdef1234"
Canonical company-local Monday for the requested programme week or recurring cycle. Omit to use the current company-local week.
^\d{4}-\d{2}-\d{2}$"2026-09-14"
Canonical company-local Monday at the start of a calendar grid. Requires viewEnd, cannot be combined with selectedWeekStart, and the inclusive range may contain at most 42 days.
^\d{4}-\d{2}-\d{2}$"2026-08-31"
Canonical company-local Sunday at the end of a calendar grid. Requires viewStart, cannot be combined with selectedWeekStart, and the inclusive range may contain at most 42 days.
^\d{4}-\d{2}-\d{2}$"2026-10-11"