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"

Body

application/json
planId
string
Example:

"67f1234567890abcdef1234"

planMomentId
string
Example:

"67f1234567890abcdef1234"

programmeScheduleItemId
string

Optional calendar programme item. Supply together with plannedDate; the item must be a workout referencing planMomentId.

Example:

"67f1234567890abcdef1234"

plannedDate
string<date>

Optional canonical occurrence date. Supply together with programmeScheduleItemId.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-09-09"

locationId
string
Example:

"67f1234567890abcdef1234"

resumeAction
enum<string>

reset_performance keeps the active freestyle session and exercise rows, while resetting logged values and the session timer; it is not valid for plan or WOD sessions.

Available options:
continue,
restart,
reset_performance
Example:

"continue"

confirmationToken
string
Example:

"a0eb661b-bf61-4af6-98f0-d7d7ff8a3e75"

Response

Session start/resume payload. When an active session already exists and no resumeAction was provided, the payload sets requiresConfirmation=true and includes a confirmation token.

data
object
required
meta
object
required