Authenticate with Authorization: Bearer $LUNACAL_API_KEY and send JSON using POST. API key setup.
Books a slot on an event type. Call Get availability first and pass one of the returned start times; this endpoint does not check availability itself. If the event type has required bookingFields (see Get event type), include the answers in responses, keyed by each field’s name.To reschedule an existing booking, send the same request with its rescheduleUid and the new start time.
Body
integer
required
ID of the event type to book.
string
required
Start time. ISO 8601 date-time including a timezone offset.
string
End time. ISO 8601 date-time including a timezone offset.
string
required
IANA timezone of the attendee.
object
required
Attendee details and booking answers.
Show properties
string
required
Attendee name.
string
required
Attendee email.
string[]
Additional guest emails.
string
Notes for the host.
string
Selected location value, for example integrations:daily or an address.
string
Reason, when rescheduling.
string
UID of the booking to move. Get it from List bookings.
string
default:"en"
Language code.
object
default:"{}"
String key-value pairs stored with the booking.
array
default:"[]"
Send an empty array.
array
default:"[]"
Send an empty array.
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/bookings-create","slug":"/api/endpoints/bookings-create","pageMetadata":{"title":"Create booking","description":"Create or reschedule a booking.","href":"/api/endpoints/bookings-create"},"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: \"Create or reschedule a booking.\"\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},{Expandable,Heading,Note,ParamField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);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:[`Books a slot on an event type. Call `,_jsx(_components.a,{href:`/api/endpoints/get-availability`,children:`Get availability`}),` first and pass one of the returned start times; this endpoint does not check availability itself. If the event type has required `,_jsx(_components.code,{children:`bookingFields`}),` (see `,_jsx(_components.a,{href:`/api/endpoints/event-types-get`,children:`Get event type`}),`), include the answers in `,_jsx(_components.code,{children:`responses`}),`, keyed by each field’s name.`]}),`\n`,_jsxs(_components.p,{children:[`To reschedule an existing booking, send the same request with its `,_jsx(_components.code,{children:`rescheduleUid`}),` and the new start time.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`eventTypeId`,type:`integer`,required:true,id:`param-event-type-id`,children:_jsx(_components.p,{children:`ID of the event type to book.`})}),`\n`,_jsx(ParamField,{body:`start`,type:`string`,required:true,id:`param-start`,children:_jsx(_components.p,{children:`Start time. ISO 8601 date-time including a timezone offset.`})}),`\n`,_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`End time. ISO 8601 date-time including a timezone offset.`})}),`\n`,_jsx(ParamField,{body:`timeZone`,type:`string`,required:true,id:`param-time-zone`,children:_jsx(_components.p,{children:`IANA timezone of the attendee.`})}),`\n`,_jsxs(ParamField,{body:`responses`,type:`object`,required:true,id:`param-responses`,children:[_jsx(_components.p,{children:`Attendee details and booking answers.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Attendee name.`})}),_jsx(ParamField,{body:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`Attendee email.`})}),_jsx(ParamField,{body:`guests`,type:`string[]`,id:`param-guests`,children:_jsx(_components.p,{children:`Additional guest emails.`})}),_jsx(ParamField,{body:`notes`,type:`string`,id:`param-notes`,children:_jsx(_components.p,{children:`Notes for the host.`})}),_jsx(ParamField,{body:`location`,type:`string`,id:`param-location`,children:_jsxs(_components.p,{children:[`Selected location value, for example `,_jsx(_components.code,{children:`integrations:daily`}),` or an address.`]})}),_jsx(ParamField,{body:`rescheduleReason`,type:`string`,id:`param-reschedule-reason`,children:_jsx(_components.p,{children:`Reason, when rescheduling.`})})]})]}),`\n`,_jsx(ParamField,{body:`rescheduleUid`,type:`string`,id:`param-reschedule-uid`,children:_jsx(_components.p,{children:`UID of the booking to move. Get it from List bookings.`})}),`\n`,_jsx(ParamField,{body:`language`,default:`en`,type:`string`,id:`param-language`,children:_jsx(_components.p,{children:`Language code.`})}),`\n`,_jsx(ParamField,{body:`metadata`,default:`{}`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`String key-value pairs stored with the booking.`})}),`\n`,_jsx(ParamField,{body:`bookingUids`,default:`[]`,type:`array`,id:`param-booking-uids`,children:_jsx(_components.p,{children:`Send an empty array.`})}),`\n`,_jsx(ParamField,{body:`slots`,default:`[]`,type:`array`,id:`param-slots`,children:_jsx(_components.p,{children:`Send an empty array.`})}),`\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/get-availability`,children:`Get availability`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api/endpoints/event-types-get`,children:`Get event type`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api/endpoints/bookings-list`,children:`List bookings`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api/endpoints/bookings-cancel`,children:`Cancel booking`})}),`\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":"Create booking","description":"Create or reschedule a booking.","href":"/api/endpoints/bookings-create"}}},"mdxSourceWithNoJs":{"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`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,RequestExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,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:[`Books a slot on an event type. Call `,_jsx(_components.a,{href:`/api/endpoints/get-availability`,children:`Get availability`}),` first and pass one of the returned start times; this endpoint does not check availability itself. If the event type has required `,_jsx(_components.code,{children:`bookingFields`}),` (see `,_jsx(_components.a,{href:`/api/endpoints/event-types-get`,children:`Get event type`}),`), include the answers in `,_jsx(_components.code,{children:`responses`}),`, keyed by each field’s name.`]}),`\n`,_jsxs(_components.p,{children:[`To reschedule an existing booking, send the same request with its `,_jsx(_components.code,{children:`rescheduleUid`}),` and the new start time.`]}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`eventTypeId`,type:`integer`,required:true,id:`param-event-type-id`,children:_jsx(_components.p,{children:`ID of the event type to book.`})}),`\n`,_jsx(ParamField,{body:`start`,type:`string`,required:true,id:`param-start`,children:_jsx(_components.p,{children:`Start time. ISO 8601 date-time including a timezone offset.`})}),`\n`,_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`End time. ISO 8601 date-time including a timezone offset.`})}),`\n`,_jsx(ParamField,{body:`timeZone`,type:`string`,required:true,id:`param-time-zone`,children:_jsx(_components.p,{children:`IANA timezone of the attendee.`})}),`\n`,_jsxs(ParamField,{body:`responses`,type:`object`,required:true,id:`param-responses`,children:[_jsx(_components.p,{children:`Attendee details and booking answers.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Attendee name.`})}),_jsx(ParamField,{body:`email`,type:`string`,required:true,id:`param-email`,children:_jsx(_components.p,{children:`Attendee email.`})}),_jsx(ParamField,{body:`guests`,type:`string[]`,id:`param-guests`,children:_jsx(_components.p,{children:`Additional guest emails.`})}),_jsx(ParamField,{body:`notes`,type:`string`,id:`param-notes`,children:_jsx(_components.p,{children:`Notes for the host.`})}),_jsx(ParamField,{body:`location`,type:`string`,id:`param-location`,children:_jsxs(_components.p,{children:[`Selected location value, for example `,_jsx(_components.code,{children:`integrations:daily`}),` or an address.`]})}),_jsx(ParamField,{body:`rescheduleReason`,type:`string`,id:`param-reschedule-reason`,children:_jsx(_components.p,{children:`Reason, when rescheduling.`})})]})]}),`\n`,_jsx(ParamField,{body:`rescheduleUid`,type:`string`,id:`param-reschedule-uid`,children:_jsx(_components.p,{children:`UID of the booking to move. Get it from List bookings.`})}),`\n`,_jsx(ParamField,{body:`language`,default:`en`,type:`string`,id:`param-language`,children:_jsx(_components.p,{children:`Language code.`})}),`\n`,_jsx(ParamField,{body:`metadata`,default:`{}`,type:`object`,id:`param-metadata`,children:_jsx(_components.p,{children:`String key-value pairs stored with the booking.`})}),`\n`,_jsx(ParamField,{body:`bookingUids`,default:`[]`,type:`array`,id:`param-booking-uids`,children:_jsx(_components.p,{children:`Send an empty array.`})}),`\n`,_jsx(ParamField,{body:`slots`,default:`[]`,type:`array`,id:`param-slots`,children:_jsx(_components.p,{children:`Send an empty array.`})}),`\n`,_jsx(_components.p,{children:`The response is the same one the LunaCal platform returns for this route.`}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`17`,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:`17`,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/bookings/create`}),_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:` \"eventTypeId\": 42,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"start\": \"2026-11-03T10:00:00+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:` \"language\": \"en\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"metadata\": {},`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"responses\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Jane Doe\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"email\": \"jane@example.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"notes\": \"Looking forward to it\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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:` \"bookingUids\": [],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"slots\": []`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\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/get-availability`,children:`Get availability`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api/endpoints/event-types-get`,children:`Get event type`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api/endpoints/bookings-list`,children:`List bookings`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api/endpoints/bookings-cancel`,children:`Cancel booking`})}),`\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":"Create booking","description":"Create or reschedule a booking.","href":"/api/endpoints/bookings-create"}}}},"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=\"17\">\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/bookings/create\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\"> \"eventTypeId\": 42,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"start\": \"2026-11-03T10:00:00+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\"> \"language\": \"en\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"metadata\": {},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"responses\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Jane Doe\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"email\": \"jane@example.com\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"notes\": \"Looking forward to it\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"bookingUids\": [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"slots\": []\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":"Create booking - Lunacal.ai","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-16T10:23:35.791Z","originalFileLocation":"api/endpoints/bookings-create.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=\"Create or reschedule a booking.\">\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=\"Create booking - Lunacal.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create or reschedule a booking.\">\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/bookings-create\">\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=Booking+endpoints\u0026amp;title=Create+booking\u0026amp;description=Create+or+reschedule+a+booking.\u0026amp;theme=c8823a11e8d39b0dcf23450c\u0026amp;signature=8f163d139c155bb83ab599c26b37150e9f8deae9ee313f065eabb434d6bc4c7d\">\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=\"Create booking - Lunacal.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create or reschedule a booking.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lunacalai.mintlify.site/_mintlify/api/og/v2?division=Booking+endpoints\u0026amp;title=Create+booking\u0026amp;description=Create+or+reschedule+a+booking.\u0026amp;theme=c8823a11e8d39b0dcf23450c\u0026amp;signature=8f163d139c155bb83ab599c26b37150e9f8deae9ee313f065eabb434d6bc4c7d\">\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/bookings-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/endpoints/bookings-create.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/bookings-create#webpage\",\"url\":\"https://help.lunacal.ai/api/endpoints/bookings-create\",\"name\":\"Create booking\",\"description\":\"Create or reschedule a booking.\",\"dateModified\":\"2026-10-16T10:23:35.791Z\",\"isPartOf\":{\"@id\":\"https://help.lunacal.ai#website\"},\"breadcrumb\":{\"@id\":\"https://help.lunacal.ai/api/endpoints/bookings-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.lunacal.ai/api/endpoints/bookings-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Documentation\",\"item\":\"https://help.lunacal.ai/api/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Booking endpoints\",\"item\":\"https://help.lunacal.ai/api/endpoints/bookings-list\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create booking\",\"item\":\"https://help.lunacal.ai/api/endpoints/bookings-create\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.lunacal.ai/api/endpoints/bookings-create#article\",\"headline\":\"Create booking\",\"name\":\"Create booking\",\"description\":\"Create or reschedule a booking.\",\"url\":\"https://help.lunacal.ai/api/endpoints/bookings-create\",\"mainEntityOfPage\":{\"@id\":\"https://help.lunacal.ai/api/endpoints/bookings-create#webpage\"},\"dateModified\":\"2026-10-16T10:23:35.791Z\",\"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/bookings-create.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","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","description":"Cancel an existing 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":"Create booking - 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"]}