Cardio Workouts
Equipment Vendor API (for standalone clients)
📦 Changelog of Documentation
🔐 Authentication
🔄 Integration Flow Overview
⚠️ Error Handling
📝 Integration FAQ – Standalone Devices API
OAuth
Partners
Body Measurement
Cardio Measurement
Flexibility Measurement
User
Image
Statistics
Machine
Resource
Strength Workouts
Open Exercise Workouts
Cardio Test
This endpoint creates a cardio workout
Security
user
Unique identifier for this exercise. The machine should generate a unique id for each exercise submitted.
The start of the exercise in milliseconds since the epoch time. It can not be older than seven days.
Example:1672531200000
Training Plan ID. When the user selects an exercise from the training plan, this field should contain the training plan id from that exercise when submitting the workout.
Example:7189234126347912000
Training Plan Exercise ID. When the user selects an exercise from the training plan, this field should contain the training plan exercise id from that exercise when submitting the workout.
Example:-767612783462
Order number of the exercise in the session of the training plan. This can be used for sorting.
Example:1
- Mock serverhttps://developer.egym.com/_mock/equipment/partner-api/api/v1/cardio/workouts
- Test (ext-1)https://partner-api.ext-1.test.co.egym.coffee/api/v1/cardio/workouts
- Productionhttps://partner-api.api.egym.com/api/v1/cardio/workouts
curl -i -X POST \
https://developer.egym.com/_mock/equipment/partner-api/api/v1/cardio/workouts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"uniqueExerciseId": "string",
"startTimestamp": 1672531200000,
"endTimestamp": 0,
"timezone": "string",
"frequency": 2,
"exerciseName": "string",
"kiloCalories": 100,
"averageHeartRate": 0,
"trainingPlanId": 7189234126347912000,
"averagePace": 0.1,
"trainingPlanExerciseId": -767612783462,
"orderNumber": 1,
"metadata": {
"property1": "string",
"property2": "string"
},
"intervals": [
{
"rampAngle": 1,
"resistance": 1,
"speed": "2.7777",
"duration": 5000,
"distance": "13.8",
"heartRate": 130,
"kiloCalories": 5,
"stepsPerMinute": 70,
"steps": 10,
"stepHeight": 2,
"strideLengthZone": 1,
"rotations": 50,
"incline": "1.5",
"floors": 1,
"watts": 200
}
]
}'