AI Trainer Chat Parameters
Parameters specific to the AI Trainer Chat view.
| Parameter | Type | Default | Description | Effect |
| isSubscribed | boolean | true | Subscription status | Missing or true = subscribed. Only an explicit false gates workout generation and triggers the open_subscription_flow event — see the subscription gating guide |
| subscriptionReturnUrl | string | - | Standalone subscription redirect | For link/standalone integrations with no host app: non-subscribed users are redirected here at the generation step instead of receiving open_subscription_flow. Accepts https:// URLs or app deep links; script-executing schemes are rejected |
| aiTrainerName | string | - | Trainer display name | Renames the AI trainer everywhere it's labelled (header title, reply labels). Shown verbatim in every language |
| aiTrainerColor | string | - | Trainer icon color | Recolors the trainer's star icon — any CSS color, e.g. "#7C3AED" |
The trainer also accepts fitness-profile prefill fields (fitness_goals, injuries, health_conditions, fitness_level_squats / _pushups / _cardio, other_preferences) — see Pre-filling user data.