Skip to content
Assistants

List what a calendar can book on

GET/assistants/{id}/calendars/{calendarId}/options

The 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

Request body

No body: send the request without one.

Response

200
  • optionsarray of object

    The calendars (Google) or event types (Calendly, Cal.com) of the connected account.

  • selected_option_idstringnullable

    The option the calendar books on now. Null until one is picked.

  • notice"calendly_free_plan" | "calendly_trial"nullable

    Something 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.