cURL
curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}', 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}/library/exercises/{exerciseId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"_id": "67f1234567890abcdef1234",
"name": "Barbell Squat",
"description": "A compound lower-body movement.",
"media": [
{
"type": "image",
"url": "https://cdn.example.com/exercises/bench-press.jpg",
"platform": null,
"videoId": null,
"thumbnail": null,
"duration": null,
"width": 1280,
"height": 720
}
],
"targetedMuscles": [
"Quadriceps",
"Glutes",
"Hamstrings"
],
"primaryCategory": "Strength",
"secondaryCategories": [],
"equipment": [
"Barbell",
"Rack"
],
"difficulty": "Intermediate",
"tags": [],
"isFavourite": false
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}Library and favourites
Get exercise detail
Returns the full exercise document in the user’s language. Images and videos are merged into a single media array. Primary and secondary muscles are merged into targetedMuscles. Equipment values are mapped to human-readable labels. Includes isFavourite for the requesting client.
Requires the workout_client_plans:read scope and the corresponding Workout features and permissions.
The clientId path parameter identifies a client in the company bound to the Public API token.
GET
/
public
/
v1
/
workout
/
clients
/
{clientId}
/
library
/
exercises
/
{exerciseId}
cURL
curl -X GET "https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/clients/{clientId}/library/exercises/{exerciseId}', 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}/library/exercises/{exerciseId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"_id": "67f1234567890abcdef1234",
"name": "Barbell Squat",
"description": "A compound lower-body movement.",
"media": [
{
"type": "image",
"url": "https://cdn.example.com/exercises/bench-press.jpg",
"platform": null,
"videoId": null,
"thumbnail": null,
"duration": null,
"width": 1280,
"height": 720
}
],
"targetedMuscles": [
"Quadriceps",
"Glutes",
"Hamstrings"
],
"primaryCategory": "Strength",
"secondaryCategories": [],
"equipment": [
"Barbell",
"Rack"
],
"difficulty": "Intermediate",
"tags": [],
"isFavourite": false
},
"meta": {
"requestId": "4f849d7d-f4f1-45cc-b4b7-3984a3d17f83",
"rateLimit": {
"limit": 10,
"remaining": 9,
"resetSeconds": 1
}
}
}