cURL
curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/template/{templateId}" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/template/{templateId}', 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}/library/template/{templateId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"_id": "67f1234567890abcdef1234",
"name": "4-Day Strength Block",
"description": "Progressive upper/lower split.",
"media": [
{
"type": "image",
"url": "https://cdn.example.com/exercises/bench-press.jpg",
"platform": null,
"videoId": null,
"thumbnail": null,
"duration": null,
"width": 1280,
"height": 720
}
],
"difficulty": "Intermediate",
"intensity": "High",
"category": "Strength",
"goal": "Strength",
"duration": {
"startDate": "2026-04-15",
"endDate": "2026-06-15",
"hasEndDate": true
},
"scheduleMode": "multi_week",
"days": [
{
"_id": "67f1234567890abcdef1234",
"name": "Day 1 – Lower Body",
"description": "",
"order": 0,
"exercises": [
{
"_id": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"exerciseName": "Barbell Squat",
"thumbnail": "https://cdn.example.com/exercises/barbell-squat.jpg",
"primaryMuscle": "Quadriceps",
"equipment": [
"Barbell",
"Rack"
],
"sets": 4,
"minReps": 6,
"maxReps": 10,
"rest": 90,
"intensity": "High",
"difficulty": "Intermediate",
"notes": "",
"isFavourite": false
}
],
"exerciseCount": 5
}
],
"weeks": [
{
"weekNumber": 1,
"dayCount": 4,
"workoutCount": 5,
"activityCount": 7,
"restDayCount": 2,
"totalTimeMinutes": 150,
"totalTimeSeconds": 9000
}
],
"totalDays": 4,
"totalExercises": 20,
"isTemplateFavourite": false
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}Library and favourites
Get workout template detail
Returns a workout template with its active days and exercises, including isFavourite for the target client. Days follow their order field. weeks contains summary cards only for scheduleMode: multi_week; recurring plans return weeks: [] and use days.
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.
GET
/
public
/
v1
/
workout
/
clients
/
{clientId}
/
library
/
template
/
{templateId}
cURL
curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/template/{templateId}" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/template/{templateId}', 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}/library/template/{templateId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"_id": "67f1234567890abcdef1234",
"name": "4-Day Strength Block",
"description": "Progressive upper/lower split.",
"media": [
{
"type": "image",
"url": "https://cdn.example.com/exercises/bench-press.jpg",
"platform": null,
"videoId": null,
"thumbnail": null,
"duration": null,
"width": 1280,
"height": 720
}
],
"difficulty": "Intermediate",
"intensity": "High",
"category": "Strength",
"goal": "Strength",
"duration": {
"startDate": "2026-04-15",
"endDate": "2026-06-15",
"hasEndDate": true
},
"scheduleMode": "multi_week",
"days": [
{
"_id": "67f1234567890abcdef1234",
"name": "Day 1 – Lower Body",
"description": "",
"order": 0,
"exercises": [
{
"_id": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"exerciseName": "Barbell Squat",
"thumbnail": "https://cdn.example.com/exercises/barbell-squat.jpg",
"primaryMuscle": "Quadriceps",
"equipment": [
"Barbell",
"Rack"
],
"sets": 4,
"minReps": 6,
"maxReps": 10,
"rest": 90,
"intensity": "High",
"difficulty": "Intermediate",
"notes": "",
"isFavourite": false
}
],
"exerciseCount": 5
}
],
"weeks": [
{
"weekNumber": 1,
"dayCount": 4,
"workoutCount": 5,
"activityCount": 7,
"restDayCount": 2,
"totalTimeMinutes": 150,
"totalTimeSeconds": 9000
}
],
"totalDays": 4,
"totalExercises": 20,
"isTemplateFavourite": false
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}