Get receptionist calendar

Returns the cal.com calendar connected to the account's receptionist. Requires the PARTNER scope.

GET/v2/api/partner/accounts/{id}/numbers/{number}/receptionist/calendar

Returns the cal.com calendar connected to the account's receptionist, in the same shape as Get a calendar: its id, name, provider (CAL_COM), status, is_team_default, owner and available_event_types. Connect one with Connect receptionist calendar.

Errors

CodeWhat it means
CALENDAR_NOT_CONNECTEDNo calendar is connected to this account (404).
PARTNER_ACCOUNT_NOT_FOUNDNo account with this id was created by your API key, or the account is deactivated (404).
PHONE_NUMBER_NOT_FOUNDThe number is not on this account (404).

Authorization

Authorizationstring · headerrequired

Api-Key ak_live_…

Path parameters

idstringrequired

The account id returned on create.

numberstringrequired

A number of the account, in E.164 format.

Responses

200The calendar
dataobject

A calendar connected to your workspace, whether or not a receptionist books on it.

7 fields
idstring

What scheduling.calendars on PATCH /v2/api/numbers/{number}/agent is keyed by.

namestring | null
providerenum<string>

GOOGLE_CALENDARCAL_COMCALENDLYOUTLOOK

statusenum<string>

ACTIVEDISCONNECTED

is_team_defaultboolean
ownerobject

The teammate who connected the calendar.

4 fields
user_idstring
user_namestring | null
emailstring | null
is_current_userboolean
available_event_typesobject[]

Reported by GET /v2/api/calendars/{id} only, read live from the provider. Absent for a provider with no event-type concept, which is not the same answer as an empty list.

6 fields
idstring
slugstring | null
titlestring
length_in_minutesinteger | null
provider_descriptionstring | null

The blurb written in the calendar provider. Not the routing note the receptionist matches on: that one is the description you send in scheduling.calendars.

required_questionsobject[]
2 fields
idstring
labelstring
401
403The API key lacks the PARTNER scope.
errorobject
404No account with this id was created by your API key, or it is deactivated (PARTNER_ACCOUNT_NOT_FOUND), or the number is not on the account (PHONE_NUMBER_NOT_FOUND). No calendar is connected to this account (CALENDAR_NOT_CONNECTED).
errorobject
6 fields
typestring
codestring
messagestring
retryableboolean
request_idstring
retry_after_secondsinteger | null
429