Update Calendar
PUT/calendars/:calendarId
Update calendar by ID.
Request
API Version
v3Calendar Id
- application/json
- Body
- Example (auto)
Bodyrequired
🚨 Deprecated! Please use 'Calendar Notifications APIs' instead.
Group Id
Team members are required for calendars of type: Round Robin, Collective, Class, Service. Personal calendar must have exactly one team member.
Event type for round robin distribution
RoundRobin_OptimizeForAvailabilityRoundRobin_OptimizeForEqualDistributionCalendar name
Calendar description
Calendar slug for URL
Widget slug
Calendar widget type. Choose "default" for "neo" and "classic" for "classic" layout.
defaultclassicTitle for calendar events
Color for calendar events in hex format
#039be5Meeting location configuration for event calendar
This controls the duration of the meeting
30Unit for slot duration.
minshoursUnit for pre-buffer.
minshoursSlot interval reflects the amount of time the between booking slots that will be shown in the calendar.
30Unit for slot interval.
minshoursSlot-Buffer is additional time that can be added after an appointment, allowing for extra time to wrap up
Pre-Buffer is additional time that can be added before an appointment, allowing for extra time to get ready
Deprecated: use appointmentPerSlot instead. Maximum bookings per slot (per user)
Number of appointments that can be booked for a given day
Minimum scheduling notice for events
Unit for minimum scheduling notice
hoursdaysweeksmonthsminsMinimum number of days/weeks/months for which to allow booking events
Unit for controlling the duration for which booking would be allowed for
daysweeksmonthsWhile we will support this property for backward compatibility, it is recommended to use 'Availability' APIs instead.
Enable recurring appointments for the calendars. Please note that only one member should be added in the calendar to enable this
falseRecurring appointment configuration
Form ID to be used for booking
Enable sticky contact assignment
Whether payment mode is live
Auto-confirm appointments
Send alert emails to assigned team member
Alert email address
Send Google invitation emails
Allow rescheduling of appointments
Allow cancellation of appointments
Assign contact to team member on booking
Skip assigning contact if contact already exists
Notes for the calendar
Facebook Pixel ID for tracking
Action after form submission
RedirectURLThankYouMessageRedirect URL after form submission
Thank you message displayed after form submission
While we will support this property for backward compatibility, it is not required anymore.
01While we will support this property for backward compatibility, it is recommended to use 'Availability' APIs instead.
Type of guest allowed
count_onlycollect_detailConsent label text
Calendar cover image URL
Look Busy Configuration
Whether the calendar is active
Maximum bookings per slot (per user)
Number of appointments that can be booked for a given day
{
"groupId": "BqTwX8QFwXzpegMve9EQ",
"teamMembers": [
{
"userId": "ocQHyuzHvysMo5N5VsXc",
"priority": 0.5,
"isPrimary": true
}
],
"eventType": "RoundRobin_OptimizeForAvailability",
"name": "test calendar",
"description": "this is used for testing",
"slug": "test1",
"widgetSlug": "test1",
"widgetType": "classic",
"eventTitle": "{{contact.name}}",
"eventColor": "#039BE5",
"locationConfigurations": [
{
"kind": "custom",
"location": "https://meet.google.com/abc-def"
}
],
"slotDuration": 30,
"slotDurationUnit": "mins",
"preBufferUnit": "mins",
"slotInterval": 30,
"slotIntervalUnit": "mins",
"slotBuffer": 15,
"preBuffer": 10,
"appoinmentPerSlot": 1,
"appoinmentPerDay": 8,
"allowBookingAfter": 4,
"allowBookingAfterUnit": "days",
"allowBookingFor": 30,
"allowBookingForUnit": "days",
"enableRecurring": false,
"recurring": {
"freq": "WEEKLY",
"count": 4,
"bookingOption": "skip",
"bookingOverlapDefaultStatus": "confirmed"
},
"formId": "YlWd2wuCAZQzh2cH1fVZ",
"stickyContact": true,
"isLivePaymentMode": false,
"autoConfirm": true,
"shouldSendAlertEmailsToAssignedMember": false,
"googleInvitationEmails": true,
"allowReschedule": true,
"allowCancellation": true,
"shouldAssignContactToTeamMember": true,
"shouldSkipAssigningContactForExisting": false,
"notes": "Please arrive 10 minutes early.",
"pixelId": "1234567890",
"formSubmitType": "ThankYouMessage",
"formSubmitRedirectURL": "https://example.com/thank-you",
"formSubmitThanksMessage": "Thank you for booking!",
"guestType": "count_only",
"consentLabel": "I confirm that I want to receive content from this company using any contact information I provide.",
"calendarCoverImage": "https://path-to-image.com",
"lookBusyConfig": {
"enabled": true,
"lookBusyPercentage": 50
},
"isActive": true,
"appointmentPerSlot": 1,
"appointmentPerDay": 8
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
Calendar details
{
"calendar": {
"id": "0TkCdp9PfvLeWKYRRvIz",
"name": "test calendar",
"locationId": "ocQHyuzHvysMo5N5VsXc"
}
}