Skip to content

Get the destination calendar (with event-type fallback)

GET
/appointments/calendars/destination

Get the destination calendar for the caller. When event_type_id is provided, returns the event-type-specific override if one exists, falling back to the user-level default. Returns {data: null} when none is set. Reuses the in-app get_destination_calendar logic.

Authorizations

Parameters

Query Parameters

event_type_id
Any of:
integer

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

Envelope for GET/PUT /calendars/destination. data is null when no destination calendar is configured.

object
data
Any of:
object
credential_id
Any of:
integer
event_type_id
Any of:
integer
external_id
required
string
id
required
integer
integration
required
string
primary_email
Any of:
string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string