Skip to main content
Server path: /cal-event-types | Type: Application | PCID required: Yes

Tools


cal_event_types_controller_2024_06_14_create_event_type

Create an event type Parameters:
ParameterTypeRequiredDefaultDescription
afterEventBuffernumberNoExtra time automatically blocked on your calendar after a meeting ends. This gives you time to wrap up, add notes, or decompress before your next commitment.
allowReschedulingCancelledBookingsbooleanNoWhen enabled, users will be able to create a new booking when trying to reschedule a cancelled booking.
allowReschedulingPastBookingsbooleanNoEnabling this option allows for past events to be rescheduled.
beforeEventBuffernumberNoExtra time automatically blocked on your calendar before a meeting starts. This gives you time to prepare, review notes, or transition from your previous activity.
bookerActiveBookingsLimitobjectNoLimit the number of active bookings a booker can make for this event type.
bookerLayoutsobjectNoShould booker have week, month or column view. Specify default layout and enabled layouts user can pick.
bookingFieldsany[]NoCustom fields that can be added to the booking form when the event is booked by someone. By default booking form has name and email field.
bookingLimitsCountobjectNoLimit how many times this event can be booked
bookingLimitsDurationobjectNoLimit total amount of time that this event can be booked
bookingRequiresAuthenticationbooleanNoBoolean to require authentication for booking this event type via api. If true, only authenticated users who are the event-type owner or org/team admin/owner can book this event type.
bookingWindowobjectNoLimit how far in the future this event can be booked
calVideoSettingsobjectNoCal video settings for the event type. Platform customers can’t manage this property because currently we have no way of determining if managed user is a host or an attendee.
colorobjectNocolor
confirmationPolicyobjectNoSpecify how the booking needs to be manually confirmed before it is pushed to the integrations and a confirmation mail is sent.
customNamestringNoCustomizable event name with valid variables: {Event type title}, {Organiser}, {Scheduler}, {Location}, {Organiser first name}, {Scheduler first name}, {Scheduler last name}, {Event duration}, {LOCATION}, {HOST/ATTENDEE}, {HOST}, {ATTENDEE}, {USER}
descriptionstringNodescription
destinationCalendarobjectNodestinationCalendar
disableCancellingobjectNoSettings for disabling cancelling of this event type.
disableGuestsbooleanNoIf true, person booking this event can’t add guests via their emails.
disableReschedulingobjectNoSettings for disabling rescheduling of this event type. Can be always disabled or disabled when less than X minutes before the meeting.
hiddenbooleanNohidden
hideCalendarEventDetailsbooleanNohideCalendarEventDetails
hideCalendarNotesbooleanNohideCalendarNotes
hideOrganizerEmailbooleanNoBoolean to Hide organizer’s email address from the booking screen, email notifications, and calendar events
interfaceLanguagestringNoSet preferred language for the booking interface. Use empty string for visitor’s browser language (default).
lengthInMinutesnumberYeslengthInMinutes
lengthInMinutesOptionsany[]NoIf you want that user can choose between different lengths of the event you can specify them here. Must include the provided lengthInMinutes.
locationsany[]NoLocations where the event will take place. If not provided, cal video link will be used as the location. Note: Setting a location to a conferencing app does not install the app - the app must already be installed. Via API, only Google Meet (google-meet), Microsoft Teams (office365-video), and Zoom (zoom) can be installed. Cal Video (cal-video) is installed by default. All other conferencing apps must be connected via the Cal.com web app and are not available for Platform plan customers. You can only set an event type location to an app that has already been installed or connected.
lockTimeZoneToggleOnBookingPagebooleanNolockTimeZoneToggleOnBookingPage
minimumBookingNoticenumberNoMinimum number of minutes before the event that a booking can be made.
offsetStartnumberNoOffset timeslots shown to bookers by a specified number of minutes
onlyShowFirstAvailableSlotbooleanNoThis will limit your availability for this event type to one slot per day, scheduled at the earliest available time.
recurrenceobjectNoCreate a recurring event type.
requiresBookerEmailVerificationbooleanNorequiresBookerEmailVerification
scheduleIdnumberNoIf you want that this event has different schedule than user’s default one you can specify it here.
seatsobjectNoCreate an event type with multiple seats.
showOptimizedSlotsbooleanNoArrange time slots to optimize availability.
slotIntervalnumberNoNumber representing length of each slot when event is booked. By default it equal length of the event type. If event length is 60 minutes then we would have slots 9AM, 10AM, 11AM etc. but if it was changed to 30 minutes then we would have slots 9AM, 9:30AM, 10AM, 10:30AM etc. as the available times to book the 60 minute event.
slugstringYesslug
successRedirectUrlstringNoA valid URL where the booker will redirect to, once the booking is completed successfully
titlestringYestitle
useDestinationCalendarEmailbooleanNouseDestinationCalendarEmail

