Skip to main content
POST
Add a shift

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
clubId
integer | null

Defaults to the coach's own club

breaks
object[]
note
string | null

Response

The created shift

One shift on the staff roster: when a coach works on one day. This is what their availability reads.

id
integer
instructorId
integer
instructorName
string | null
clubId
integer | null
date
string<date>

The day the shift starts on, on the club clock.

startTime
string<date-time>
endTime
string<date-time>
breaks
object[]
source
enum<string>
Available options:
rotation,
manual
rotationAssignmentId
integer | null
status
enum<string>
Available options:
scheduled,
cancelled
isOverride
boolean

Edited by hand: regenerating the rotation leaves it as it is.

note
string | null