curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/plans/assigned/{templateId}/session-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}/session-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}/session-detail"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"client": {
"_id": "67f1234567890abcdef1234",
"firstName": "Joseph",
"lastName": "Quin",
"fullName": "Joseph Quin",
"email": "joseph@example.com",
"image": "https://cdn.example.com/clients/joseph.jpg"
},
"membership": {
"name": "Premium Monthly",
"status": "Active",
"startDate": "2026-04-12T10:00:00.000Z",
"expiresAt": "2026-04-12T10:00:00.000Z"
},
"creditBalance": 23,
"nextTrainingAt": "2026-04-12T10:00:00.000Z",
"medicalData": {
"injuries": "Knee replacement L (2023)",
"medication": "Metformin 500mg",
"allergies": "None",
"heartProblem": true,
"bloodPressureIssue": true,
"doctorApproved": true,
"additionalNotes": ""
},
"coachNotes": [
{
"_id": "67f1234567890abcdef1234",
"title": "Injury / pain",
"notes": "Mild knee discomfort after leg press.",
"tags": [
"string"
],
"pinned": false,
"date": "2026-04-12T10:00:00.000Z",
"editedAt": "2026-04-12T10:00:00.000Z",
"author": {
"coachId": "67f1234567890abcdef1234",
"firstName": "Matthijs",
"lastName": "Wessels",
"fullName": "Matthijs Wessels",
"image": ""
}
}
],
"plan": {
"_id": "67f1234567890abcdef1234",
"name": "Weekly Strength Program",
"description": "Progressive overload.",
"thumbnail": "https://cdn.example.com/workouts/cover.jpg",
"difficulty": "Intermediate",
"intensity": "High",
"category": "Strength",
"goal": "Strength",
"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"
}
]
}
]
}
]
}
},
"progress": {
"total": 6,
"completed": 2,
"progressPercentage": 33,
"isCompleted": false
},
"totalDays": 4,
"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"
}
]
}
]
}
]
},
"weeks": [
{
"weekNumber": 2,
"availableFrom": "2026-09-08",
"isAvailable": false,
"progressPercentage": 50,
"isCompleted": false
}
],
"days": [
{
"planMomentId": "67f1234567890abcdef1234",
"name": "Day 1 – Upper Body Push & Pull",
"description": "",
"dayOrder": 1,
"order": 0,
"weekNumber": 1,
"sessionOrder": 1,
"progress": {
"total": 6,
"completed": 2,
"progressPercentage": 33,
"isCompleted": false
},
"stats": {
"durationMinutes": 0,
"exerciseCount": 0,
"expectedDurationMinutes": 110,
"totalVolume": 312,
"totalReps": 104
},
"session": {
"id": "67f1234567890abcdef1234",
"status": "in_progress",
"startedAt": "2026-04-12T10:00:00.000Z",
"programmeScheduleItemId": "67f1234567890abcdef1234",
"plannedDate": "2026-09-08"
},
"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"
}
]
}
]
}
]
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}Get the assigned-plan session detail (available days)
Returns an assigned plan, its available days, client and membership context, creditBalance, nextTrainingAt, medicalData, and visible coachNotes. progress counts completed active moments. Recurring sequence days use active attempts and become ready after completion; completion remains recorded for multi-week/calendar programmes. Partial progress comes from one active attempt. Archived and deleted moments are excluded. weeks includes unavailable future weeks with isAvailable: false; days includes only available days. Exercises are grouped as standalone exercise entries or supersets with members in data. Each includes targets, previous values, saved or prescribed sets, clientNotes, clientRestSeconds, targetSnapshot, nextSessionTarget, and history. Per-set hints use repsPlaceholderCoach, weightPlaceholderCoach, timeSecondsPlaceholderCoach, distanceMetersPlaceholderCoach, rpePlaceholderCoach, and restSecondsPlaceholderCoach, plus the corresponding fields without the Coach suffix. Coach prescriptions take precedence; client hints are used only when no coach value exists. Untracked metrics, extra sets, and missing prescriptions return null for the coach hint. Weight hints and targetWeight use targetSnapshot.todayTarget unless a newer prescription applies. Hints never count toward totals, volume, personal records, or completion. To record a hint, submit its numeric value with completed: true; a rep range must be replaced with a numeric value because completed ranges are interpreted as their minimum. An uncompleted set uses null metrics and completed: false.
Requires the workout_client_plans:read scope and the corresponding Workout features and permissions.
The clientId path parameter identifies a client in the company bound to the Public API token.
curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/plans/assigned/{templateId}/session-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}/session-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}/session-detail"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"client": {
"_id": "67f1234567890abcdef1234",
"firstName": "Joseph",
"lastName": "Quin",
"fullName": "Joseph Quin",
"email": "joseph@example.com",
"image": "https://cdn.example.com/clients/joseph.jpg"
},
"membership": {
"name": "Premium Monthly",
"status": "Active",
"startDate": "2026-04-12T10:00:00.000Z",
"expiresAt": "2026-04-12T10:00:00.000Z"
},
"creditBalance": 23,
"nextTrainingAt": "2026-04-12T10:00:00.000Z",
"medicalData": {
"injuries": "Knee replacement L (2023)",
"medication": "Metformin 500mg",
"allergies": "None",
"heartProblem": true,
"bloodPressureIssue": true,
"doctorApproved": true,
"additionalNotes": ""
},
"coachNotes": [
{
"_id": "67f1234567890abcdef1234",
"title": "Injury / pain",
"notes": "Mild knee discomfort after leg press.",
"tags": [
"string"
],
"pinned": false,
"date": "2026-04-12T10:00:00.000Z",
"editedAt": "2026-04-12T10:00:00.000Z",
"author": {
"coachId": "67f1234567890abcdef1234",
"firstName": "Matthijs",
"lastName": "Wessels",
"fullName": "Matthijs Wessels",
"image": ""
}
}
],
"plan": {
"_id": "67f1234567890abcdef1234",
"name": "Weekly Strength Program",
"description": "Progressive overload.",
"thumbnail": "https://cdn.example.com/workouts/cover.jpg",
"difficulty": "Intermediate",
"intensity": "High",
"category": "Strength",
"goal": "Strength",
"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"
}
]
}
]
}
]
}
},
"progress": {
"total": 6,
"completed": 2,
"progressPercentage": 33,
"isCompleted": false
},
"totalDays": 4,
"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"
}
]
}
]
}
]
},
"weeks": [
{
"weekNumber": 2,
"availableFrom": "2026-09-08",
"isAvailable": false,
"progressPercentage": 50,
"isCompleted": false
}
],
"days": [
{
"planMomentId": "67f1234567890abcdef1234",
"name": "Day 1 – Upper Body Push & Pull",
"description": "",
"dayOrder": 1,
"order": 0,
"weekNumber": 1,
"sessionOrder": 1,
"progress": {
"total": 6,
"completed": 2,
"progressPercentage": 33,
"isCompleted": false
},
"stats": {
"durationMinutes": 0,
"exerciseCount": 0,
"expectedDurationMinutes": 110,
"totalVolume": 312,
"totalReps": 104
},
"session": {
"id": "67f1234567890abcdef1234",
"status": "in_progress",
"startedAt": "2026-04-12T10:00:00.000Z",
"programmeScheduleItemId": "67f1234567890abcdef1234",
"plannedDate": "2026-09-08"
},
"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"
}
]
}
]
}
]
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}