Customization Parameters
This section describes every launch parameter the KinesteX SDK accepts, what each one does, and which integration option(s) it applies to. A parameter sent to an integration that does not read it is ignored, so check the Applies to column first.
How parameters reach KinesteX:
- SDK arguments: credentials,
UserDetails,IStyleand the view's own arguments (workout name, exercise list, ...) of the SDK's create call. - Custom params: everything else, as a flat key/value map: Swift
customParams: [String: Any], KotlincustomParams = mutableMapOf(...), FluttercustomParams: Map<String, dynamic>, React Native and Reactdata.customParameters(the SDK merges its keys into the top level of the launch message). - HTML/JS: every parameter is a top-level key of the launch object you
postMessageto the iframe. - URL query string: most parameters can also go in the launch URL, one by one or as a single
?data=payload. A value sent by postMessage overrides the URL value, except?style=and?delegate=, where the URL wins. See URL Parameters.
Launch parameters are read once, when the launch is verified (kinestex_launched). To control a running session, send the messages in Workout Activity Actions.
Integration scope labels used throughout this section:
| Label | Integration option (SDK method) | Internal route |
| All | Every integration option | - |
| Main | Complete UX: createMainView (Swift createCategoryView) | / |
| Workout | createWorkoutView | /workout/{id} |
| Plan | createPlanView | /plan/{id} |
| Personalized Plan | createPersonalizedPlanView | /personalized-plan |
| Custom Workout | createCustomWorkoutView | /custom-workout |
| Workout player | Shorthand for every flow that runs the KinesteX exercise player and results screen: Main, Workout, Plan, Personalized Plan, Custom Workout and AI Trainer workouts (Challenge where noted) | - |
| Gym Log | The set logger the workout player uses when AI motion tracking is off | /workout/gym-log |
| Challenge | createChallengeView | /challenge |
| Leaderboard | createLeaderboardView | /leaderboard |
| Experiences (Games) | createExperienceView (Kotlin createExperiencesView) with balloonpop, colorchase, aliensquatshooter | /experiences/assessment |
| Assessments | createExperienceView with experience assessment | /experiences/assessment |
| Camera | createCameraComponent (Swift createCameraView) | /camera |
| Plan Onboarding | createCustomComponentView with route plan-onboarding | /plan-onboarding |
| AI Trainer | AI Trainer Chat | /trainer |
Quick task index:
- Test the integration without physically performing exercises: `videoURL`, Testing & Simulation
- Save workout results to the KinesteX backend: `shouldSendStats`
- Jump into the middle of a workout: `start_from_exercise`
- Switch exercises at runtime in the Camera component: Camera Component parameters
- Get reps, form state, presence and gestures as they happen: Real-Time Motion Events
- Control a running session (pause, mute, camera off, reset): Workout Activity Actions
Required Parameters
These parameters are mandatory for a successful launch. Applies to: All integrations.
Testing & Simulation (videoURL)
How to test the integration without physically performing the exercises.
User Profile
Parameters that describe the user, for calorie estimates, profile sync and AI Trainer prefill.
Theme & Appearance
Control the visual appearance of the application. Applies to: All integrations.
Language & Localization
Configure the language for all UI text, voice prompts and content.
Workout Configuration
Parameters for workout behavior and progression.
Camera & Pose Detection
Fine-tune the camera and pose detection. These parameters affect every view that runs pose tracking (Workout player, Challenge, Camera component, Assessments, Games) unless a narrower scope is listed.
Camera Component Parameters
Parameters that are only read by the Camera component (`createCameraComponent`, Swift `createCameraView`, `IntegrationOption.CAMERA`, route `/camera`). Other integration options ignore them. For the full guide, see [Camera Component](/docs/integration/camera-component).
Real-Time Motion Events
Launch options that turn on or shape the [real-time motion events](/docs/data-points/realtime-motion-events) (reps and holds, form state, feedback, presence, framing, gestures, inactivity) and the raw pose data. The Camera component always sends the real-time events; workout flows send them only when `includePoseData` contains `"events"`. For the Camera component walkthrough, see [Camera Component: real-time events](/docs/integration/camera-component#camera-component-realtime-events).
UI Controls
Control the visibility and behavior of UI elements.
Challenge Mode
Configure direct challenge launches. Applies to: Challenge view and the Games (Balloon Pop, Color Chase, Alien Squat Shooter, where noted).
Complete UX Customization
Customize the Complete UX (Main view) home screen. Applies to: Main only: no other integration option reads this parameter.
Leaderboard
Configure the leaderboard. Applies to: Challenge (results are submitted on the challenge results screen) and the Leaderboard view.
Loading Screen
Customize the loading screen, including the native overlay color shown while the view first loads. Applies to: All integrations: the loading screen is shown while any view verifies and downloads resources (and on the custom workout's loading screen).
Motion Tracking Settings
Control AI motion tracking. Applies to: Workout player (in the Camera component, games and assessments motion tracking is always on and users cannot turn it off).
Debug & Development
Parameters for debugging during development. Not for end users.
Custom Workout
Configure custom workout sequences. Applies to: Custom Workout only (`createCustomWorkoutView`, `IntegrationOption.CUSTOM_WORKOUT`, route `/custom-workout`): every other integration option ignores these. For the complete guide, see [Custom Workout integration](/docs/integration/custom-workout).
Workout Activity Actions
Control a running session by posting `{ workout_activity_action: "<value>" }` to the KinesteX view, after `kinestex_launched`. Echo replies have the shape `{ type: "<value>", date }`. Errors arrive as `error_occurred` ([Error & Status Events](/docs/data-points/error-status-events)).
Navigation
Control navigation and where users go when they leave. Applies to: All integrations.
Assessment Configuration
Parameters for the assessments (TUG, gait speed, balance tests and more). Applies to: Assessments only. The assessment itself is chosen with `exercise` ([Challenge Mode](/docs/customization-parameters/challenge-mode), ids in [AI Experiences](/docs/integration/experience-view)). For result data, see [Data Points](/docs/data-points).
Audio Configuration
Control which spoken coaching cues play. Applies to: all views with spoken audio feedback.
Session & Data Saving
Control session saving and data upload. Applies to: any flow ending on the results screen (Workout player and Challenge).
Plan Context
Pass plan progression context so the SDK associates a directly launched workout with the correct plan. Applies to: Workout view (a workout launched directly that should count toward a plan). After the workout finishes, the SDK posts `plan_progression_saved` (or `plan_progression_failed` on error). See [Plans & Programs events](/docs/data-points/plans-programs).
Plan Onboarding Prefill
Pre-fill or skip onboarding survey questions for personalized plans. All fields are optional: only the provided fields are prefilled and their screens skipped. If every answer is provided for a goal-based plan, the user goes straight to the results. Applies to: Plan Onboarding only (route `"plan-onboarding"`).
AI Trainer Chat Parameters
Parameters for the [AI Trainer Chat](/docs/ai-trainer-chat) view. Applies to: AI Trainer only: every other integration option ignores them.
URL Parameters
Almost every parameter can also be passed in the launch URL, which is useful for standalone links and web embeds. A URL-only launch needs no postMessage at all: the app verifies from the URL parameters on its own. Applies to: All integrations.
Complete Example
A workout launch that combines several parameter categories: