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

runId
string
required

Group workout run id.

Example:

"67f1234567890abcdef1234"

clientId
string
required

Participant client id.

Example:

"67f1234567890abcdef1234"

Body

application/json
workoutSource
enum<string>
required
Available options:
auto_assigned_plan,
manual_assigned_plan,
template,
group_workout_template,
freestyle,
wod
Example:

"freestyle"

planId
string | null

Required when workoutSource is manual_assigned_plan, template, or group_workout_template.

Example:

null

planMomentId
string | null

Required when workoutSource is manual_assigned_plan, template, or group_workout_template.

Example:

null

restart
boolean

Confirms the source change may restart the participant and clear existing performance rows from the current session.

Example:

false

resumeAction
enum<string>
Available options:
continue,
restart
Example:

"continue"

confirmationToken
string

Response

Participant workout source updated.

data
object
required
meta
object
required