cURL
curl -X GET "https://api.fitsociety.io/public/v1/workout/groups/runs" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/groups/runs', 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/groups/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"items": [
{
"runId": "67f1234567890abcdef1234",
"title": "Manual workout session",
"source": "calendar_event",
"status": "active",
"calendarEventId": null,
"manualSessionKey": "manual-1780749000000-k2flow",
"startedAt": null,
"endedAt": null,
"participantCount": 2,
"statusCounts": {
"pending": 0,
"in_progress": 1,
"paused": 0,
"completed": 1,
"stopped": 0,
"error": 0
},
"participants": [
{
"clientId": "67f1234567890abcdef1234",
"sessionId": null,
"sessionStatus": "planned",
"workoutSource": "auto_assigned_plan",
"sourceLabel": "Full 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
}
},
"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
}
}
}Groups
List coach workout sessions
Requires the workout_groups:read scope. This operation maps to /app/v1/coach/workout/group/runs 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.
GET
/
public
/
v1
/
workout
/
groups
/
runs
cURL
curl -X GET "https://api.fitsociety.io/public/v1/workout/groups/runs" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/groups/runs', 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/groups/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"items": [
{
"runId": "67f1234567890abcdef1234",
"title": "Manual workout session",
"source": "calendar_event",
"status": "active",
"calendarEventId": null,
"manualSessionKey": "manual-1780749000000-k2flow",
"startedAt": null,
"endedAt": null,
"participantCount": 2,
"statusCounts": {
"pending": 0,
"in_progress": 1,
"paused": 0,
"completed": 1,
"stopped": 0,
"error": 0
},
"participants": [
{
"clientId": "67f1234567890abcdef1234",
"sessionId": null,
"sessionStatus": "planned",
"workoutSource": "auto_assigned_plan",
"sourceLabel": "Full 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
}
},
"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.
Required range:
x >= 1Maximum sessions per page.
Required range:
1 <= x <= 50Optional run status filter.
Available options:
active, completed, cancelled Optional session source filter.
Available options:
calendar_event, manual