Skip to content

HighLevel: Get Calendar

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

← Calendars operations · Get started

Operation gohighlevel.get_calendar

Provider route: GET /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"]["getCalendar"]>[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.getCalendar(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.get_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

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

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

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

Referenced models: Get Calendar — response body — calendar

Get Calendar — response body — calendar
FieldTypePresenceDescription and constraints
$objectRoot
alertEmailstringOptional
allowBookingAfterJSONOptional
allowBookingAfter (anyOf 1)numberAlternativeMinimum scheduling notice for events
allowBookingAfter (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
allowBookingAfterUnitstringOptionalUnit for minimum scheduling notice
Known values: hours, days, weeks, months, mins
allowBookingForJSONOptional
allowBookingFor (anyOf 1)numberAlternativeMinimum number of days/weeks/months for which to allow booking events
allowBookingFor (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
allowBookingForUnitstringOptionalUnit for controlling the duration for which booking would be allowed for
Known values: days, weeks, months
allowCancellationbooleanOptionalDefault: true
allowReschedulebooleanOptionalDefault: true
appoinmentPerDayJSONOptional
appoinmentPerDay (anyOf 1)numberAlternativeNumber of appointments that can be booked for a given day
appoinmentPerDay (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
appoinmentPerSlotJSONOptional
appoinmentPerSlot (anyOf 1)numberAlternativeMaximum bookings per slot (per user). Maximum seats per slot in case of Class Booking Calendar.
Default: 1
appoinmentPerSlot (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
autoConfirmbooleanOptionalDefault: true
availabilitiesarrayOptionalWhile we will support this property for backward compatibility, it is recommended to use 'Availability' APIs instead.
availabilities[]ModelEach itemExpand Get Calendar — response body — calendar availabilities item
availabilityTypeJSONOptional
availabilityType (anyOf 1)numberAlternativeWhile we will support this property for backward compatibility, it is not required anymore.
Known values: 0, 1
availabilityType (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
calendarCoverImagestringOptional
calendarTypestringOptionalKnown values: 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}}
eventTypestringOptionalKnown values: RoundRobin_OptimizeForAvailability, RoundRobin_OptimizeForEqualDistribution
Default: RoundRobin_OptimizeForAvailability
formIdstringOptional
formSubmitRedirectURLstringOptional
formSubmitThanksMessagestringOptional
formSubmitTypestringOptionalKnown values: RedirectURL, ThankYouMessage
Default: ThankYouMessage
googleInvitationEmailsbooleanOptionalDefault: false
groupIdstringOptionalGroup Id
guestTypestringOptionalKnown values: count_only, collect_detail
idstringRequired within parent
isActivebooleanOptionalShould the created calendar be active or draft
Default: true
isLivePaymentModebooleanOptional
locationConfigurationsarrayOptionalMeeting location configuration for event calendar
locationConfigurations[]ModelEach itemExpand Get Calendar — response body — calendar location Configurations item
locationIdstringRequired within parent
lookBusyConfigJSONOptionalLook Busy Configuration
lookBusyConfig (allOf 1)ModelAll variants applyExpand Get Calendar — response body — calendar 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 Get Calendar — response body — calendar notifications item
openHoursarrayOptionalWhile we will support this property for backward compatibility, it is recommended to use 'Availability' APIs instead.
openHours[]ModelEach itemExpand Get Calendar — response body — calendar open Hours item
pixelIdstringOptional
preBufferJSONOptional
preBuffer (anyOf 1)numberAlternativePre-Buffer is additional time that can be added before an appointment, allowing for extra time to get ready
preBuffer (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
preBufferUnitstringOptionalUnit for pre-buffer.
Known values: mins, hours
recurringModelOptionalExpand Get Calendar — response body — calendar recurring
shouldAssignContactToTeamMemberbooleanOptional
shouldSendAlertEmailsToAssignedMemberbooleanOptional
shouldSkipAssigningContactForExistingbooleanOptional
slotBufferJSONOptional
slotBuffer (anyOf 1)numberAlternativeSlot-Buffer is additional time that can be added after an appointment, allowing for extra time to wrap up
slotBuffer (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
slotBufferUnitstringOptionalUnit for slot buffer.
Known values: mins, hours
slotDurationJSONOptional
slotDuration (anyOf 1)numberAlternativeThis controls the duration of the meeting
Default: 30
slotDuration (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
slotDurationUnitstringOptionalUnit for slot duration.
Known values: mins, hours
slotIntervalJSONOptional
slotInterval (anyOf 1)numberAlternativeSlot interval reflects the amount of time the between booking slots that will be shown in the calendar.
Default: 30
slotInterval (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
slotIntervalUnitstringOptionalUnit for slot interval.
Known values: mins, hours
slugstringOptional
stickyContactbooleanOptional
teamMembersarrayOptionalTeam members are for calendars of type: Round Robin, Collective, Class, Service. Personal calendar must have exactly one team member.
teamMembers[]ModelEach itemExpand Get Calendar — response body — calendar team Members item
widgetSlugstringOptional
widgetTypestringOptionalCalendar widget type. Choose "default" for "neo" and "classic" for "classic" layout.
Known values: default, classic
Default: classic

Referenced models: Get Calendar — response body — calendar availabilities item, Get Calendar — response body — calendar notifications item, Get Calendar — response body — calendar location Configurations item, Get Calendar — response body — calendar look Busy Config Look Busy Percentage, enabled, Get Calendar — response body — calendar open Hours item, Get Calendar — response body — calendar recurring, Get Calendar — response body — calendar team Members item

Get Calendar — response body — calendar 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 Get Calendar — response body — calendar open Hours item hours item

Referenced models: Get Calendar — response body — calendar open Hours item hours item

SDK function policy ID: gohighlevel.get_calendar. Catalog operation: get-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.readonly"]

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.