curl -X GET "https://api.fitsociety.io/public/v1/workout/sessions" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/sessions', 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/sessions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"items": [
{
"id": "67f1234567890abcdef1234",
"kind": "client_session",
"origin": "client",
"openMode": "readonly",
"runId": null,
"sessionId": null,
"title": "Upper Body - Day 2",
"source": "auto_assigned_plan",
"status": "in_progress",
"calendarEventId": null,
"manualSessionKey": "",
"startedAt": null,
"endedAt": null,
"updatedAt": null,
"provenance": {
"origin": "coach",
"startedByActorType": "coach",
"startedByClientId": null,
"startedByCoachId": null,
"executedByCoachId": null,
"completedByActorType": "",
"completedByClientId": null,
"completedByCoachId": null,
"endedByActorType": "",
"endedByClientId": null,
"endedByCoachId": null,
"lastUpdatedByActorType": "coach",
"lastUpdatedByClientId": null,
"lastUpdatedByCoachId": null
},
"participantCount": 1,
"statusCounts": {
"in_progress": 1
},
"participants": [
{
"clientId": "67f1234567890abcdef1234",
"sessionId": null,
"sessionStatus": "planned",
"workoutSource": "auto_assigned_plan",
"sourceLabel": "Upper Body - Day 2",
"templateId": null,
"startedAt": null,
"endedAt": null,
"member": {
"clientId": "67f1234567890abcdef1234",
"firstName": "Joseph",
"lastName": "Quin",
"fullName": "Joseph Quin",
"email": "joseph@example.com",
"image": "https://cdn.example.com/avatar.jpg",
"isActive": true,
"tags": [
{
"_id": "67f1234567890abcdef1234",
"id": "67f1234567890abcdef1234",
"name": "VIP",
"label": "VIP",
"color": "#105DFB"
}
],
"memberships": [
{
"_id": "67f1234567890abcdef1234",
"id": "67f1234567890abcdef1234",
"membershipId": null,
"storeModuleMembershipId": null,
"productName": "Premium Monthly",
"name": "Premium Monthly",
"status": "Active",
"startDate": null,
"endDate": null,
"expiresAt": null,
"nextBillingDate": null,
"autoRenewCheck": false
}
],
"activeMembership": {
"_id": "67f1234567890abcdef1234",
"id": "67f1234567890abcdef1234",
"membershipId": null,
"storeModuleMembershipId": null,
"productName": "Premium Monthly",
"name": "Premium Monthly",
"status": "Active",
"startDate": null,
"endDate": null,
"expiresAt": null,
"nextBillingDate": null,
"autoRenewCheck": false
},
"membershipExpiresAt": null,
"remainingCredits": 23,
"creditBalance": 23,
"nextTrainingAt": null,
"nextTrainingBookingId": null,
"groupWorkoutSession": {
"sessionId": null,
"sessionStatus": "paused",
"workoutSource": "auto_assigned_plan",
"sourceLabel": "Assigned plan",
"startedAt": null,
"endedAt": null
}
}
}
]
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 42,
"totalPages": 3,
"hasNextPage": true
},
"filters": {
"completedSince": null
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 403,
"key": "scopes.insufficient",
"message": "The access token does not include the required scope.",
"details": {
"requiredScopes": [
"required:scope"
]
}
},
"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
}
}
}List unified coach and client workout sessions
Requires the workout_sessions:read scope. This operation maps to /app/v1/coach/workout/sessions 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/sessions" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/sessions', 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/sessions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"items": [
{
"id": "67f1234567890abcdef1234",
"kind": "client_session",
"origin": "client",
"openMode": "readonly",
"runId": null,
"sessionId": null,
"title": "Upper Body - Day 2",
"source": "auto_assigned_plan",
"status": "in_progress",
"calendarEventId": null,
"manualSessionKey": "",
"startedAt": null,
"endedAt": null,
"updatedAt": null,
"provenance": {
"origin": "coach",
"startedByActorType": "coach",
"startedByClientId": null,
"startedByCoachId": null,
"executedByCoachId": null,
"completedByActorType": "",
"completedByClientId": null,
"completedByCoachId": null,
"endedByActorType": "",
"endedByClientId": null,
"endedByCoachId": null,
"lastUpdatedByActorType": "coach",
"lastUpdatedByClientId": null,
"lastUpdatedByCoachId": null
},
"participantCount": 1,
"statusCounts": {
"in_progress": 1
},
"participants": [
{
"clientId": "67f1234567890abcdef1234",
"sessionId": null,
"sessionStatus": "planned",
"workoutSource": "auto_assigned_plan",
"sourceLabel": "Upper Body - Day 2",
"templateId": null,
"startedAt": null,
"endedAt": null,
"member": {
"clientId": "67f1234567890abcdef1234",
"firstName": "Joseph",
"lastName": "Quin",
"fullName": "Joseph Quin",
"email": "joseph@example.com",
"image": "https://cdn.example.com/avatar.jpg",
"isActive": true,
"tags": [
{
"_id": "67f1234567890abcdef1234",
"id": "67f1234567890abcdef1234",
"name": "VIP",
"label": "VIP",
"color": "#105DFB"
}
],
"memberships": [
{
"_id": "67f1234567890abcdef1234",
"id": "67f1234567890abcdef1234",
"membershipId": null,
"storeModuleMembershipId": null,
"productName": "Premium Monthly",
"name": "Premium Monthly",
"status": "Active",
"startDate": null,
"endDate": null,
"expiresAt": null,
"nextBillingDate": null,
"autoRenewCheck": false
}
],
"activeMembership": {
"_id": "67f1234567890abcdef1234",
"id": "67f1234567890abcdef1234",
"membershipId": null,
"storeModuleMembershipId": null,
"productName": "Premium Monthly",
"name": "Premium Monthly",
"status": "Active",
"startDate": null,
"endDate": null,
"expiresAt": null,
"nextBillingDate": null,
"autoRenewCheck": false
},
"membershipExpiresAt": null,
"remainingCredits": 23,
"creditBalance": 23,
"nextTrainingAt": null,
"nextTrainingBookingId": null,
"groupWorkoutSession": {
"sessionId": null,
"sessionStatus": "paused",
"workoutSource": "auto_assigned_plan",
"sourceLabel": "Assigned plan",
"startedAt": null,
"endedAt": null
}
}
}
]
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 42,
"totalPages": 3,
"hasNextPage": true
},
"filters": {
"completedSince": null
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}{
"error": {
"code": 403,
"key": "scopes.insufficient",
"message": "The access token does not include the required scope.",
"details": {
"requiredScopes": [
"required:scope"
]
}
},
"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.
Query Parameters
One-based result page.
x >= 1Maximum sessions per page.
1 <= x <= 50Unified status filter. Live includes active coach runs and in-progress or paused client sessions.
all, live, completed, stopped Filter by who started the workout session.
all, coach, client Optional workout source filter.
calendar_event, manual, auto_assigned_plan, manual_assigned_plan, template, group_workout_template, freestyle, wod Lower bound for recent completed or stopped client sessions. Defaults to 30 days ago.