KinesteX

Workout Configuration

Parameters for configuring workout behavior and progression.


ParameterTypeDescriptionEffect
planCstringPlan configuration identifierSpecifies which workout plan to load
exercisesstring[]Array of exercise identifiersDefines the specific exercises to include in a session
currentExercisestringCurrent exercise identifierSets the active exercise for camera component
completed_exercisesstring[]Previously completed exercisesAllows resuming a workout from a specific point
start_from_exercisestringExercise to start fromSkips to a specific exercise in the workout
start_from_restbooleanStart from rest periodIf true, begins at rest screen before the specified exercise
resetPlanProgressbooleanReset all plan progressClears all saved progress for the user's plans
on_start_urlstringURL to call on workout startWebhook URL triggered when workout begins

Note: Exercise IDs can be retrieved from the Content API.

Workout Configuration
1// Direct support for some, customParams for others
2kinestex.createCameraView(
3    exercises: ["Squats", "Lunges", "Pushups"], // direct
4    currentExercise: $currentExercise, // direct
5    customParams: [
6        "start_from_exercise": "Lunges",
7        "start_from_rest": true,
8        "resetPlanProgress": false
9    ]
10)