Skip to content

HighLevel: Create Calendar

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

← Calendars operations · Get started

Operation gohighlevel.create_calendar

Provider route: POST /calendars/. 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"]["createCalendar"]>[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.createCalendar(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.create_calendar(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
bodyModelRequired within parentExpand Create Calendar — request body — body

Referenced models: Create 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

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

Create 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
allowCancellationbooleanOptionalDefault: true
allowReschedulebooleanOptionalDefault: true
appoinmentPerDaynumberOptionalNumber of appointments that can be booked for a given day
appoinmentPerSlotnumberOptionalMaximum bookings per slot (per user). Maximum seats per slot in case of Class Booking Calendar.
Default: 1
autoConfirmbooleanOptionalDefault: true
availabilitiesarrayOptionalWhile we will support this property for backward compatibility, it is recommended to use 'Availability' APIs instead.
availabilities[]ModelEach itemExpand Create 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
calendarTypestringOptionalOne of: round_robin, event, class_booking, collective, service_booking, personal
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
eventTitlestringOptionalDefault: {{contact.name}}
eventTypestringOptionalDefault: RoundRobin_OptimizeForAvailability
One of: RoundRobin_OptimizeForAvailability, RoundRobin_OptimizeForEqualDistribution
formIdstringOptional
formSubmitRedirectURLstringOptional
formSubmitThanksMessagestringOptional
formSubmitTypestringOptionalDefault: ThankYouMessage
One of: RedirectURL, ThankYouMessage
googleInvitationEmailsbooleanOptionalDefault: false
groupIdstringOptionalGroup Id
guestTypestringOptionalOne of: count_only, collect_detail
isActivebooleanOptionalShould the created calendar be active or draft
Default: true
isLivePaymentModebooleanOptional
locationConfigurationsarrayOptionalMeeting location configuration for event calendar
locationConfigurations[]ModelEach itemExpand Create Calendar — request body — body location Configurations item
locationIdstringRequired within parent
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
namestringRequired within parent
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
slotBufferUnitstringOptionalUnit for slot buffer.
One of: mins, hours
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 availabilities item, 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

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 availabilities item
FieldTypePresenceDescription and constraints
$objectRoot
datestringRequired within parentFormulate the date string in the format of `<YYYY-MM-DD in local timezone>T00:00:00.000Z`.
deletedbooleanOptionalDefault: false
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 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

SDK function policy ID: gohighlevel.create_calendar. Catalog operation: create-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.