Skip to main content
POST
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

planId
string
required

Workout plan id.

Example:

"67f1234567890abcdef1234"

planMomentId
string
required

Embedded workout plan-moment id.

Example:

"67f1234567890abcdef1234"

Body

application/json
exerciseId
string
required
Example:

"67f1234567890abcdef1234"

type
enum<string>
required
Available options:
reps,
time,
distance
Example:

"reps"

sets
number
required
Example:

4

minReps
number
Example:

6

maxReps
number
Example:

8

notes
string
Example:

"Pause 1 second on the chest."

metric
string
Example:

"kg"

rest
number
Example:

120

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

"High"

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

"Intermediate"

groupId
string
Example:

"super-a"

rpe
number
Example:

8

rmPercentage
number
Example:

75

tempo
string
Example:

"3010"

perSetTrackingEnabled
boolean
Example:

true

rpeEnabled
boolean

Master RPE switch for this plan exercise. False hides current targets and inputs without clearing prescriptions or recorded history. Missing legacy values retain RPE when an exercise target or per-set preference exists. Independent from showSetRpe.

Example:

false

showSetRpe
boolean

Stored per-set RPE preference. Live input is visible only when RPE is enabled; authoring retains this preference while rpeEnabled is false.

Example:

true

setsData
object[]
setupSettingsEnabled
boolean

Enables the exercise-level machine or equipment setup settings block.

Example:

true

setupFields
object[]
Maximum array length: 8
order
number
Example:

0

Response

Created embedded workout exercise.

data
object
required
meta
object
required