cal_event_types_controller_2024_06_14_delete_event_type

Delete an event type Parameters:
ParameterTypeRequiredDefaultDescription
eventTypeIdnumberYeseventTypeId

cal_event_types_controller_2024_06_14_get_event_type_by_id

Get an event type Parameters:
ParameterTypeRequiredDefaultDescription
eventTypeIdstringYeseventTypeId

cal_event_types_controller_2024_06_14_get_event_types

Get all event types Parameters:
ParameterTypeRequiredDefaultDescription
usernamestringNoThe username of the user to get event types for. If only username provided will get all event types.
eventSlugstringNoSlug of event type to return. Notably, if eventSlug is provided then username must be provided too, because multiple users can have event with same slug.
usernamesstringNoGet dynamic event type for multiple usernames separated by comma. e.g usernames=alice,bob
orgSlugstringNoslug of the user’s organization if he is in one, orgId is not required if using this parameter
orgIdnumberNoID of the organization of the user you want the get the event-types of, orgSlug is not needed when using this parameter
sortCreatedAtstringNoSort event types by creation date. When not provided, no explicit ordering is applied.

cal_event_types_controller_2024_06_14_update_event_type

Update an event type Parameters:
ParameterTypeRequiredDefaultDescription
eventTypeIdnumberYeseventTypeId
afterEventBuffernumberNoExtra time automatically blocked on your calendar after a meeting ends. This gives you time to wrap up, add notes, or decompress before your next commitment.
allowReschedulingCancelledBookingsbooleanNoWhen enabled, users will be able to create a new booking when trying to reschedule a cancelled booking.
allowReschedulingPastBookingsbooleanNoEnabling this option allows for past events to be rescheduled.
beforeEventBuffernumberNoExtra time automatically blocked on your calendar before a meeting starts. This gives you time to prepare, review notes, or transition from your previous activity.
bookerActiveBookingsLimitobjectNoLimit the number of active bookings a booker can make for this event type.
bookerLayoutsobjectNoShould booker have week, month or column view. Specify default layout and enabled layouts user can pick.
bookingFieldsany[]NoComplete set of booking form fields. This array replaces all existing booking fields. To modify existing fields, first fetch the current event type, then include all desired fields in this array. Sending only one field will remove all other custom fields, keeping only default fields plus the provided one.
bookingLimitsCountobjectNoLimit how many times this event can be booked
bookingLimitsDurationobjectNoLimit total amount of time that this event can be booked
bookingRequiresAuthenticationbooleanNoBoolean to require authentication for booking this event type via api. If true, only authenticated users who are the event-type owner or org/team admin/owner can book this event type.
bookingWindowobjectNoLimit how far in the future this event can be booked
calVideoSettingsobjectNoCal video settings for the event type
colorobjectNocolor
confirmationPolicyobjectNoSpecify how the booking needs to be manually confirmed before it is pushed to the integrations and a confirmation mail is sent.
customNamestringNoCustomizable event name with valid variables: {Event type title}, {Organiser}, {Scheduler}, {Location}, {Organiser first name}, {Scheduler first name}, {Scheduler last name}, {Event duration}, {LOCATION}, {HOST/ATTENDEE}, {HOST}, {ATTENDEE}, {USER}
descriptionstringNodescription
destinationCalendarobjectNodestinationCalendar
disableCancellingobjectNoSettings for disabling cancelling of this event type.
disableGuestsbooleanNoIf true, person booking this event can’t add guests via their emails.
disableReschedulingobjectNoSettings for disabling rescheduling of this event type. Can be always disabled or disabled when less than X minutes before the meeting.
hiddenbooleanNohidden
hideCalendarEventDetailsbooleanNohideCalendarEventDetails
hideCalendarNotesbooleanNohideCalendarNotes
hideOrganizerEmailbooleanNoBoolean to Hide organizer’s email address from the booking screen, email notifications, and calendar events
interfaceLanguagestringNoSet preferred language for the booking interface. Use empty string for visitor’s browser language (default).
lengthInMinutesnumberNolengthInMinutes
lengthInMinutesOptionsany[]NoIf you want that user can choose between different lengths of the event you can specify them here. Must include the provided lengthInMinutes.
locationsany[]NoLocations where the event will take place. If not provided, cal video link will be used as the location. Note: Setting a location to a conferencing app does not install the app - the app must already be installed. Via API, only Google Meet (google-meet), Microsoft Teams (office365-video), and Zoom (zoom) can be installed. Cal Video (cal-video) is installed by default. All other conferencing apps must be connected via the Cal.com web app and are not available for Platform plan customers. You can only set an event type location to an app that has already been installed or connected.
lockTimeZoneToggleOnBookingPagebooleanNolockTimeZoneToggleOnBookingPage
minimumBookingNoticenumberNoMinimum number of minutes before the event that a booking can be made.
offsetStartnumberNoOffset timeslots shown to bookers by a specified number of minutes
onlyShowFirstAvailableSlotbooleanNoThis will limit your availability for this event type to one slot per day, scheduled at the earliest available time.
recurrenceobjectNoCreate a recurring event type.
requiresBookerEmailVerificationbooleanNorequiresBookerEmailVerification
scheduleIdnumberNoIf you want that this event has different schedule than user’s default one you can specify it here.
seatsobjectNoCreate an event type with multiple seats.
showOptimizedSlotsbooleanNoArrange time slots to optimize availability.
slotIntervalnumberNoNumber representing length of each slot when event is booked. By default it equal length of the event type. If event length is 60 minutes then we would have slots 9AM, 10AM, 11AM etc. but if it was changed to 30 minutes then we would have slots 9AM, 9:30AM, 10AM, 10:30AM etc. as the available times to book the 60 minute event.
slugstringNoslug
successRedirectUrlstringNoA valid URL where the booker will redirect to, once the booking is completed successfully
titlestringNotitle
useDestinationCalendarEmailbooleanNouseDestinationCalendarEmail

