curl -X GET "https://api.fitsociety.io/public/v1/workout/plans/template/{planId}" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/plans/template/{planId}', 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/plans/template/{planId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"overview": {
"totalDay": 3,
"minutesPerSession": 42,
"totalExercise": 43
},
"clients": [
{
"_id": "67f1234567890abcdef1234",
"firstName": "Jane",
"lastName": "Smith",
"fullName": "Jane Smith",
"email": "jane@example.com",
"image": "https://cdn.example.com/clients/jane.jpg"
}
],
"plan": {
"_id": "67f1234567890abcdef1234",
"name": "Intermediate General Fitness Plan",
"description": "3-day split",
"thumbnail": "https://cdn.example.com/plan.jpg",
"images": [
{
"url": "https://cdn.example.com/workouts/plan-cover.jpg",
"width": 1280,
"height": 720
}
],
"videos": [
[
{
"url": "https://cdn.example.com/workouts/demo.mp4",
"platform": "s3",
"videoId": "",
"thumbnail": "https://cdn.example.com/workouts/demo-thumb.jpg",
"duration": 84,
"width": 1920,
"height": 1080
}
]
],
"difficulty": "Advanced",
"intensity": "Medium",
"category": "Agility & Speed",
"goal": "General Fitness",
"periodizationType": "Linear",
"duration": {
"startDate": "2026-04-22T00:00:00.000Z",
"endDate": "2026-04-29T00:00:00.000Z",
"hasEndDate": true
},
"schedule": {
"mode": "multi_week",
"releasePolicy": "weekly_from_start",
"startDate": "2026-09-08",
"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"
}
]
}
]
}
]
},
"templateType": "Template",
"status": "Active",
"visibility": "Everyone",
"defaultExerciseValues": {
"sets": 3,
"reps": "10-12",
"rest": 90,
"weight": 0,
"repTempo": "3010",
"duration": 0
},
"createdAt": "2026-04-12T10:00:00.000Z",
"updatedAt": "2026-04-12T10:00:00.000Z"
},
"planOverview": {
"totalDays": 3,
"totalWeeks": 4,
"totalExercises": 43,
"totalSets": 23,
"estimatedDurationMinutes": 42,
"avgRPE": 6.5,
"avgIntensityLabel": "RP 6 - 7"
},
"weeks": [
{
"weekNumber": 1,
"dayOrders": [
1,
2,
3,
4
],
"summary": {
"exerciseCount": 5,
"totalSets": 18,
"estimatedTimeMinutes": 45,
"avgRPE": 7,
"muscles": [
"Chest",
"Triceps",
"Back"
]
},
"muscleActivation": {
"total": {
"raw": {},
"normalized": {},
"maxValue": 24,
"topMuscles": [
{
"muscle": "chest",
"value": 24
}
]
}
},
"muscleBalance": [
{
"muscle": "Chest",
"value": 24,
"normalized": 1
}
],
"volumeBalance": {
"push": 12,
"pull": 8,
"legs": 4,
"core": 0
}
}
],
"days": [
{
"planMomentId": "67f1234567890abcdef1234",
"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
}
},
"isCompleted": true,
"isEditable": true,
"name": "Day 1 - Upper Body Push & Pull",
"description": "",
"dayOrder": 1,
"weekNumber": 1,
"sessionOrder": 1,
"summary": {
"exerciseCount": 5,
"totalSets": 18,
"estimatedTimeMinutes": 45,
"avgRPE": 7,
"muscles": [
"Chest",
"Triceps",
"Back"
]
},
"muscleActivation": {
"total": {
"raw": {},
"normalized": {},
"maxValue": 24,
"topMuscles": [
{
"muscle": "chest",
"value": 24
}
]
}
},
"muscleBalance": [
{
"muscle": "Chest",
"value": 24,
"normalized": 1
}
],
"volumeBalance": {
"push": 12,
"pull": 8,
"legs": 4,
"core": 0
},
"exercises": [
{
"planExerciseId": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Incline Dumbbell Press",
"description": "Flat horizontal press.",
"thumbnail": "https://cdn.example.com/ex.jpg",
"primaryMuscle": "Chest",
"secondaryMuscles": [
"Shoulders",
"Triceps"
],
"equipment": [
"Dumbbell",
"Bench"
],
"category": "Strength",
"type": "reps",
"sets": 4,
"repsDisplay": "8–12",
"minReps": 8,
"maxReps": 12,
"metric": "kg",
"rest": 90,
"rpe": 8,
"rmPercentage": 75,
"tempo": "3010",
"intensity": "High",
"difficulty": "Intermediate",
"groupId": "",
"perSetTrackingEnabled": false,
"setsData": [
{
"setNumber": 1,
"setType": "N",
"metric": "12",
"repetition": "8-12",
"weight": 60,
"rest": 90,
"rpe": 7.5,
"duration": 45,
"distance": 250
}
],
"setupFields": [
{
"key": "seat",
"label": "Seat",
"type": "text",
"unit": "",
"options": [
"1",
"2",
"3",
"4"
],
"order": 1,
"required": false,
"enabled": true,
"defaultValue": 3
}
],
"notes": "",
"order": 0
}
]
}
]
},
"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": 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
}
}
}Full template editor detail (all days in one call)
Completion is progress information: completed days and exercises remain editable, including tracking type, set counts, targets, duplication and removal. Recorded sessions retain their own execution data. Returns the complete workout template editor view: plan metadata, a compact overview, the clients this template is assigned to, a plan-wide planOverview (totals + average intensity label), weeks[] muscle-focus aggregates, and a days[] array. Each day carries its own summary, the ‘Muscle Focus’ body diagram (muscleActivation), the ‘Muscle Balance’ radar, the volume-balance push/pull/legs/core distribution, and ONE ordered exercises[] array that merges standalone exercises and superset blocks (each entry is tagged type: "exercise" or type: "superset"). For calendar plans, legacy days remains workout-only while additive weeks includes all seven weekdays and mixed workout/activity items. Visibility is scoped the same way as plan detail.
Requires the workout_plans:read scope. This operation maps to /app/v1/workout/plans/template/:planId 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/plans/template/{planId}" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/plans/template/{planId}', 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/plans/template/{planId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"overview": {
"totalDay": 3,
"minutesPerSession": 42,
"totalExercise": 43
},
"clients": [
{
"_id": "67f1234567890abcdef1234",
"firstName": "Jane",
"lastName": "Smith",
"fullName": "Jane Smith",
"email": "jane@example.com",
"image": "https://cdn.example.com/clients/jane.jpg"
}
],
"plan": {
"_id": "67f1234567890abcdef1234",
"name": "Intermediate General Fitness Plan",
"description": "3-day split",
"thumbnail": "https://cdn.example.com/plan.jpg",
"images": [
{
"url": "https://cdn.example.com/workouts/plan-cover.jpg",
"width": 1280,
"height": 720
}
],
"videos": [
[
{
"url": "https://cdn.example.com/workouts/demo.mp4",
"platform": "s3",
"videoId": "",
"thumbnail": "https://cdn.example.com/workouts/demo-thumb.jpg",
"duration": 84,
"width": 1920,
"height": 1080
}
]
],
"difficulty": "Advanced",
"intensity": "Medium",
"category": "Agility & Speed",
"goal": "General Fitness",
"periodizationType": "Linear",
"duration": {
"startDate": "2026-04-22T00:00:00.000Z",
"endDate": "2026-04-29T00:00:00.000Z",
"hasEndDate": true
},
"schedule": {
"mode": "multi_week",
"releasePolicy": "weekly_from_start",
"startDate": "2026-09-08",
"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"
}
]
}
]
}
]
},
"templateType": "Template",
"status": "Active",
"visibility": "Everyone",
"defaultExerciseValues": {
"sets": 3,
"reps": "10-12",
"rest": 90,
"weight": 0,
"repTempo": "3010",
"duration": 0
},
"createdAt": "2026-04-12T10:00:00.000Z",
"updatedAt": "2026-04-12T10:00:00.000Z"
},
"planOverview": {
"totalDays": 3,
"totalWeeks": 4,
"totalExercises": 43,
"totalSets": 23,
"estimatedDurationMinutes": 42,
"avgRPE": 6.5,
"avgIntensityLabel": "RP 6 - 7"
},
"weeks": [
{
"weekNumber": 1,
"dayOrders": [
1,
2,
3,
4
],
"summary": {
"exerciseCount": 5,
"totalSets": 18,
"estimatedTimeMinutes": 45,
"avgRPE": 7,
"muscles": [
"Chest",
"Triceps",
"Back"
]
},
"muscleActivation": {
"total": {
"raw": {},
"normalized": {},
"maxValue": 24,
"topMuscles": [
{
"muscle": "chest",
"value": 24
}
]
}
},
"muscleBalance": [
{
"muscle": "Chest",
"value": 24,
"normalized": 1
}
],
"volumeBalance": {
"push": 12,
"pull": 8,
"legs": 4,
"core": 0
}
}
],
"days": [
{
"planMomentId": "67f1234567890abcdef1234",
"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
}
},
"isCompleted": true,
"isEditable": true,
"name": "Day 1 - Upper Body Push & Pull",
"description": "",
"dayOrder": 1,
"weekNumber": 1,
"sessionOrder": 1,
"summary": {
"exerciseCount": 5,
"totalSets": 18,
"estimatedTimeMinutes": 45,
"avgRPE": 7,
"muscles": [
"Chest",
"Triceps",
"Back"
]
},
"muscleActivation": {
"total": {
"raw": {},
"normalized": {},
"maxValue": 24,
"topMuscles": [
{
"muscle": "chest",
"value": 24
}
]
}
},
"muscleBalance": [
{
"muscle": "Chest",
"value": 24,
"normalized": 1
}
],
"volumeBalance": {
"push": 12,
"pull": 8,
"legs": 4,
"core": 0
},
"exercises": [
{
"planExerciseId": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Incline Dumbbell Press",
"description": "Flat horizontal press.",
"thumbnail": "https://cdn.example.com/ex.jpg",
"primaryMuscle": "Chest",
"secondaryMuscles": [
"Shoulders",
"Triceps"
],
"equipment": [
"Dumbbell",
"Bench"
],
"category": "Strength",
"type": "reps",
"sets": 4,
"repsDisplay": "8–12",
"minReps": 8,
"maxReps": 12,
"metric": "kg",
"rest": 90,
"rpe": 8,
"rmPercentage": 75,
"tempo": "3010",
"intensity": "High",
"difficulty": "Intermediate",
"groupId": "",
"perSetTrackingEnabled": false,
"setsData": [
{
"setNumber": 1,
"setType": "N",
"metric": "12",
"repetition": "8-12",
"weight": 60,
"rest": 90,
"rpe": 7.5,
"duration": 45,
"distance": 250
}
],
"setupFields": [
{
"key": "seat",
"label": "Seat",
"type": "text",
"unit": "",
"options": [
"1",
"2",
"3",
"4"
],
"order": 1,
"required": false,
"enabled": true,
"defaultValue": 3
}
],
"notes": "",
"order": 0
}
]
}
]
},
"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": 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
Workout plan id.
"67f1234567890abcdef1234"
Query Parameters
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"