curl -X POST "https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/plans/{planId}/running-plan/review/apply" \
-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({
reviewWeek: 52,
intake: {
persistentRunningPain: true,
bonePointTenderness: true,
nightPain: true,
worseningDespiteRest: true
}
})
};
fetch('https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/plans/{planId}/running-plan/review/apply', 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/cardio/clients/{clientId}/plans/{planId}/running-plan/review/apply"
payload = {
"reviewWeek": 52,
"intake": {
"persistentRunningPain": True,
"bonePointTenderness": True,
"nightPain": True,
"worseningDespiteRest": True
}
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"decision": {
"_id": "66f7b8b1e13c8d25f4d3d90a",
"planId": "66f7b8b1e13c8d25f4d3d90a",
"kind": "weekly_review",
"status": "review_required",
"reviewWeek": 1,
"reasonCodes": [
"string"
],
"evidence": {
"source": "string",
"throughDate": "2026-07-14",
"qualifyingRunCount": 1,
"missedRunCount": 1,
"latestRunDate": "2026-07-14",
"reportedAt": "2026-07-14T10:00:00.000Z"
},
"affectedItemIds": [
"string"
],
"createdAt": "2026-07-14T10:00:00.000Z",
"appliedAt": "2026-07-14T10:00:00.000Z",
"appliedBy": "string",
"undoneAt": "2026-07-14T10:00:00.000Z",
"undoneBy": "string"
},
"expectedUpdatedAt": "2026-07-14T10:00:00.000Z"
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
},
"idempotency": {
"replayed": false
}
}
}Apply an audited weekly review
Requires the cardio features and access to the target client. Applying a review requires expectedUpdatedAt from the preview and complete prescriptions. Historical logs, existing IDs, unrelated activities, and weekly volume limits are preserved. Goal time or challenge status can change; distance or race date requires a new plan. Undo requires the latest unchanged plan and no affected execution or past sessions; it cannot restore intensity during an active athlete niggle. Undo accepts an empty body.
Requires the workout_client_plans:write scope and the corresponding Workout features and permissions.
The clientId path parameter identifies a client in the company bound to the Public API token.
curl -X POST "https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/plans/{planId}/running-plan/review/apply" \
-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({
reviewWeek: 52,
intake: {
persistentRunningPain: true,
bonePointTenderness: true,
nightPain: true,
worseningDespiteRest: true
}
})
};
fetch('https://api.fitsociety.io/public/v1/workout/cardio/clients/{clientId}/plans/{planId}/running-plan/review/apply', 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/cardio/clients/{clientId}/plans/{planId}/running-plan/review/apply"
payload = {
"reviewWeek": 52,
"intake": {
"persistentRunningPain": True,
"bonePointTenderness": True,
"nightPain": True,
"worseningDespiteRest": True
}
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"decision": {
"_id": "66f7b8b1e13c8d25f4d3d90a",
"planId": "66f7b8b1e13c8d25f4d3d90a",
"kind": "weekly_review",
"status": "review_required",
"reviewWeek": 1,
"reasonCodes": [
"string"
],
"evidence": {
"source": "string",
"throughDate": "2026-07-14",
"qualifyingRunCount": 1,
"missedRunCount": 1,
"latestRunDate": "2026-07-14",
"reportedAt": "2026-07-14T10:00:00.000Z"
},
"affectedItemIds": [
"string"
],
"createdAt": "2026-07-14T10:00:00.000Z",
"appliedAt": "2026-07-14T10:00:00.000Z",
"appliedBy": "string",
"undoneAt": "2026-07-14T10:00:00.000Z",
"undoneBy": "string"
},
"expectedUpdatedAt": "2026-07-14T10:00:00.000Z"
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
},
"idempotency": {
"replayed": false
}
}
}Authorizations
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"