cal_event_types_type_webhooks_controller_create_event_type_webhook

Create a webhook Parameters:
ParameterTypeRequiredDefaultDescription
eventTypeIdnumberYeseventTypeId
activebooleanYesactive
payloadTemplatestringNoThe template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information
secretstringNosecret
subscriberUrlstringYessubscriberUrl
triggersany[]Yestriggers
versionstringNoThe version of the webhook

cal_event_types_type_webhooks_controller_delete_all_event_type_webhooks

Delete all webhooks Parameters:
ParameterTypeRequiredDefaultDescription
eventTypeIdnumberYeseventTypeId

cal_event_types_type_webhooks_controller_delete_event_type_webhook

Delete a webhook Parameters:
ParameterTypeRequiredDefaultDescription
webhookIdstringYeswebhookId
eventTypeIdnumberYeseventTypeId

cal_event_types_type_webhooks_controller_get_event_type_webhook

Get a webhook Parameters:
ParameterTypeRequiredDefaultDescription
webhookIdstringYeswebhookId
eventTypeIdnumberYeseventTypeId

cal_event_types_type_webhooks_controller_get_event_type_webhooks

Get all webhooks Parameters:
ParameterTypeRequiredDefaultDescription
eventTypeIdnumberYeseventTypeId
takenumberNoMaximum number of items to return
skipnumberNoNumber of items to skip

cal_event_types_type_webhooks_controller_update_event_type_webhook

Update a webhook Parameters:
ParameterTypeRequiredDefaultDescription
webhookIdstringYeswebhookId
eventTypeIdnumberYeseventTypeId
activebooleanNoactive
payloadTemplatestringNoThe template of the payload that will be sent to the subscriberUrl, check cal.com/docs/core-features/webhooks for more information
secretstringNosecret
subscriberUrlstringNosubscriberUrl
triggersany[]Notriggers
versionstringNoThe version of the webhook