Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Public API access token issued by /public/v1/oauth/token. Example: Authorization: Bearer fspt_.... Each resource request rechecks the token company's current provider access. Disabling access blocks existing tokens with 403 auth.provider_unavailable.

Headers

Idempotency-Key
string
required

Required for Public API write requests. Reusing the same key with the same method, path, and body replays the stored successful response; reusing it with a different request returns 409 idempotency.conflict.

Required string length: 1 - 200
Example:

"booking-create-20260714-001"

Path Parameters

id
string
required

Workout plan id.

Example:

"67f1234567890abcdef1234"

Body

name
object[]
required
Minimum array length: 1
Example:
description
object[]
required
Minimum array length: 1
Example:
category
enum<string>
Available options:
Agility & Speed,
Strength,
Hypertrophy,
Strength - Dynamic,
Strength - Explosive,
Strength - Static,
Cardio,
Cardio - Duration,
Cardio - Interval,
HIIT,
Crossfit,
Mobility,
Stretching,
Core,
Coordination & Balance,
Movement Prep,
Functional Training,
Recovery,
Sports,
Martial Arts,
Yoga,
Other,
GROUP_WORKOUT_TEMPLATE,
Plyometric,
Cycling,
Cardio - interval,
Mobilisation,
Stabilisation,
Daily Living,
Target zone,
Respiration,
Breathing,
Massage,
Outdoor sports,
Indoor sports,
Dance,
Group Lessons,
Martial arts,
Material Arts,
Fight skills,
Mind and body,
,
default
Example:

"Strength"

goal
enum<string>
Available options:
Weight Loss,
Hypertrophy,
Endurance,
Flexibility,
General Fitness,
Strength
Example:

"Strength"

periodizationType
enum<string>
Available options:
Linear,
Non-Linear,
Block,
Undulating,
None
Example:

"Linear"

difficulty
enum<string>
Available options:
Beginner,
Intermediate,
Advanced
Example:

"Intermediate"

intensity
enum<string>
Available options:
Low,
Medium,
High
Example:

"Medium"

visibility
enum<string>
Available options:
Everyone,
Company,
Fitsociety
Example:

"Company"

status
enum<string>
Available options:
Active,
Inactive,
Draft
Example:

"Draft"

templateType
enum<string>
Available options:
Template,
Assigned
Example:

"Template"

duration
object
schedule
object
useDefaultExerciseSettings
boolean
default:true

Whether new exercises use the plan-level defaults. When false, defaultExerciseValues must be null.

defaultExerciseValues
object | null
images
object[]
videos
object[]

Response

Workout plan updated. Runtime still returns the standard response envelope without a data property.