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

clientId
string
required

Client in the company bound to the Public API token.

Pattern: ^[a-fA-F0-9]{24}$

Body

application/json
type
enum<string>
required
Available options:
activity,
freestyle_workout
scheduledDate
string<date>
required
Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-09-08"

title
string
required
Example:

"Morning run"

startTime
string
Pattern: ^(?:[01]\d|2[0-3]):[0-5]\d$
Example:

"07:30"

activityType
enum<string>
Available options:
running,
cycling,
walking,
padel,
mobility,
other
plannedDurationMinutes
number | null
Required range: x >= 0
targetDistanceMeters
number | null
Required range: x >= 0
status
enum<string>
Available options:
planned,
in_progress,
completed,
cancelled

Response

Personal calendar item created.

data
object
required
meta
object
required