Skip to content

HubSpot: Retrieve booking info

HubSpot scheduler.getMeetingSlug: arguments, response, policy and SDK examples.

← Scheduler operations · Get started

Operation hubspot.scheduler_get_meeting_slug

Provider route: GET /scheduler/2026-09/meetings/meeting-links/book/{slug}. Alter supplies the connection’s credentials and routing.

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

import { App } from "@alter-ai/sdk";
import { HubSpotIntegration } from "@alter-ai/hubspot";
async function execute(input: Parameters<HubSpotIntegration["scheduler"]["getMeetingSlug"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new HubSpotIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.scheduler.getMeetingSlug(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_hubspot import HubSpotIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = HubSpotIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.scheduler.get_meeting_slug(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.slugstringRequired within parent
queryobjectRequired within parentAdditional keys: not allowed
query.timezonestringRequired 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 Retrieve booking info — response body

Referenced models: Retrieve booking info — response body

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

Retrieve booking info — response body
FieldTypePresenceDescription and constraints
$objectRoot
allUsersBusyTimesarrayRequired within parentAn array of objects representing the busy times for all users associated with the meeting link.
allUsersBusyTimes[]ModelEach itemExpand Retrieve availability — response body — all Users Busy Times item
brandingMetadataModelOptionalExpand Retrieve booking info — response body — branding Metadata
customParamsModelRequired within parentExpand Retrieve booking info — response body — custom Params
isOfflinebooleanRequired within parentA boolean indicating whether the meeting link is offline.
linkAvailabilityModelOptionalExpand Retrieve availability — response body — link Availability
linkIdstringRequired within parentThe unique identifier for the meeting link.
linkTypestringRequired within parentThe type of meeting link. Valid values include 'PERSONAL_LINK', 'GROUP_CALENDAR', and 'ROUND_ROBIN_CALENDAR'.
Known values: GROUP_CALENDAR, PERSONAL_LINK, ROUND_ROBIN_CALENDAR

Referenced models: Retrieve booking info — response body — branding Metadata, Retrieve availability — response body — link Availability, Retrieve booking info — response body — custom Params, Retrieve availability — response body — all Users Busy Times item

Retrieve booking info — response body — branding Metadata
FieldTypePresenceDescription and constraints
$objectRoot
accent2ColorstringOptionalThe second accent color used for branding, represented as a string.
accentColorstringOptionalThe accent color used for branding, represented as a string.
companyAddressLine1stringOptionalThe first line of the company's address.
companyAddressLine2stringOptionalThe second line of the company's address, if applicable.
companyAvatarstringOptionalThe URL of the company's avatar image.
companyCitystringOptionalThe city where the company is located.
companyCountrystringOptionalThe country where the company is located.
companyDomainstringOptionalThe domain of the company, typically used in URLs.
companyNamestringOptionalThe name of the company.
companyStatestringOptionalThe state or region where the company is located.
companyZipstringOptionalThe postal or ZIP code of the company's location.
logoAltTextstringRequired within parentThe alternative text for the company logo, used for accessibility.
logoHeightJSONOptional
logoHeight (anyOf 1)integerAlternativeThe height of the company logo in pixels.
Format: int32
logoHeight (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
logoUrlstringOptionalThe URL of the company logo image.
logoWidthJSONOptional
logoWidth (anyOf 1)integerAlternativeThe width of the company logo in pixels.
Format: int32
logoWidth (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
primaryColorstringOptionalThe primary color used for branding, represented as a string.
secondaryColorstringOptionalThe secondary color used for branding, represented as a string.
showMarketingAdbooleanRequired within parentIndicates whether a marketing advertisement should be displayed. This is a boolean value.
showSalesAdbooleanRequired within parentIndicates whether a sales advertisement should be displayed. This is a boolean value.
Retrieve availability — response body — link Availability
FieldTypePresenceDescription and constraints
$objectRoot
hasMorebooleanRequired within parentA boolean indicating whether there are more available meeting times beyond those currently provided.
linkAvailabilityByDurationobjectRequired within parentAn object where each key is a duration and the value is an availability object for that duration. This provides detailed availability information for each specified meeting duration.
Additional keys: see wildcard field
linkAvailabilityByDuration.*ModelAdditional keysExpand Retrieve availability — response body — link Availability link Availability By Duration value

Referenced models: Retrieve availability — response body — link Availability link Availability By Duration value

Retrieve booking info — response body — custom Params
FieldTypePresenceDescription and constraints
$objectRoot
availabilityobjectRequired within parentAn object representing the availability settings for the meeting link, with additional properties for closed ranges.
Additional keys: see wildcard field
availability.*ModelAdditional keysExpand Retrieve booking info — response body — custom Params availability value
customAvailabilityEndDateJSONOptional
customAvailabilityEndDate (anyOf 1)integerAlternativeAn integer representing the custom availability end date as a Unix timestamp in milliseconds.
Format: int64
customAvailabilityEndDate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
customAvailabilityStartDateJSONOptional
customAvailabilityStartDate (anyOf 1)integerAlternativeAn integer representing the custom availability start date as a Unix timestamp in milliseconds.
Format: int64
customAvailabilityStartDate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
displayInfoModelOptionalExpand Retrieve booking info — response body — custom Params display Info
durationsarrayRequired within parentAn array of integers representing the possible durations for meetings in milliseconds.
durations[]JSONEach item
durations[] (anyOf 1)integerAlternativeFormat: int64
durations[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
formFieldsarrayRequired within parentAn array of form fields that are included in the meeting link form.
formFields[]ModelEach itemExpand Retrieve booking info — response body — custom Params form Fields item
guestSettingsModelOptionalExpand Retrieve booking info — response body — custom Params guest Settings
languagestringOptionalA string representing the language setting for the meeting link.
legalConsentEnabledbooleanRequired within parentA boolean indicating whether legal consent is required for the meeting link.
legalConsentOptionsModelOptionalExpand Retrieve booking info — response body — custom Params legal Consent Options
localestringOptionalA string representing the locale setting for the meeting link.
locationstringOptionalA string representing the location information for the meeting.
meetingBufferTimeJSONRequired within parent
meetingBufferTime (anyOf 1)integerAlternativeAn integer representing the buffer time between meetings in milliseconds.
Format: int64
meetingBufferTime (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ownerPrioritizedbooleanRequired within parentA boolean indicating whether the meeting owner is prioritized in scheduling.
redirectUrlstringOptionalA string representing the URL to which users are redirected after booking a meeting.
startTimeIncrementMinutesstringRequired within parentA string indicating the increment for start times, with valid values including 'MEETING_DURATION', 'FIVE', 'TEN', 'FIFTEEN', 'TWENTY', 'THIRTY', 'FORTY_FIVE', 'SIXTY', 'NINETY', and 'ONE_HUNDRED_TWENTY'.
Known values: FIFTEEN, FIVE, FORTY_FIVE, MEETING_DURATION, NINETY, ONE_HUNDRED_TWENTY, SIXTY, TEN, THIRTY, TWENTY
weeksToAdvertiseJSONRequired within parent
weeksToAdvertise (anyOf 1)integerAlternativeAn integer representing the number of weeks to advertise the meeting link.
Format: int32
weeksToAdvertise (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
welcomeScreenInfoModelOptionalExpand Retrieve booking info — response body — custom Params welcome Screen Info

Referenced models: Retrieve booking info — response body — custom Params welcome Screen Info, Retrieve booking info — response body — custom Params availability value, Retrieve booking info — response body — custom Params guest Settings, Retrieve booking info — response body — custom Params legal Consent Options, Retrieve booking info — response body — custom Params display Info, Retrieve booking info — response body — custom Params form Fields item

SDK function policy ID: hubspot.scheduler_get_meeting_slug. Catalog operation: scheduler_get_meeting_slug. 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: ["scheduler.meetings.meeting-link.read"]

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.