cURL
curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/template/{templateId}/week/{weekNumber}" \
-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}/week/{weekNumber}', 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}/week/{weekNumber}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"templateId": "67f1234567890abcdef1234",
"templateName": "4-Day Strength Block",
"templateDescription": "Progressive upper/lower split.",
"isTemplateFavourite": false,
"weekNumber": 1,
"isSkipWeek": false,
"totalWeeks": 6,
"summary": {
"weekNumber": 1,
"dayCount": 4,
"workoutCount": 5,
"activityCount": 7,
"restDayCount": 2,
"totalTimeMinutes": 150,
"totalTimeSeconds": 9000
},
"days": [
{
"weekday": 4,
"isRestDay": false,
"isSkipDay": false,
"itemCount": 2,
"items": [
{
"_id": "67f1234567890abcdef1234",
"type": "workout",
"order": 1,
"startTime": "",
"plannedDurationMinutes": null,
"estimatedDurationMinutes": 42,
"name": "Dumbell Bench Press",
"description": "A classic compound movement.",
"planMomentId": "67f1234567890abcdef1234",
"exerciseCount": 5,
"totalSets": 20,
"exercises": [
{
"_id": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Barbell Squat",
"description": "A compound lower-body movement.",
"thumbnail": "https://cdn.example.com/exercises/barbell-squat.jpg",
"primaryMuscle": "Quadriceps",
"secondaryMuscles": [
"Glutes",
"Hamstrings"
],
"equipment": [
"Barbell",
"Rack"
],
"category": "Strength",
"primaryCategory": "Strength",
"secondaryCategories": [
"Push"
],
"type": "reps",
"sets": 4,
"minReps": 6,
"maxReps": 10,
"metric": "",
"rest": 90,
"intensity": "Medium",
"difficulty": "Intermediate",
"notes": "",
"groupId": "",
"rpe": 0,
"rpeEnabled": true,
"rmPercentage": 0,
"tempo": "3010",
"order": 0,
"isFavourite": false
}
],
"activityType": null,
"targetDistanceMeters": null
}
]
}
]
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}Library and favourites
Get one week of a multi-week plan
Returns the authored days of one multi-week template in weekday order. Each day contains its scheduled items; workout items include the full exercises array. Rest days are included with isRestDay: true and no items. Recurring plans return WORKOUTPLAN_SCHEDULE_NOT_MULTI_WEEK; use the template detail’s days for those plans.
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}
/
week
/
{weekNumber}
cURL
curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/template/{templateId}/week/{weekNumber}" \
-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}/week/{weekNumber}', 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}/week/{weekNumber}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"templateId": "67f1234567890abcdef1234",
"templateName": "4-Day Strength Block",
"templateDescription": "Progressive upper/lower split.",
"isTemplateFavourite": false,
"weekNumber": 1,
"isSkipWeek": false,
"totalWeeks": 6,
"summary": {
"weekNumber": 1,
"dayCount": 4,
"workoutCount": 5,
"activityCount": 7,
"restDayCount": 2,
"totalTimeMinutes": 150,
"totalTimeSeconds": 9000
},
"days": [
{
"weekday": 4,
"isRestDay": false,
"isSkipDay": false,
"itemCount": 2,
"items": [
{
"_id": "67f1234567890abcdef1234",
"type": "workout",
"order": 1,
"startTime": "",
"plannedDurationMinutes": null,
"estimatedDurationMinutes": 42,
"name": "Dumbell Bench Press",
"description": "A classic compound movement.",
"planMomentId": "67f1234567890abcdef1234",
"exerciseCount": 5,
"totalSets": 20,
"exercises": [
{
"_id": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Barbell Squat",
"description": "A compound lower-body movement.",
"thumbnail": "https://cdn.example.com/exercises/barbell-squat.jpg",
"primaryMuscle": "Quadriceps",
"secondaryMuscles": [
"Glutes",
"Hamstrings"
],
"equipment": [
"Barbell",
"Rack"
],
"category": "Strength",
"primaryCategory": "Strength",
"secondaryCategories": [
"Push"
],
"type": "reps",
"sets": 4,
"minReps": 6,
"maxReps": 10,
"metric": "",
"rest": 90,
"intensity": "Medium",
"difficulty": "Intermediate",
"notes": "",
"groupId": "",
"rpe": 0,
"rpeEnabled": true,
"rmPercentage": 0,
"tempo": "3010",
"order": 0,
"isFavourite": false
}
],
"activityType": null,
"targetDistanceMeters": null
}
]
}
]
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}