curl -X POST "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/plans/merged/history" \
-H "Authorization: Bearer <access_token>" \
-H "Idempotency-Key: <stable_request_key>" \
-H "Content-Type: application/json" \
-d '{}'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({tab: 'feed', clientId: '67f1234567890abcdef9999', page: 1, limit: 10})
};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/plans/merged/history', 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/merged/history"
payload = {
"tab": "feed",
"clientId": "67f1234567890abcdef9999",
"page": 1,
"limit": 10
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"tab": "feed",
"feed": [
{
"type": "plan",
"_id": "67f1234567890abcdef1234",
"sessionId": "67f1234567890abcdef1234",
"name": "Weekly Strength Program",
"description": "Example description",
"thumbnail": "",
"rating": 4,
"isFreestyle": false,
"scheduleMode": "recurring",
"tagLabel": "4 days workout",
"totalDays": 4,
"totalWeeks": null,
"averageRating": 3.2,
"durationMinutes": 1,
"totalVolume": 1,
"totalReps": 1,
"totalTimeSeconds": 1,
"totalDistanceMeters": 1,
"emojiRating": 4,
"emoji": "💪",
"exerciseCount": 1,
"completedAt": "2026-04-12T10:00:00.000Z",
"days": [
{
"planMomentId": "67f1234567890abcdef1234",
"sessionId": "67f1234567890abcdef1234",
"name": "Day 1: Dumbbell Bench Press",
"description": "",
"date": "2026-04-12T10:00:00.000Z",
"durationMinutes": 50,
"totalVolume": 207,
"totalReps": 60,
"totalTimeSeconds": 0,
"totalDistanceMeters": 0,
"rating": 4,
"emojiRating": 4,
"emoji": "💪",
"exerciseCount": 6,
"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
}
},
"exercises": [
{
"type": "exercise",
"planExerciseId": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Dumbbell Bench Press",
"description": "Example description",
"thumbnail": "https://cdn.example.com/exercises/bench.jpg",
"primaryMuscle": "chest",
"secondaryMuscles": [
"string"
],
"equipment": [
"string"
],
"groupId": "",
"order": 0,
"isFavourite": false,
"isPersonalRecord": true,
"prVerified": true,
"prRank": 1,
"targets": {
"type": "string",
"sets": 1,
"reps": "string",
"rest": 1,
"rpe": 1,
"rmPercentage": 1,
"tempo": "string",
"notes": "string"
},
"previousBestSet": {
"reps": 1,
"weight": 1,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1,
"setNumber": 1
},
"performanceId": "67f1234567890abcdef1234",
"isCompleted": true,
"notes": "",
"clientNotes": "Felt strong today.",
"clientRestSeconds": 90,
"sets": [
{
"setNumber": 1,
"setType": "N",
"previous": {
"reps": 1,
"weight": 1,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1
},
"reps": 15,
"weight": 20,
"timeSeconds": 1,
"distanceMeters": 1,
"restSeconds": 60,
"rpe": 1,
"completed": true,
"isPersonalRecord": false,
"prVerified": false,
"prRank": 1,
"repsPlaceholderCoach": 10,
"weightPlaceholderCoach": 40,
"timeSecondsPlaceholderCoach": null,
"distanceMetersPlaceholderCoach": null,
"rpePlaceholderCoach": 7,
"restSecondsPlaceholderCoach": 90,
"repsPlaceholder": 10,
"weightPlaceholder": 40,
"timeSecondsPlaceholder": null,
"distanceMetersPlaceholder": null,
"rpePlaceholder": 7,
"restSecondsPlaceholder": 90,
"repsActual": 30,
"weightActual": 42,
"timeSecondsActual": null,
"distanceMetersActual": null,
"rpeActual": 8,
"restSecondsActual": 90
}
],
"exerciseCount": 2,
"rounds": 3,
"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"
}
]
}
]
}
],
"exercises": [
{
"type": "exercise",
"planExerciseId": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Dumbbell Bench Press",
"description": "Example description",
"thumbnail": "https://cdn.example.com/exercises/bench.jpg",
"primaryMuscle": "chest",
"secondaryMuscles": [
"string"
],
"equipment": [
"string"
],
"groupId": "",
"order": 0,
"isFavourite": false,
"isPersonalRecord": true,
"prVerified": true,
"prRank": 1,
"targets": {
"type": "string",
"sets": 1,
"reps": "string",
"rest": 1,
"rpe": 1,
"rmPercentage": 1,
"tempo": "string",
"notes": "string"
},
"previousBestSet": {
"reps": 1,
"weight": 1,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1,
"setNumber": 1
},
"performanceId": "67f1234567890abcdef1234",
"isCompleted": true,
"notes": "",
"clientNotes": "Felt strong today.",
"clientRestSeconds": 90,
"sets": [
{
"setNumber": 1,
"setType": "N",
"previous": {
"reps": 1,
"weight": 1,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1
},
"reps": 15,
"weight": 20,
"timeSeconds": 1,
"distanceMeters": 1,
"restSeconds": 60,
"rpe": 1,
"completed": true,
"isPersonalRecord": false,
"prVerified": false,
"prRank": 1,
"repsPlaceholderCoach": 10,
"weightPlaceholderCoach": 40,
"timeSecondsPlaceholderCoach": null,
"distanceMetersPlaceholderCoach": null,
"rpePlaceholderCoach": 7,
"restSecondsPlaceholderCoach": 90,
"repsPlaceholder": 10,
"weightPlaceholder": 40,
"timeSecondsPlaceholder": null,
"distanceMetersPlaceholder": null,
"rpePlaceholder": 7,
"restSecondsPlaceholder": 90,
"repsActual": 30,
"weightActual": 42,
"timeSecondsActual": null,
"distanceMetersActual": null,
"rpeActual": 8,
"restSecondsActual": 90
}
],
"exerciseCount": 2,
"rounds": 3,
"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"
}
]
}
]
}
],
"pagination": {
"page": 1,
"limit": 25,
"totalPages": 5,
"totalItems": 100,
"hasNextPage": true,
"hasPreviousPage": false,
"nextPage": 2,
"previousPage": null
},
"cards": {
"totalWorkouts": 1,
"totalSets": 1,
"totalReps": 1,
"totalTimeSeconds": 1,
"totalDistanceMeters": 1,
"averageDurationMinutes": 1
},
"chart": {
"granularity": "day",
"range": {
"startDate": "2026-04-12T10:00:00.000Z",
"endDate": "2026-04-12T10:00:00.000Z"
},
"points": [
{
"label": "2026-05-24",
"volume": 1820,
"reps": 240,
"durationMinutes": 95,
"volumePer": 100,
"repsPer": 87.5,
"durationMinutesPer": 62
}
]
},
"muscleActivation": {
"range": {
"startDate": "2026-07-14T10:00:00.000Z",
"endDate": "2026-07-14T10:00:00.000Z",
"days": 1
},
"total": {
"normalized": {},
"maxValue": 1,
"topMuscles": [
{
"muscle": "chest",
"value": 18
}
]
}
},
"muscleBalance": [
{
"muscle": "Chest",
"sets": 12,
"value": 12,
"normalized": 1,
"percentage": 18
}
],
"muscleBreakdown": [
{
"muscle": "Shoulders",
"sets": 12,
"value": 12,
"percentage": 18
}
],
"recentPRs": [
{
"exerciseId": "66f7b8b1e13c8d25f4d3d90a",
"name": "Example name",
"thumbnail": "string",
"hasHistory": true,
"value": 1,
"unit": "kg",
"type": "weight",
"achievedAt": "2026-07-14T10:00:00.000Z"
}
],
"topExercises": [
{
"exerciseId": "66f7b8b1e13c8d25f4d3d90a",
"name": "Example name",
"thumbnail": "string",
"hasHistory": true,
"timesPerformed": 1,
"totalReps": 1,
"totalVolume": 1,
"lastPerformedAt": "2026-07-14T10:00:00.000Z",
"muscle": "string",
"sets": 1,
"reps": 1,
"volume": 1,
"timeSeconds": 1,
"distanceMeters": 1
}
],
"filters": {
"availableFilters": {
"statsRange": [
{
"value": "last7days",
"label": "Last 7 Days"
}
],
"muscleBalanceRange": [
{
"value": "allTime",
"label": "All Time"
}
]
},
"selectedFilters": {
"statsRange": "last7days",
"muscleBalanceRange": "last7days"
}
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
},
"idempotency": {
"replayed": false
}
}
}MERGED client History page (Feed + Statistics, plan + freestyle)
Requires the workout_progress:read scope. This operation maps to /app/v1/workout/plans/client/merged/history and retains its Workout V2 permission, feature-flag, and resource-scope checks.
The clientId path parameter identifies the client represented by the request context.
curl -X POST "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/plans/merged/history" \
-H "Authorization: Bearer <access_token>" \
-H "Idempotency-Key: <stable_request_key>" \
-H "Content-Type: application/json" \
-d '{}'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({tab: 'feed', clientId: '67f1234567890abcdef9999', page: 1, limit: 10})
};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/plans/merged/history', 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/merged/history"
payload = {
"tab": "feed",
"clientId": "67f1234567890abcdef9999",
"page": 1,
"limit": 10
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"tab": "feed",
"feed": [
{
"type": "plan",
"_id": "67f1234567890abcdef1234",
"sessionId": "67f1234567890abcdef1234",
"name": "Weekly Strength Program",
"description": "Example description",
"thumbnail": "",
"rating": 4,
"isFreestyle": false,
"scheduleMode": "recurring",
"tagLabel": "4 days workout",
"totalDays": 4,
"totalWeeks": null,
"averageRating": 3.2,
"durationMinutes": 1,
"totalVolume": 1,
"totalReps": 1,
"totalTimeSeconds": 1,
"totalDistanceMeters": 1,
"emojiRating": 4,
"emoji": "💪",
"exerciseCount": 1,
"completedAt": "2026-04-12T10:00:00.000Z",
"days": [
{
"planMomentId": "67f1234567890abcdef1234",
"sessionId": "67f1234567890abcdef1234",
"name": "Day 1: Dumbbell Bench Press",
"description": "",
"date": "2026-04-12T10:00:00.000Z",
"durationMinutes": 50,
"totalVolume": 207,
"totalReps": 60,
"totalTimeSeconds": 0,
"totalDistanceMeters": 0,
"rating": 4,
"emojiRating": 4,
"emoji": "💪",
"exerciseCount": 6,
"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
}
},
"exercises": [
{
"type": "exercise",
"planExerciseId": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Dumbbell Bench Press",
"description": "Example description",
"thumbnail": "https://cdn.example.com/exercises/bench.jpg",
"primaryMuscle": "chest",
"secondaryMuscles": [
"string"
],
"equipment": [
"string"
],
"groupId": "",
"order": 0,
"isFavourite": false,
"isPersonalRecord": true,
"prVerified": true,
"prRank": 1,
"targets": {
"type": "string",
"sets": 1,
"reps": "string",
"rest": 1,
"rpe": 1,
"rmPercentage": 1,
"tempo": "string",
"notes": "string"
},
"previousBestSet": {
"reps": 1,
"weight": 1,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1,
"setNumber": 1
},
"performanceId": "67f1234567890abcdef1234",
"isCompleted": true,
"notes": "",
"clientNotes": "Felt strong today.",
"clientRestSeconds": 90,
"sets": [
{
"setNumber": 1,
"setType": "N",
"previous": {
"reps": 1,
"weight": 1,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1
},
"reps": 15,
"weight": 20,
"timeSeconds": 1,
"distanceMeters": 1,
"restSeconds": 60,
"rpe": 1,
"completed": true,
"isPersonalRecord": false,
"prVerified": false,
"prRank": 1,
"repsPlaceholderCoach": 10,
"weightPlaceholderCoach": 40,
"timeSecondsPlaceholderCoach": null,
"distanceMetersPlaceholderCoach": null,
"rpePlaceholderCoach": 7,
"restSecondsPlaceholderCoach": 90,
"repsPlaceholder": 10,
"weightPlaceholder": 40,
"timeSecondsPlaceholder": null,
"distanceMetersPlaceholder": null,
"rpePlaceholder": 7,
"restSecondsPlaceholder": 90,
"repsActual": 30,
"weightActual": 42,
"timeSecondsActual": null,
"distanceMetersActual": null,
"rpeActual": 8,
"restSecondsActual": 90
}
],
"exerciseCount": 2,
"rounds": 3,
"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"
}
]
}
]
}
],
"exercises": [
{
"type": "exercise",
"planExerciseId": "67f1234567890abcdef1234",
"exerciseId": "67f1234567890abcdef1234",
"name": "Dumbbell Bench Press",
"description": "Example description",
"thumbnail": "https://cdn.example.com/exercises/bench.jpg",
"primaryMuscle": "chest",
"secondaryMuscles": [
"string"
],
"equipment": [
"string"
],
"groupId": "",
"order": 0,
"isFavourite": false,
"isPersonalRecord": true,
"prVerified": true,
"prRank": 1,
"targets": {
"type": "string",
"sets": 1,
"reps": "string",
"rest": 1,
"rpe": 1,
"rmPercentage": 1,
"tempo": "string",
"notes": "string"
},
"previousBestSet": {
"reps": 1,
"weight": 1,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1,
"setNumber": 1
},
"performanceId": "67f1234567890abcdef1234",
"isCompleted": true,
"notes": "",
"clientNotes": "Felt strong today.",
"clientRestSeconds": 90,
"sets": [
{
"setNumber": 1,
"setType": "N",
"previous": {
"reps": 1,
"weight": 1,
"timeSeconds": 1,
"distanceMeters": 1,
"rpe": 1
},
"reps": 15,
"weight": 20,
"timeSeconds": 1,
"distanceMeters": 1,
"restSeconds": 60,
"rpe": 1,
"completed": true,
"isPersonalRecord": false,
"prVerified": false,
"prRank": 1,
"repsPlaceholderCoach": 10,
"weightPlaceholderCoach": 40,
"timeSecondsPlaceholderCoach": null,
"distanceMetersPlaceholderCoach": null,
"rpePlaceholderCoach": 7,
"restSecondsPlaceholderCoach": 90,
"repsPlaceholder": 10,
"weightPlaceholder": 40,
"timeSecondsPlaceholder": null,
"distanceMetersPlaceholder": null,
"rpePlaceholder": 7,
"restSecondsPlaceholder": 90,
"repsActual": 30,
"weightActual": 42,
"timeSecondsActual": null,
"distanceMetersActual": null,
"rpeActual": 8,
"restSecondsActual": 90
}
],
"exerciseCount": 2,
"rounds": 3,
"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"
}
]
}
]
}
],
"pagination": {
"page": 1,
"limit": 25,
"totalPages": 5,
"totalItems": 100,
"hasNextPage": true,
"hasPreviousPage": false,
"nextPage": 2,
"previousPage": null
},
"cards": {
"totalWorkouts": 1,
"totalSets": 1,
"totalReps": 1,
"totalTimeSeconds": 1,
"totalDistanceMeters": 1,
"averageDurationMinutes": 1
},
"chart": {
"granularity": "day",
"range": {
"startDate": "2026-04-12T10:00:00.000Z",
"endDate": "2026-04-12T10:00:00.000Z"
},
"points": [
{
"label": "2026-05-24",
"volume": 1820,
"reps": 240,
"durationMinutes": 95,
"volumePer": 100,
"repsPer": 87.5,
"durationMinutesPer": 62
}
]
},
"muscleActivation": {
"range": {
"startDate": "2026-07-14T10:00:00.000Z",
"endDate": "2026-07-14T10:00:00.000Z",
"days": 1
},
"total": {
"normalized": {},
"maxValue": 1,
"topMuscles": [
{
"muscle": "chest",
"value": 18
}
]
}
},
"muscleBalance": [
{
"muscle": "Chest",
"sets": 12,
"value": 12,
"normalized": 1,
"percentage": 18
}
],
"muscleBreakdown": [
{
"muscle": "Shoulders",
"sets": 12,
"value": 12,
"percentage": 18
}
],
"recentPRs": [
{
"exerciseId": "66f7b8b1e13c8d25f4d3d90a",
"name": "Example name",
"thumbnail": "string",
"hasHistory": true,
"value": 1,
"unit": "kg",
"type": "weight",
"achievedAt": "2026-07-14T10:00:00.000Z"
}
],
"topExercises": [
{
"exerciseId": "66f7b8b1e13c8d25f4d3d90a",
"name": "Example name",
"thumbnail": "string",
"hasHistory": true,
"timesPerformed": 1,
"totalReps": 1,
"totalVolume": 1,
"lastPerformedAt": "2026-07-14T10:00:00.000Z",
"muscle": "string",
"sets": 1,
"reps": 1,
"volume": 1,
"timeSeconds": 1,
"distanceMeters": 1
}
],
"filters": {
"availableFilters": {
"statsRange": [
{
"value": "last7days",
"label": "Last 7 Days"
}
],
"muscleBalanceRange": [
{
"value": "allTime",
"label": "All Time"
}
]
},
"selectedFilters": {
"statsRange": "last7days",
"muscleBalanceRange": "last7days"
}
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
},
"idempotency": {
"replayed": false
}
}
}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.
Headers
Required for Public API write requests. Reusing the same key with the same method, path, and body replays the stored successful response; reusing it with a different request returns 409 idempotency.conflict.
1 - 200"booking-create-20260714-001"
Path Parameters
Client in the company bound to the Public API token.
^[a-fA-F0-9]{24}$Body
feed, statistics Required when the caller is a coach.
"67f1234567890abcdef1234"
x >= 11
1 <= x <= 10010
Range for the CHART only — the stat cards are always all-time and ignore this. activity uses the last 7 days and returns chart points only for dates with completed training.
last7days, last1month, last6months, activity last7days, last30days, last90days, allTime Response
Merged History page data for the requested tab.