List what a calendar can book on
/assistants /{id} /calendars /{calendarId} /optionsThe calendars (Google) or event types (Calendly, Cal.com) of the account connected to the calendar, to pick the one it books on with PUT .../selection. Returns 400 when no account is connected.
Path parameters
idstringrequiredID of the assistant, as returned by
GET /assistants.calendarIdstringrequiredID of the calendar, from the assistant's
calendarslist orGET /.assistants/ {id}/ calendars
Request body
No body: send the request without one.
Response
200optionsarray of objectThe calendars (Google) or event types (Calendly, Cal.com) of the connected account.
selected_option_idstringnullableThe option the calendar books on now. Null until one is picked.
notice"calendly_free_plan" | "calendly_trial"nullableSomething about the account that will stop bookings. Null when there is nothing to report.
"calendly_free_plan"The Calendly account is on the free plan: Calendly only books through its API on a paid plan (Standard or above), so the agent will see the slots but cannot book them.
"calendly_trial"The Calendly account is on a trial: Calendly only books through its API on a paid plan (Standard or above). Without one, the agent will see the slots but cannot book them.
Errors
- 400Invalid request: a field or parameter failed validation
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} } - 404Not found in your organization
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} } - 500Server error
{ "message"?: string, "error"?: string, "bodyErrors"?: {…} }
Error bodies carry an error (or message) string; a 400 adds bodyErrors.issues. See Errors.