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
targetPlanId
string

Optional destination company template id. Defaults to the source plan.

targetWeekNumber
integer
default:1

Destination programme week for cross-template copies. Recurring plans require week 1.

Required range: x >= 1
targetWeekday
enum<integer>

Required for cross-template copies to a calendar: Monday=1 through Sunday=7. A rest day cannot contain a workout.

Available options:
1,
2,
3,
4,
5,
6,
7

Response

Duplicated plan moment.

data
object
required
meta
object
required