Skip to content

HighLevel: Update Calendar

HighLevel calendars.updateCalendar: arguments, response, policy and SDK examples.

← Calendars operations · Get started

Operation gohighlevel.update_calendar

Provider route: PUT /calendars/{calendarId}. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/gohighlevel with npm, or alter-sdk-gohighlevel with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { HighLevelIntegration } from "@alter-ai/gohighlevel";
async function execute(input: Parameters<HighLevelIntegration["calendars"]["updateCalendar"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new HighLevelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.calendars.updateCalendar(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_gohighlevel import HighLevelIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = HighLevelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.calendars.update_calendar(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.calendarIdstringRequired within parent
bodyModelRequired within parentExpand Update Calendar — request body — body

Referenced models: Update Calendar — request body — body

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Get Calendar — response body

Referenced models: Get Calendar — response body

12 more schemas are linked from the tables above, on the schema pages.

Update Calendar — request body — body
FieldTypePresenceDescription and constraints
$objectRoot
alertEmailstringOptional
allowBookingAfternumberOptionalMinimum scheduling notice for events
allowBookingAfterUnitstringOptionalUnit for minimum scheduling notice
One of: hours, days, weeks, months, mins
allowBookingFornumberOptionalMinimum number of days/weeks/months for which to allow booking events
allowBookingForUnitstringOptionalUnit for controlling the duration for which booking would be allowed for
One of: days, weeks, months
allowCancellationbooleanOptional
allowReschedulebooleanOptional
appoinmentPerDaynumberOptionalNumber of appointments that can be booked for a given day
appoinmentPerSlotnumberOptional
autoConfirmbooleanOptional
availabilitiesarrayOptionalWhile we will support this property for backward compatibility, it is recommended to use 'Availability' APIs instead.
availabilities[]ModelEach itemExpand Update Calendar — request body — body availabilities item
availabilityTypenumberOptionalWhile we will support this property for backward compatibility, it is not required anymore.
One of: 0, 1
calendarCoverImagestringOptional
consentLabelstringOptional
descriptionstringOptional
enableRecurringbooleanOptionalEnable recurring appointments for the calendars. Please note that only one member should be added in the calendar to enable this
Default: false
eventColorstringOptionalDefault: #039be5
eventTitlestringOptional
eventTypestringOptionalOne of: RoundRobin_OptimizeForAvailability, RoundRobin_OptimizeForEqualDistribution
formIdstringOptional
formSubmitRedirectURLstringOptional
formSubmitThanksMessagestringOptional
formSubmitTypestringOptionalDefault: ThankYouMessage
One of: RedirectURL, ThankYouMessage
googleInvitationEmailsbooleanOptional
groupIdstringOptionalGroup Id
guestTypestringOptionalOne of: count_only, collect_detail
isActivebooleanOptional
isLivePaymentModebooleanOptional
locationConfigurationsarrayOptionalMeeting location configuration for event calendar
locationConfigurations[]ModelEach itemExpand Create Calendar — request body — body location Configurations item
lookBusyConfigJSONOptionalLook Busy Configuration
lookBusyConfig (allOf 1)ModelAll variants applyExpand Create Calendar — request body — body look Busy Config Look Busy Percentage, enabled
meetingLocationstringOptional🚨 Deprecated! Use `locationConfigurations.location` or `teamMembers[].locationConfigurations.location` instead.
Read only: true
namestringOptional
notesstringOptional
notificationsarrayOptional🚨 Deprecated! Please use 'Calendar Notifications APIs' instead.
notifications[]ModelEach itemExpand Create Calendar — request body — body notifications item
openHoursarrayOptionalWhile we will support this property for backward compatibility, it is recommended to use 'Availability' APIs instead.
openHours[]ModelEach itemExpand Create Calendar — request body — body open Hours item
pixelIdstringOptional
preBuffernumberOptionalPre-Buffer is additional time that can be added before an appointment, allowing for extra time to get ready
preBufferUnitstringOptionalUnit for pre-buffer.
One of: mins, hours
recurringModelOptionalExpand Create Calendar — request body — body recurring
shouldAssignContactToTeamMemberbooleanOptional
shouldSendAlertEmailsToAssignedMemberbooleanOptional
shouldSkipAssigningContactForExistingbooleanOptional
slotBuffernumberOptionalSlot-Buffer is additional time that can be added after an appointment, allowing for extra time to wrap up
slotDurationnumberOptionalThis controls the duration of the meeting
Default: 30
slotDurationUnitstringOptionalUnit for slot duration.
One of: mins, hours
slotIntervalnumberOptionalSlot interval reflects the amount of time the between booking slots that will be shown in the calendar.
Default: 30
slotIntervalUnitstringOptionalUnit for slot interval.
One of: mins, hours
slugstringOptional
stickyContactbooleanOptional
teamMembersarrayOptionalTeam members are required for calendars of type: Round Robin, Collective, Class, Service. Personal calendar must have exactly one team member.
teamMembers[]ModelEach itemExpand Create Calendar — request body — body team Members item
widgetSlugstringOptional
widgetTypestringOptionalCalendar widget type. Choose "default" for "neo" and "classic" for "classic" layout.
Default: classic
One of: default, classic

Referenced models: Create Calendar — request body — body notifications item, Create Calendar — request body — body location Configurations item, Create Calendar — request body — body look Busy Config Look Busy Percentage, enabled, Create Calendar — request body — body open Hours item, Create Calendar — request body — body recurring, Create Calendar — request body — body team Members item, Update Calendar — request body — body availabilities item

Get Calendar — response body
FieldTypePresenceDescription and constraints
$objectRoot
calendarModelRequired within parentExpand Get Calendar — response body — calendar

Referenced models: Get Calendar — response body — calendar

Create Calendar — request body — body notifications item
FieldTypePresenceDescription and constraints
$objectRoot
selectedUsersstringRequired within parentComma separated emails
shouldSendToContactbooleanRequired within parent
shouldSendToGuestbooleanRequired within parent
shouldSendToSelectedUsersbooleanRequired within parent
shouldSendToUserbooleanRequired within parent
typestringOptionalCalendar Notification
Default: email
One of: email
Create Calendar — request body — body location Configurations item
FieldTypePresenceDescription and constraints
$objectRoot
kindstringRequired within parentType of meeting location. zoom_conference/google_conference/ms_teams_conference is not supported in event calendar type
One of: custom, zoom_conference, google_conference, inbound_call, outbound_call, physical, booker, ms_teams_conference
locationstringOptionalAddress for meeting location. Not applicable on "zoom_conference", "google_conference" and "ms_teams_conference" kind
Create Calendar — request body — body look Busy Config Look Busy Percentage, enabled
FieldTypePresenceDescription and constraints
$objectRoot
LookBusyPercentagenumberRequired within parentPercentage of slots that will be hidden
enabledbooleanRequired within parentApply Look Busy
Default: false
Create Calendar — request body — body open Hours item
FieldTypePresenceDescription and constraints
$objectRoot
daysOfTheWeekarrayRequired within parent
daysOfTheWeek[]numberEach itemMaximum: 6
Minimum: 0
hoursarrayRequired within parent
hours[]ModelEach itemExpand Create Calendar — request body — body open Hours item hours item

Referenced models: Create Calendar — request body — body open Hours item hours item

Create Calendar — request body — body recurring
FieldTypePresenceDescription and constraints
$objectRoot
bookingOptionstringOptionalThis setting contols what to do incase a recurring slot is unavailable
One of: skip, continue, book_next
bookingOverlapDefaultStatusstringOptionalThis setting contols what to do incase a recurring slot is unavailable
One of: confirmed, new
countnumberOptionalNumber of recurrences
Maximum: 24
freqstringOptionalOne of: DAILY, WEEKLY, MONTHLY

SDK function policy ID: gohighlevel.update_calendar. Catalog operation: update-calendar. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["calendars.write"]

Pinned headers: {"Version": "v3"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.