Skip to main content
POST
Create booking calendar

Authorizations

Authorization
string
header
required

An API key, starting ak_. Create one under Settings > MCP and API in Steerco.

Headers

X-Workspace-Id
string
required

The workspace id. GET /v1/workspaces lists yours.

Body

application/json
name
string
Required string length: 1 - 120
lengthMinutes
integer
Required range: 5 <= x <= 480
window
object
bufferMinutes
integer
Required range: 0 <= x <= 240
noticeMinutes
integer
Required range: 0 <= x <= 43200
horizonDays
integer
Required range: 1 <= x <= 365
hosts
string[]
Maximum array length: 25
Minimum string length: 1
type
enum<string>
Available options:
round_robin,
collective
fixedHosts
string[]
Minimum string length: 1
hostPriorities
object
sameHostForReturning
boolean
routeByTerritory
boolean
afterBooking
object
page
object

Response

A preview, when the body has no confirmationToken. The applied write, when it has one.

status
enum<string>
required
Available options:
preview
confirmationToken
string
required

Send this back with the same input to apply the write. It works for this call only.

expiresAt
string
required

When the token stops working, 10 minutes after the preview.

preview
any

What the write would change. Nothing has changed yet.