cURL
curl -X POST "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/cardio/niggle/clear" \
-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({})
};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/cardio/niggle/clear', 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}/cardio/niggle/clear"
payload = {}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"companyId": "66f7b8b1e13c8d25f4d3d90a",
"clientId": "66f7b8b1e13c8d25f4d3d90a",
"baseline": {
"source": "logged_activities",
"startDate": "2026-07-14",
"endDate": "2026-07-14",
"timeZone": "Europe/Amsterdam",
"calculatedAt": "2026-07-14T10:00:00.000Z",
"complete": true,
"baselineWeeklyKm": 1,
"weeklyTotals": [
{
"weekStart": "2026-07-14",
"distanceKm": 1,
"runCount": 1,
"missingDistanceCount": 1
}
],
"reasonCodes": [
"RUNNING_BASELINE_ACTIVITY_TYPE_MISSING"
]
},
"running": {
"thresholdSource": {
"kind": "max_effort",
"distanceM": 1,
"timeSec": 1,
"date": "2026-07-14"
},
"baselineWeeklyKm": 1,
"baselineSource": "coach",
"hrBands": {
"easy": {
"low": 1,
"high": 1
},
"threshold": {
"low": 1,
"high": 1
}
},
"runDaysPerWeek": 1,
"availableWeekdays": [
1
],
"fixedWeekdays": [
1
],
"baselineWindow": {
"source": "logged_activities",
"startDate": "2026-07-14",
"endDate": "2026-07-14",
"timeZone": "Europe/Amsterdam",
"calculatedAt": "2026-07-14T10:00:00.000Z",
"complete": true,
"baselineWeeklyKm": 1,
"weeklyTotals": [
{
"weekStart": "2026-07-14",
"distanceKm": 1,
"runCount": 1,
"missingDistanceCount": 1
}
],
"reasonCodes": [
"RUNNING_BASELINE_ACTIVITY_TYPE_MISSING"
]
},
"thresholdSecPerKm": 1,
"thresholdRangeSecPerKm": {
"low": 1,
"high": 1
}
},
"cycling": {
"ftpW": 1,
"ftpTestDate": "2026-07-14",
"lthrBpm": 1,
"powerZones": {
"Z1": {
"low": 1,
"high": 1
},
"Z2": {
"low": 1,
"high": 1
},
"Z3": {
"low": 1,
"high": 1
},
"Z4": {
"low": 1,
"high": 1
},
"Z5": {
"low": 1,
"high": 1
},
"Z6": {
"low": 1,
"high": 1
},
"Z7": {
"low": 1,
"high": 1
}
},
"hrZones": {
"Z1": {
"low": 1,
"high": 1
},
"Z2": {
"low": 1,
"high": 1
},
"Z3": {
"low": 1,
"high": 1
},
"Z4": {
"low": 1,
"high": 1
},
"Z5": {
"low": 1,
"high": 1
}
},
"reasonCodes": [
"FTP_REQUIRED"
]
},
"swimming": {
"cssSecPer100": 1,
"cssSource": {
"t400Sec": 1,
"t200Sec": 1,
"date": "2026-07-14"
},
"paceUnit": "s/100m",
"paceZones": {
"easy": {
"low": 1,
"high": 1
},
"endurance": {
"low": 1,
"high": 1
},
"threshold": {
"low": 1,
"high": 1
},
"speed": {
"low": 1,
"high": 1
}
},
"reasonCodes": [
"CSS_REQUIRED"
]
},
"niggle": {
"active": true,
"note": "string",
"reportedAt": "2026-07-14T10:00:00.000Z",
"clearedAt": "2026-07-14T10:00:00.000Z"
},
"paces": {
"thresholdSecPerKm": 1,
"thresholdRangeSecPerKm": {
"low": 1,
"high": 1
},
"anchors": {
"E": {
"low": 1,
"high": 1
},
"T": {
"low": 1,
"high": 1
},
"I": {
"low": 1,
"high": 1
},
"R": {
"low": 1,
"high": 1
}
},
"reasonCodes": [
"THRESHOLD_MEASUREMENT_REQUIRED"
]
}
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
},
"idempotency": {
"replayed": false
}
}
}Running profiles and adaptation
Athlete clears their active niggle
Empty or absent body is intentional: identity and company come from authentication. Repeated clear requests do not append duplicate history.
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.
POST
/
public
/
v1
/
workout
/
clients
/
{clientId}
/
cardio
/
niggle
/
clear
cURL
curl -X POST "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/cardio/niggle/clear" \
-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({})
};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/cardio/niggle/clear', 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}/cardio/niggle/clear"
payload = {}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"companyId": "66f7b8b1e13c8d25f4d3d90a",
"clientId": "66f7b8b1e13c8d25f4d3d90a",
"baseline": {
"source": "logged_activities",
"startDate": "2026-07-14",
"endDate": "2026-07-14",
"timeZone": "Europe/Amsterdam",
"calculatedAt": "2026-07-14T10:00:00.000Z",
"complete": true,
"baselineWeeklyKm": 1,
"weeklyTotals": [
{
"weekStart": "2026-07-14",
"distanceKm": 1,
"runCount": 1,
"missingDistanceCount": 1
}
],
"reasonCodes": [
"RUNNING_BASELINE_ACTIVITY_TYPE_MISSING"
]
},
"running": {
"thresholdSource": {
"kind": "max_effort",
"distanceM": 1,
"timeSec": 1,
"date": "2026-07-14"
},
"baselineWeeklyKm": 1,
"baselineSource": "coach",
"hrBands": {
"easy": {
"low": 1,
"high": 1
},
"threshold": {
"low": 1,
"high": 1
}
},
"runDaysPerWeek": 1,
"availableWeekdays": [
1
],
"fixedWeekdays": [
1
],
"baselineWindow": {
"source": "logged_activities",
"startDate": "2026-07-14",
"endDate": "2026-07-14",
"timeZone": "Europe/Amsterdam",
"calculatedAt": "2026-07-14T10:00:00.000Z",
"complete": true,
"baselineWeeklyKm": 1,
"weeklyTotals": [
{
"weekStart": "2026-07-14",
"distanceKm": 1,
"runCount": 1,
"missingDistanceCount": 1
}
],
"reasonCodes": [
"RUNNING_BASELINE_ACTIVITY_TYPE_MISSING"
]
},
"thresholdSecPerKm": 1,
"thresholdRangeSecPerKm": {
"low": 1,
"high": 1
}
},
"cycling": {
"ftpW": 1,
"ftpTestDate": "2026-07-14",
"lthrBpm": 1,
"powerZones": {
"Z1": {
"low": 1,
"high": 1
},
"Z2": {
"low": 1,
"high": 1
},
"Z3": {
"low": 1,
"high": 1
},
"Z4": {
"low": 1,
"high": 1
},
"Z5": {
"low": 1,
"high": 1
},
"Z6": {
"low": 1,
"high": 1
},
"Z7": {
"low": 1,
"high": 1
}
},
"hrZones": {
"Z1": {
"low": 1,
"high": 1
},
"Z2": {
"low": 1,
"high": 1
},
"Z3": {
"low": 1,
"high": 1
},
"Z4": {
"low": 1,
"high": 1
},
"Z5": {
"low": 1,
"high": 1
}
},
"reasonCodes": [
"FTP_REQUIRED"
]
},
"swimming": {
"cssSecPer100": 1,
"cssSource": {
"t400Sec": 1,
"t200Sec": 1,
"date": "2026-07-14"
},
"paceUnit": "s/100m",
"paceZones": {
"easy": {
"low": 1,
"high": 1
},
"endurance": {
"low": 1,
"high": 1
},
"threshold": {
"low": 1,
"high": 1
},
"speed": {
"low": 1,
"high": 1
}
},
"reasonCodes": [
"CSS_REQUIRED"
]
},
"niggle": {
"active": true,
"note": "string",
"reportedAt": "2026-07-14T10:00:00.000Z",
"clearedAt": "2026-07-14T10:00:00.000Z"
},
"paces": {
"thresholdSecPerKm": 1,
"thresholdRangeSecPerKm": {
"low": 1,
"high": 1
},
"anchors": {
"E": {
"low": 1,
"high": 1
},
"T": {
"low": 1,
"high": 1
},
"I": {
"low": 1,
"high": 1
},
"R": {
"low": 1,
"high": 1
}
},
"reasonCodes": [
"THRESHOLD_MEASUREMENT_REQUIRED"
]
}
},
"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.
Required string length:
1 - 200Example:
"booking-create-20260714-001"
Path Parameters
Body
application/json
The body is of type object.