Authenticate with Authorization: Bearer $LUNACAL_API_KEY and send JSON using POST. API key setup.
Finds open booking slots for an event type between startTime and endTime. Call this before creating or rescheduling a booking. Identify the event type with eventTypeId, or with eventTypeSlug plus usernameList.
Body
string
required
Start of the range. ISO 8601 date-time including a timezone offset.
string
required
End of the range. ISO 8601 date-time including a timezone offset.
string
required
IANA timezone, for example Asia/Kolkata.
integer
ID of the event type.
string
Event type slug. Requires usernameList when used instead of eventTypeId.
string[]
Host username(s). Pairs with eventTypeSlug.
integer
Duration in minutes, for event types that offer more than one.
string
UID of the booking being rescheduled, so it is excluded from conflicts.
The response is the same one the LunaCal platform returns for this route.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"Lunacal.ai","colors":{"primary":"#d87fd8","light":"#d87fd8","dark":"#d87fd8"},"logo":{"light":"https://mintcdn.com/lunacalai/-7Ir3zvwqXhmUhg0/logo/lunacal-logo-light.svg?fit=max\u0026auto=format\u0026n=-7Ir3zvwqXhmUhg0\u0026q=85\u0026s=6505b42668481df4300de9262f80fbed","dark":"https://mintcdn.com/lunacalai/-7Ir3zvwqXhmUhg0/logo/lunacal-logo-dark.svg?fit=max\u0026auto=format\u0026n=-7Ir3zvwqXhmUhg0\u0026q=85\u0026s=c068a2b4afc3818f8d821f21db3afafe"},"favicon":"https://mintcdn.com/lunacalai/1VzCvxTsH_HZ0Hyn/favicon.ico?fit=max\u0026auto=format\u0026n=1VzCvxTsH_HZ0Hyn\u0026q=85\u0026s=f1294b82a1b19c1383250afb6205a672","navbar":{"links":[{"href":"https://lunacal.ai/lunacal-support/quick-support","label":"Support"}]},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/lunacal"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lunacalai","hasAudioNarration":false,"actualSubdomain":"lunacalai","customDomains":["help.lunacal.ai"],"gitSource":{"type":"github","owner":"lunacal","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae8ae55883d97e41aaf66d9","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":14},{"language":"default","tag":"Teams \u0026 Workspaces","count":13},{"language":"default","tag":"Event Types","count":13},{"language":"default","tag":"Advanced","count":10},{"language":"default","tag":"Integrations","count":7},{"language":"default","tag":"Event type endpoints","count":6},{"language":"default","tag":"Workflows","count":3},{"language":"default","tag":"Booking endpoints","count":3},{"language":"default","tag":"Bookings Page","count":3},{"language":"default","tag":"Others","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".nav-logo{height:1.25rem!important}"}],"page":{"pagePath":"api/endpoints/get-availability","slug":"/api/endpoints/get-availability","pageMetadata":{"title":"Get availability","description":"Retrieve open booking slots for an event type.","href":"/api/endpoints/get-availability"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve open booking slots for an event type.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,ParamField}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`Authenticate with `,_jsx(_components.code,{children:`Authorization: Bearer $LUNACAL_API_KEY`}),` and send JSON using POST. `,_jsx(_components.a,{href:`/api/authentication`,children:`API key setup`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Finds open booking slots for an event type between `,_jsx(_components.code,{children:`startTime`}),` and `,_jsx(_components.code,{children:`endTime`}),`. Call this before creating or rescheduling a booking. Identify the event type with `,_jsx(_components.code,{children:`eventTypeId`}),`, or with `,_jsx(_components.code,{children:`eventTypeSlug`}),` plus `,_jsx(_components.code,{children:`usernameList`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`startTime`,type:`string`,required:true,id:`param-start-time`,children:_jsx(_components.p,{children:`Start of the range. ISO 8601 date-time including a timezone offset.`})}),`\n`,_jsx(ParamField,{body:`endTime`,type:`string`,required:true,id:`param-end-time`,children:_jsx(_components.p,{children:`End of the range. ISO 8601 date-time including a timezone offset.`})}),`\n`,_jsx(ParamField,{body:`timeZone`,type:`string`,required:true,id:`param-time-zone`,children:_jsxs(_components.p,{children:[`IANA timezone, for example `,_jsx(_components.code,{children:`Asia/Kolkata`}),`.`]})}),`\n`,_jsx(ParamField,{body:`eventTypeId`,type:`integer`,id:`param-event-type-id`,children:_jsx(_components.p,{children:`ID of the event type.`})}),`\n`,_jsx(ParamField,{body:`eventTypeSlug`,type:`string`,id:`param-event-type-slug`,children:_jsxs(_components.p,{children:[`Event type slug. Requires `,_jsx(_components.code,{children:`usernameList`}),` when used instead of `,_jsx(_components.code,{children:`eventTypeId`}),`.`]})}),`\n`,_jsx(ParamField,{body:`usernameList`,type:`string[]`,id:`param-username-list`,children:_jsxs(_components.p,{children:[`Host username(s). Pairs with `,_jsx(_components.code,{children:`eventTypeSlug`}),`.`]})}),`\n`,_jsx(ParamField,{body:`duration`,type:`integer`,id:`param-duration`,children:_jsx(_components.p,{children:`Duration in minutes, for event types that offer more than one.`})}),`\n`,_jsx(ParamField,{body:`rescheduleUid`,type:`string`,id:`param-reschedule-uid`,children:_jsx(_components.p,{children:`UID of the booking being rescheduled, so it is excluded from conflicts.`})}),`\n`,_jsx(_components.p,{children:`The response is the same one the LunaCal platform returns for this route.`}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api/endpoints/bookings-create`,children:`Create booking`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api/endpoints/event-types-list`,children:`List event types`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get availability","description":"Retrieve open booking slots for an event type.","href":"/api/endpoints/get-availability"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[213,313,"pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,RequestExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Headi"],[451,468,"if(!RequestExample)_missingMdxReference(`RequestExample`,true);return _jsxs(_Fra"],[2993,3007,"_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://app.lunacal.ai/api/availability`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$LUNACAL_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"startTime\": \"2026-11-02T00:00:00+05:30\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"endTime\": \"2026-11-08T23:59:59+05:30\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"timeZone\": \"Asia/Kolkata\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"eventTypeId\": 42`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})}),`\n`,_jsx(Headi"]]},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://app.lunacal.ai/api/availability\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$LUNACAL_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"startTime\": \"2026-11-02T00:00:00+05:30\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"endTime\": \"2026-11-08T23:59:59+05:30\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"timeZone\": \"Asia/Kolkata\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"eventTypeId\": 42\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"subdomain":"lunacalai","siteName":"Lunacal.ai","title":"Get availability - Lunacal.ai","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-16T10:23:35.786Z","originalFileLocation":"api/endpoints/get-availability.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve open booking slots for an event type.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lunacal.ai\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get availability - Lunacal.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve open booking slots for an event type.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lunacal.ai\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.lunacal.ai/api/endpoints/get-availability\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lunacalai.mintlify.site/_mintlify/api/og/v2?division=Users+%26+availability\u0026amp;title=Get+availability\u0026amp;description=Retrieve+open+booking+slots+for+an+event+type.\u0026amp;theme=c8823a11e8d39b0dcf23450c\u0026amp;signature=b2d879c59caccf5f7760b09933dd4b6e9a7c4d5129a87d789c7acf8fe52d6a23\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get availability - Lunacal.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve open booking slots for an event type.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lunacalai.mintlify.site/_mintlify/api/og/v2?division=Users+%26+availability\u0026amp;title=Get+availability\u0026amp;description=Retrieve+open+booking+slots+for+an+event+type.\u0026amp;theme=c8823a11e8d39b0dcf23450c\u0026amp;signature=b2d879c59caccf5f7760b09933dd4b6e9a7c4d5129a87d789c7acf8fe52d6a23\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lunacalai/91KrfkN6NalQF6vg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lunacal.ai\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#d87fd8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.lunacal.ai/api/endpoints/get-availability\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/endpoints/get-availability.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.lunacal.ai/#organization\",\"name\":\"Lunacal.ai\",\"url\":\"https://help.lunacal.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lunacalai/-7Ir3zvwqXhmUhg0/logo/lunacal-logo-light.svg?fit=max\u0026auto=format\u0026n=-7Ir3zvwqXhmUhg0\u0026q=85\u0026s=6505b42668481df4300de9262f80fbed\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.lunacal.ai#website\",\"name\":\"Lunacal.ai\",\"url\":\"https://help.lunacal.ai\",\"publisher\":{\"@id\":\"https://help.lunacal.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.lunacal.ai/api/endpoints/get-availability#webpage\",\"url\":\"https://help.lunacal.ai/api/endpoints/get-availability\",\"name\":\"Get availability\",\"description\":\"Retrieve open booking slots for an event type.\",\"dateModified\":\"2026-10-16T10:23:35.786Z\",\"isPartOf\":{\"@id\":\"https://help.lunacal.ai#website\"},\"breadcrumb\":{\"@id\":\"https://help.lunacal.ai/api/endpoints/get-availability#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.lunacal.ai/api/endpoints/get-availability#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://help.lunacal.ai/api/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Users \u0026 availability\",\"item\":\"https://help.lunacal.ai/api/endpoints/me\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get availability\",\"item\":\"https://help.lunacal.ai/api/endpoints/get-availability\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.lunacal.ai/api/endpoints/get-availability#article\",\"headline\":\"Get availability\",\"name\":\"Get availability\",\"description\":\"Retrieve open booking slots for an event type.\",\"url\":\"https://help.lunacal.ai/api/endpoints/get-availability\",\"mainEntityOfPage\":{\"@id\":\"https://help.lunacal.ai/api/endpoints/get-availability#webpage\"},\"dateModified\":\"2026-10-16T10:23:35.786Z\",\"publisher\":{\"@id\":\"https://help.lunacal.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://help.lunacal.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lunacal.ai\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lunacal.ai\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/endpoints/get-availability.md","siteName":"Lunacal.ai","nav":{"global":null,"pages":[{"group":"Event Types","pages":[{"title":"Event Setup","mode":"wide","href":"/event-types/event-setup"},{"title":"Booking Limits and Meeting Buffer Time","mode":"wide","sidebarTitle":"Limits and Buffer","href":"/event-types/limits"},{"title":"Customize Booking Questions and Appointment Forms","mode":"wide","sidebarTitle":"Booking Questions","href":"/event-types/booking-questions"},{"title":"Set Meeting Duration and Offer Multiple Meeting Lengths","mode":"wide","sidebarTitle":"Meeting Duration","href":"/event-types/meeting-duration"},{"title":"Set Up Group Bookings and Limit Seats per Time Slot","mode":"wide","sidebarTitle":"Group Booking","href":"/event-types/group-bookings"},{"title":"Set Up Session Packages and Recurring Bookings","mode":"wide","sidebarTitle":"Package Booking","href":"/event-types/package-booking"},{"title":"Connect Zoom and Add It to Your Booking Events","mode":"wide","sidebarTitle":"How to Add Zoom as the Meeting Location","href":"/event-types/setup-zoom-video"},{"title":"Coupons","mode":"wide","href":"/event-types/coupons"},{"title":"Create Special Coupons for Different Packages","mode":"wide","href":"/event-types/create-special-coupons-for-packages"},{"title":"One-time \u0026 Limited-use Booking Links","mode":"wide","href":"/event-types/one-time-link"},{"title":"Why can’t I edit this setting?","mode":"wide","href":"/why-cant-i-edit-this-setting"},{"title":"Meeting Location","mode":"wide","href":"/meeting-location"},{"title":"Subscriptions (Autopay) ","mode":"wide","href":"/subscriptions-autopay"}]},{"group":"Availability","pages":[{"title":"Setup Your Availability","mode":"wide","href":"/availability-configuration"},{"title":"Availability Exception","mode":"wide","href":"/availability-exception"}]},{"group":"Advanced","pages":[{"title":"Manual Booking Approval","mode":"wide","href":"/manual-approval-booking"},{"title":"Disable Cancellation / Rescheduling","mode":"wide","href":"/disable-cancel-reschedule"},{"title":"Redirect Attendees to a URL After Booking","mode":"wide","href":"/redirect-url"},{"title":"Change Meta Title and Social Preview Image","mode":"wide","href":"/seo-web"},{"title":"Routing Forms","mode":"wide","href":"/routing-forms"},{"title":"Language Settings","mode":"wide","href":"/language-settings"},{"title":"Custom SMTP","mode":"wide","href":"/custom-smtp"},{"title":"Client Portal","mode":"wide","href":"/client-portal"},{"title":"Email Theme","mode":"wide","href":"/email-theme"},{"title":"Custom Domain ","mode":"wide","href":"/custom-domain"}]},{"group":"Teams \u0026 Workspaces","pages":[{"title":"How Workspaces Work","mode":"wide","href":"/workspace/how-workspaces-work"},{"title":"Team Booking Page","mode":"wide","href":"/workspace/edit-team-booking-page"},{"title":"Teams \u0026 Workspaces","mode":"wide","href":"/workspace/teams-service-business"},{"title":"Configure Team Events","mode":"wide","href":"/workspace/manage-event-types"},{"title":"Managed Event","href":"/workspace/managed-event"},{"title":"Manage Team Bookings","mode":"wide","href":"/workspace/manage-team-bookings"},{"title":"Manage Team Members","mode":"wide","href":"/workspace/manage-team-members"},{"title":"Team Booking Page","mode":"wide","href":"/workspace/manage-booking-pages"},{"title":"Team Integrations","mode":"wide","href":"/workspace/team-integrations"},{"title":"Team Settings","mode":"wide","href":"/workspace/team-settings"},{"title":"Team Routing Forms","mode":"wide","href":"/workspace/creating-routing-forms"},{"title":"Team Members Onboarding","mode":"wide","href":"/team-members-onboarding"},{"title":"How to Use lunacal if You Have Multiple Companies","mode":"wide","href":"/company-setup"}]},{"group":"Bookings","pages":[{"title":"Manage Bookings","mode":"wide","href":"/manage-bookings"}]},{"group":"Integrations","pages":[{"title":"PayPal Setup Integration","mode":"wide","href":"/paypal-integration"},{"title":"Set Up Stripe Payments","mode":"wide","href":"/stripe-integration"},{"title":"Integrations \u0026 Managing Apps","mode":"wide","href":"/integration"},{"title":"Adding Calendars to Lunacal","mode":"wide","href":"/adding-calendars"},{"title":"HubSpot Integration With Lunacal.ai Guide","mode":"wide","href":"/hubspot-integration"},{"title":"Pipedrive Integration With lunacal","mode":"wide","href":"/pipedrive-integration"},{"title":"Google Tag Manager (GTM) Integration with lunacal.ai","mode":"wide","href":"/google-tag-manager-integration"}]},{"group":"Workflows","pages":[{"title":"Voice Agent for Meeting Reminders","mode":"wide","href":"/ai-call-workflows"},{"title":"SMS \u0026 Email Workflows","mode":"wide","href":"/sms-and-email-workflows"},{"title":"SMS Pricing and Message Length Guide","mode":"wide","href":"/sms-pricing"}]},{"group":"Dynamic Bookings","pages":[{"title":"Using Dynamic Links","mode":"wide","href":"/dynamic-links"}]},{"group":"Bookings Page","pages":[{"title":"Edit Booking Page","mode":"wide","href":"/edit-booking-page"},{"title":"Event-Specific Widgets","mode":"wide","href":"/event-specific-widgets"},{"title":"Why Do My Time Slots Show as Booked?","mode":"wide","href":"/conflict-slot"}]},{"group":"Embed","pages":[{"title":"Embed Event Into Your Website","mode":"wide","href":"/website-embed"},{"title":"Embed Your Event In Mails","mode":"wide","href":"/email-embed"}]},{"group":"Others","pages":[{"title":"Import Calendly Settings in lunacal.ai","mode":"wide","href":"/import-calendly"},{"title":"Out-Of-Office Setup","mode":"wide","href":"/out-of-office"},{"title":"Data Control \u0026 Retention (GDPR)","mode":"wide","href":"/data-control-retention-gdpr"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks"}]},{"group":"Zapier","pages":[{"title":"Zapier Integration with Lunacal","mode":"wide","href":"/zapier"}]},{"group":"UTM Setup","pages":[{"title":"Track UTM Parameters on Booking Pages","mode":"wide","href":"/utm-setup"},{"title":"Zapier Integration for UTM Tracking","mode":"wide","href":"/utm-zapier-integration"},{"title":"Prefilling Lunacal Booking Form","mode":"wide","href":"/pre-filling-booking-form"}]},{"group":"Report Vulnerability","pages":[{"title":"Responsible Disclosure","href":"/responsible-disclosure"}]},{"group":"Untitled Group","pages":[]},{"group":"API Documentation","pages":[{"title":"API key authentication","href":"/api/authentication"},{"group":"Users \u0026 availability","pages":[{"title":"Get current user","description":"Retrieve the authenticated LunaCal user's profile.","href":"/api/endpoints/me"},{"title":"Get availability","href":"/api/endpoints/get-availability"}]},{"group":"Booking endpoints","pages":[{"title":"List bookings","description":"Retrieve bookings for the account that owns the API key.","href":"/api/endpoints/bookings-list"},{"title":"Create booking","href":"/api/endpoints/bookings-create"},{"title":"Cancel booking","href":"/api/endpoints/bookings-cancel"}]},{"group":"Event type endpoints","pages":[{"title":"List event types","href":"/api/endpoints/event-types-list"},{"title":"Get event type","href":"/api/endpoints/event-types-get"},{"title":"Create event type","href":"/api/endpoints/event-types-create"},{"title":"Update event type","href":"/api/endpoints/event-types-update"},{"title":"Delete event type","href":"/api/endpoints/event-types-delete"},{"title":"Switch published","href":"/api/endpoints/event-types-switch-published"}]},{"title":"API introduction","href":"/api/introduction"},{"title":"Errors","href":"/api/errors"}]},{"title":"Lunacal MCP Server","sidebarTitle":"MCP Server","icon":"plug","href":"/mcp-server"},{"title":"MCP security \u0026 permissions","href":"/mcp-security-and-permissions"}]},"basePath":"","title":"Get availability - Lunacal.ai","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["2b790eda92"],"chunks":["ApiExamples-DTsgtCEj.js","utils-BMo572L7.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","cloneDeep-izs3Hzxb.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js"]}