Skip to main content
POST
Book a coach off

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Body

application/json
instructorId
integer
required
startTime
string<date-time>
required
endTime
string<date-time>
required
note
string | null

Response

The time off, and what it collides with

A window a coach cannot be booked in, whatever their staff roster says.

id
integer
instructorId
integer
instructorName
string | null
startTime
string<date-time>
endTime
string<date-time>
note
string | null
createdAt
string<date-time>
updatedAt
string<date-time>
conflicts
object[]