Returns the currently bookable slots for a venue. Requires the
availability:read scope.Two query modes (mutually exclusive):
Single day — pass date to get every free slot of that day.
Date range — pass from and to to get the days that have at least one
free slot (useful to paint a month calendar). Range is capped at 62 days.
Results reflect live availability at query time. A slot returned here may be
taken by another customer before a booking is made. Treat availability as a
hint, not a reservation.
Path parameters
string
required
The venue id or slug.
Query parameters
string (ISO date)
A single day, YYYY-MM-DD. Mutually exclusive with from/to.
string (ISO date)
Start of the range, inclusive, YYYY-MM-DD. Requires to.
string (ISO date)
End of the range, inclusive, YYYY-MM-DD. Max from + 62 days.
You must provide eitherdateor both from and to.
Response
string
The canonical venue id, echoed back (even when the request used a slug).
Start time in the venue’s local time, format HH:MM, aligned on the venue’s
slot_interval.
boolean
true when the slot starts outside the venue’s posted opening hours. Booking
it applies the venue’s surcharge rate — see out_of_hours_surcharge_percent
on the Venue object.
integer
How many bookings can still start at this slot — i.e. min(free rooms, free qualified therapists). Always ≥ 1 for a returned slot.
In range mode:
string (ISO date)
string (ISO date)
string[]
The dates in the range (venue-local) that have at least one bookable slot.
Fully-booked or closed days are omitted.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Saoma API","description":"Integrate Saoma spa availability and bookings into your platform.","colors":{"primary":"#8B7355","light":"#C9A96E","dark":"#5C4A32"},"favicon":"https://mintcdn.com/ea-bad13494/bZ-Bl4m9L6G1rgrd/favicon.svg?fit=max\u0026auto=format\u0026n=bZ-Bl4m9L6G1rgrd\u0026q=85\u0026s=837b4dc0bea5d3b041776a58d73dba7e","footer":{"socials":{"website":"https://saoma.io"}},"seo":{"metatags":{"canonical":"https://docs.saoma.io"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ea-bad13494","hasAudioNarration":false,"actualSubdomain":"ea-bad13494","customDomains":["docs.saoma.io"],"gitSource":{"type":"github","owner":"micharozen","repo":"lymfea-app","deployBranch":"main","contentDirectory":"docs/partners","isPrivate":true,"mountPath":"","label":"","_id":"6b10e41f9ffae5051c4129b5"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afd62927555a5d8701eba7f","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API Reference","count":11},{"language":"default","tag":"Documentation","count":10},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"Bookings","count":3},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Availability","count":2},{"language":"default","tag":"Customers","count":2},{"language":"default","tag":"Venues","count":2},{"language":"default","tag":"Treatments","count":1},{"language":"default","tag":"Webhooks","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#content-area p,#content-area li,#content-area td,#content-area th,#content-area .prose,#content-area .prose p,#content-area .prose li{font-size:0.875rem;line-height:1.6}#content-area h1{font-size:1.75rem;line-height:1.25}#content-area h2{font-size:1.25rem;line-height:1.3}#content-area h3{font-size:1.05rem;line-height:1.35}#content-area h4{font-size:0.95rem}#content-area .eyebrow{font-size:0.8rem}#sidebar a,#sidebar li,#sidebar span{font-size:0.78rem}#sidebar .sidebar-group-title,#sidebar h5,#sidebar [class*=\"group-title\"],#sidebar [class*=\"GroupTitle\"]{font-size:0.9rem!important;font-weight:600;letter-spacing:0.01em;text-transform:none;color:var(--tw-prose-headings, #1a1a1a)}#table-of-contents a,#table-of-contents li{font-size:0.8rem}#content-area code{font-size:0.825rem}#content-area pre code{font-size:0.8rem;line-height:1.55}#content-area .callout,#content-area .callout p{font-size:0.85rem}"}]}
{"page":{"pagePath":"api-reference/availability/get-availability","slug":"/api-reference/availability/get-availability","pageMetadata":{"title":"Get venue availability","api":"GET /v1/venues/{venue_id}/availability","description":"Real-time bookable slots for a whole venue.","href":"/api-reference/availability/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: \"Real-time bookable slots for a whole venue.\"\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`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,ParamField,ResponseField,Table,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns the currently bookable slots for a venue. Requires the\n`,_jsx(_components.code,{children:`availability:read`}),` scope.`]}),`\n`,_jsx(_components.p,{children:`Two query modes (mutually exclusive):`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Single day`}),` — pass `,_jsx(_components.code,{children:`date`}),` to get every free slot of that day.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Date range`}),` — pass `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),` to get the days that have at least one\nfree slot (useful to paint a month calendar). Range is capped at `,_jsx(_components.strong,{children:`62 days`}),`.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Results reflect live availability at query time. A slot returned here may be\ntaken by another customer before a booking is made. Treat availability as a\nhint, not a reservation.`})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`venue_id`,type:`string`,required:true,id:`param-venue-id`,children:_jsx(_components.p,{children:`The venue id or slug.`})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`date`,type:`string (ISO date)`,id:`param-date`,children:_jsxs(_components.p,{children:[`A single day, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. Mutually exclusive with `,_jsx(_components.code,{children:`from`}),`/`,_jsx(_components.code,{children:`to`}),`.`]})}),`\n`,_jsx(ParamField,{query:`from`,type:`string (ISO date)`,id:`param-from`,children:_jsxs(_components.p,{children:[`Start of the range, inclusive, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. Requires `,_jsx(_components.code,{children:`to`}),`.`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string (ISO date)`,id:`param-to`,children:_jsxs(_components.p,{children:[`End of the range, inclusive, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. Max `,_jsx(_components.code,{children:`from + 62 days`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`You must provide `,_jsx(_components.strong,{children:`either`}),` `,_jsx(_components.code,{children:`date`}),` `,_jsx(_components.strong,{children:`or`}),` both `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data.venue_id`,type:`string`,id:`param-data-venue-id`,children:_jsx(_components.p,{children:`The canonical venue id, echoed back (even when the request used a slug).`})}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`single-day`}),` mode:`]}),`\n`,_jsx(ResponseField,{name:`data.date`,type:`string (ISO date)`,id:`param-data-date`,children:_jsx(_components.p,{children:`The requested day.`})}),`\n`,_jsx(ResponseField,{name:`data.slots`,type:`Slot[]`,id:`param-data-slots`,children:_jsxs(_components.p,{children:[`Bookable slots for that day. See `,_jsx(_components.a,{href:`/concepts/availability`,children:`Availability`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.slots[].time`,type:`string`,id:`param-data-slots-time`,children:_jsxs(_components.p,{children:[`Start time in the venue’s local time, format `,_jsx(_components.code,{children:`HH:MM`}),`, aligned on the venue’s\n`,_jsx(_components.code,{children:`slot_interval`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.slots[].out_of_hours`,type:`boolean`,id:`param-data-slots-out-of-hours`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the slot starts outside the venue’s posted opening hours. Booking\nit applies the venue’s surcharge rate — see `,_jsx(_components.code,{children:`out_of_hours_surcharge_percent`}),`\non the `,_jsx(_components.a,{href:`/api-reference/venues/get-venue`,children:`Venue`}),` object.`]})}),`\n`,_jsx(ResponseField,{name:`data.slots[].available_capacity`,type:`integer`,id:`param-data-slots-available-capacity`,children:_jsxs(_components.p,{children:[`How many bookings can still start at this slot — i.e. `,_jsx(_components.code,{children:`min(free rooms, free qualified therapists)`}),`. Always ≥ 1 for a returned slot.`]})}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`range`}),` mode:`]}),`\n`,_jsx(ResponseField,{name:`data.from`,type:`string (ISO date)`,id:`param-data-from`}),`\n`,_jsx(ResponseField,{name:`data.to`,type:`string (ISO date)`,id:`param-data-to`}),`\n`,_jsx(ResponseField,{name:`data.days`,type:`string[]`,id:`param-data-days`,children:_jsx(_components.p,{children:`The dates in the range (venue-local) that have at least one bookable slot.\nFully-booked or closed days are omitted.`})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Body`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{ \"error\": \"Provide \\\\`}),\"date` or `from`/`to`” }`\"]}),_jsx(_components.td,{children:`Missing or conflicting period params`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"error\": \"Range must not exceed 62 days\" }`})}),_jsx(_components.td,{children:`Range too wide / inverted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"error\": \"Forbidden\" }`})}),_jsx(_components.td,{children:`Your key is scoped to another venue/org`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"error\": \"Venue not found\" }`})}),_jsx(_components.td,{children:`Unknown venue`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`})]})}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 venue availability","api":"GET /v1/venues/{venue_id}/availability","description":"Real-time bookable slots for a whole venue.","href":"/api-reference/availability/get-availability"}}},"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`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Returns the currently bookable slots for a venue. Requires the\n`,_jsx(_components.code,{children:`availability:read`}),` scope.`]}),`\n`,_jsx(_components.p,{children:`Two query modes (mutually exclusive):`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Single day`}),` — pass `,_jsx(_components.code,{children:`date`}),` to get every free slot of that day.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Date range`}),` — pass `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),` to get the days that have at least one\nfree slot (useful to paint a month calendar). Range is capped at `,_jsx(_components.strong,{children:`62 days`}),`.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Results reflect live availability at query time. A slot returned here may be\ntaken by another customer before a booking is made. Treat availability as a\nhint, not a reservation.`})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`venue_id`,type:`string`,required:true,id:`param-venue-id`,children:_jsx(_components.p,{children:`The venue id or slug.`})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsx(ParamField,{query:`date`,type:`string (ISO date)`,id:`param-date`,children:_jsxs(_components.p,{children:[`A single day, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. Mutually exclusive with `,_jsx(_components.code,{children:`from`}),`/`,_jsx(_components.code,{children:`to`}),`.`]})}),`\n`,_jsx(ParamField,{query:`from`,type:`string (ISO date)`,id:`param-from`,children:_jsxs(_components.p,{children:[`Start of the range, inclusive, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. Requires `,_jsx(_components.code,{children:`to`}),`.`]})}),`\n`,_jsx(ParamField,{query:`to`,type:`string (ISO date)`,id:`param-to`,children:_jsxs(_components.p,{children:[`End of the range, inclusive, `,_jsx(_components.code,{children:`YYYY-MM-DD`}),`. Max `,_jsx(_components.code,{children:`from + 62 days`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`You must provide `,_jsx(_components.strong,{children:`either`}),` `,_jsx(_components.code,{children:`date`}),` `,_jsx(_components.strong,{children:`or`}),` both `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data.venue_id`,type:`string`,id:`param-data-venue-id`,children:_jsx(_components.p,{children:`The canonical venue id, echoed back (even when the request used a slug).`})}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`single-day`}),` mode:`]}),`\n`,_jsx(ResponseField,{name:`data.date`,type:`string (ISO date)`,id:`param-data-date`,children:_jsx(_components.p,{children:`The requested day.`})}),`\n`,_jsx(ResponseField,{name:`data.slots`,type:`Slot[]`,id:`param-data-slots`,children:_jsxs(_components.p,{children:[`Bookable slots for that day. See `,_jsx(_components.a,{href:`/concepts/availability`,children:`Availability`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.slots[].time`,type:`string`,id:`param-data-slots-time`,children:_jsxs(_components.p,{children:[`Start time in the venue’s local time, format `,_jsx(_components.code,{children:`HH:MM`}),`, aligned on the venue’s\n`,_jsx(_components.code,{children:`slot_interval`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.slots[].out_of_hours`,type:`boolean`,id:`param-data-slots-out-of-hours`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the slot starts outside the venue’s posted opening hours. Booking\nit applies the venue’s surcharge rate — see `,_jsx(_components.code,{children:`out_of_hours_surcharge_percent`}),`\non the `,_jsx(_components.a,{href:`/api-reference/venues/get-venue`,children:`Venue`}),` object.`]})}),`\n`,_jsx(ResponseField,{name:`data.slots[].available_capacity`,type:`integer`,id:`param-data-slots-available-capacity`,children:_jsxs(_components.p,{children:[`How many bookings can still start at this slot — i.e. `,_jsx(_components.code,{children:`min(free rooms, free qualified therapists)`}),`. Always ≥ 1 for a returned slot.`]})}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`range`}),` mode:`]}),`\n`,_jsx(ResponseField,{name:`data.from`,type:`string (ISO date)`,id:`param-data-from`}),`\n`,_jsx(ResponseField,{name:`data.to`,type:`string (ISO date)`,id:`param-data-to`}),`\n`,_jsx(ResponseField,{name:`data.days`,type:`string[]`,id:`param-data-days`,children:_jsx(_components.p,{children:`The dates in the range (venue-local) that have at least one bookable slot.\nFully-booked or closed days are omitted.`})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:`Body`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`{ \"error\": \"Provide \\\\`}),\"date` or `from`/`to`” }`\"]}),_jsx(_components.td,{children:`Missing or conflicting period params`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`400`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"error\": \"Range must not exceed 62 days\" }`})}),_jsx(_components.td,{children:`Range too wide / inverted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"error\": \"Forbidden\" }`})}),_jsx(_components.td,{children:`Your key is scoped to another venue/org`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`{ \"error\": \"Venue not found\" }`})}),_jsx(_components.td,{children:`Unknown venue`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Single day`,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.saoma.io/v1/venues/lutetia-paris/availability?date=2026-06-20\"`}),_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:`$SAOMA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Range`,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.saoma.io/v1/venues/lutetia-paris/availability?from=2026-06-20\u0026to=2026-06-30\"`}),_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:`$SAOMA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})})]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Single day`,numberOfLines:`12`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"venue_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8a276fea-1b85-4189-912c-01c9eea6ce75\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-20\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"slots\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"08:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"out_of_hours\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"available_capacity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"09:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"out_of_hours\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"available_capacity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"09:30\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"out_of_hours\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"available_capacity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"time\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"14:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"out_of_hours\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"available_capacity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Range`,numberOfLines:`8`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"venue_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"8a276fea-1b85-4189-912c-01c9eea6ce75\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-20\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-30\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"days\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-20\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-21\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-06-24\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\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 venue availability","api":"GET /v1/venues/{venue_id}/availability","description":"Real-time bookable slots for a whole venue.","href":"/api-reference/availability/get-availability"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Query parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Single day","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=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.saoma.io/v1/venues/lutetia-paris/availability?date=2026-06-20\"\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\">$SAOMA_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Range","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=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.saoma.io/v1/venues/lutetia-paris/availability?from=2026-06-20\u0026#x26;to=2026-06-30\"\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\">$SAOMA_API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Single day","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=\"json\">\u003ccode language=\"json\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"venue_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8a276fea-1b85-4189-912c-01c9eea6ce75\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-20\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"slots\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"time\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"08:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"out_of_hours\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"available_capacity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"time\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"09:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"out_of_hours\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"available_capacity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"time\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"09:30\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"out_of_hours\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"available_capacity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">2\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"time\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"14:00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"out_of_hours\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"available_capacity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">3\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Range","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=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"venue_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"8a276fea-1b85-4189-912c-01c9eea6ce75\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"from\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-20\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"to\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-30\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"days\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-20\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-21\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-06-24\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get venue availability","path":"/v1/venues/{venue_id}/availability","method":"get","request":{"security":[],"parameters":{"query":{"date":{"schema":[{"type":"object","properties":{},"description":"A single day, `YYYY-MM-DD` . Mutually exclusive with `from` / `to` ."}]},"from":{"schema":[{"type":"object","properties":{},"description":"Start of the range, inclusive, `YYYY-MM-DD` . Requires `to` ."}]},"to":{"schema":[{"type":"object","properties":{},"description":"End of the range, inclusive, `YYYY-MM-DD` . Max `from + 62 days` ."}]}},"header":{},"cookie":{},"path":{"venue_id":{"schema":[{"type":"string","description":"The venue id or slug.","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data.venue_id":[{"type":"string","description":"The canonical venue id, echoed back (even when the request used a slug)."}],"data.date":[{"type":"object","properties":{},"description":"The requested day."}],"data.slots":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Bookable slots for that day. See Availability ."}],"data.slots[].time":[{"type":"string","description":"Start time in the venue’s local time, format `HH:MM` , aligned on the venue’s `slot_interval` ."}],"data.slots[].out_of_hours":[{"type":"boolean","description":"`true` when the slot starts outside the venue’s posted opening hours. Booking it applies the venue’s surcharge rate — see `out_of_hours_surcharge_percent` on the Venue object."}],"data.slots[].available_capacity":[{"type":"integer","description":"How many bookings can still start at this slot — i.e. `min(free rooms, free qualified therapists)` . Always ≥ 1 for a returned slot."}],"data.from":[{"type":"object","properties":{}}],"data.to":[{"type":"object","properties":{}}],"data.days":[{"type":"array","items":[{"type":"string"}],"description":"The dates in the range (venue-local) that have at least one bookable slot. Fully-booked or closed days are omitted."}]}}],"examples":{"example":{"value":{"data.venue_id":"\u003cstring>","data.date":{},"data.slots":[{}],"data.slots[].time":"\u003cstring>","data.slots[].out_of_hours":true,"data.slots[].available_capacity":123,"data.from":{},"data.to":{},"data.days":["\u003cstring>"]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"ea-bad13494","siteName":"Saoma API","title":"Get venue availability - Saoma API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"v1":{"href":"/api-reference/availability/get-availability","matchLevel":0},"v2":{"href":"/introduction","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-06-16T15:15:02.440Z","originalFileLocation":"api-reference/availability/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=\"Real-time bookable slots for a whole venue.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Saoma API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ea-bad13494/ph5PAni2E5B6mCtt/_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/ea-bad13494/ph5PAni2E5B6mCtt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ea-bad13494/ph5PAni2E5B6mCtt/_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/ea-bad13494/ph5PAni2E5B6mCtt/_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/ea-bad13494/ph5PAni2E5B6mCtt/_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/ea-bad13494/ph5PAni2E5B6mCtt/_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/ea-bad13494/ph5PAni2E5B6mCtt/_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/ea-bad13494/ph5PAni2E5B6mCtt/_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/ea-bad13494/ph5PAni2E5B6mCtt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get venue availability - Saoma API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Real-time bookable slots for a whole venue.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Saoma API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.saoma.io/api-reference/availability/get-availability\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ea-bad13494.mintlify.site/_mintlify/api/og/v2?division=Availability\u0026amp;title=Get+venue+availability\u0026amp;description=Real-time+bookable+slots+for+a+whole+venue.\u0026amp;theme=5eab09de1431dfaff9eadda2\u0026amp;signature=ea12c443b581af63966006ef353ce94133d678840d16f8ae28699e8648feafa3\">\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 venue availability - Saoma API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Real-time bookable slots for a whole venue.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ea-bad13494.mintlify.site/_mintlify/api/og/v2?division=Availability\u0026amp;title=Get+venue+availability\u0026amp;description=Real-time+bookable+slots+for+a+whole+venue.\u0026amp;theme=5eab09de1431dfaff9eadda2\u0026amp;signature=ea12c443b581af63966006ef353ce94133d678840d16f8ae28699e8648feafa3\">\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/ea-bad13494/ph5PAni2E5B6mCtt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Saoma API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8B7355\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.saoma.io/api-reference/availability/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-reference/availability/get-availability.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.saoma.io/#organization\",\"name\":\"Saoma API\",\"url\":\"https://docs.saoma.io\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.saoma.io#website\",\"name\":\"Saoma API\",\"url\":\"https://docs.saoma.io\",\"publisher\":{\"@id\":\"https://docs.saoma.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.saoma.io/api-reference/availability/get-availability#webpage\",\"url\":\"https://docs.saoma.io/api-reference/availability/get-availability\",\"name\":\"Get venue availability\",\"description\":\"Real-time bookable slots for a whole venue.\",\"dateModified\":\"2026-06-16T15:15:02.440Z\",\"isPartOf\":{\"@id\":\"https://docs.saoma.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.saoma.io/api-reference/availability/get-availability#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.saoma.io/api-reference/availability/get-availability#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Saoma API\",\"item\":\"https://docs.saoma.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get venue availability\",\"item\":\"https://docs.saoma.io/api-reference/availability/get-availability\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.saoma.io/api-reference/availability/get-availability#apireference\",\"headline\":\"Get venue availability\",\"name\":\"Get venue availability\",\"description\":\"Real-time bookable slots for a whole venue.\",\"url\":\"https://docs.saoma.io/api-reference/availability/get-availability\",\"mainEntityOfPage\":{\"@id\":\"https://docs.saoma.io/api-reference/availability/get-availability#webpage\"},\"dateModified\":\"2026-06-16T15:15:02.440Z\",\"publisher\":{\"@id\":\"https://docs.saoma.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.saoma.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Saoma API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Saoma API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/availability/get-availability.md","siteName":"Saoma API","nav":{"global":null,"versions":[{"version":"v1","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Venues","icon":"building","pages":[{"title":"List venues","api":"GET /v1/venues","href":"/api-reference/venues/list-venues"},{"title":"Retrieve a venue","api":"GET /v1/venues/{venue_id}","href":"/api-reference/venues/get-venue"}]},{"group":"Treatments","icon":"hand-sparkles","pages":[{"title":"List treatments","api":"GET /v1/venues/{venue_id}/treatments","description":"List the active treatments of a venue.","href":"/api-reference/venues/list-treatments"}]},{"group":"Availability","icon":"calendar-days","pages":[{"title":"Get venue availability","api":"GET /v1/venues/{venue_id}/availability","href":"/api-reference/availability/get-availability"},{"title":"Get variant availability","api":"GET /v1/venues/{venue_id}/availability/variants/{variant_id}","description":"Real-time bookable slots for a specific treatment variant.","href":"/api-reference/availability/get-variant-availability"}]},{"group":"Bookings","icon":"ticket","pages":[{"title":"Create a booking","api":"POST /v1/venues/{venue_id}/bookings","href":"/api-reference/bookings/create-booking"},{"title":"Retrieve a booking","api":"GET /v1/bookings/{booking_id}","tag":"Coming soon","href":"/api-reference/bookings/get-booking"},{"title":"Cancel a booking","api":"POST /v1/venues/{venue_id}/bookings/{booking_id}/cancel","href":"/api-reference/bookings/cancel-booking"}]},{"group":"Webhooks","icon":"webhook","pages":[{"title":"Availability push","href":"/api-reference/webhooks/availability-push"}]},{"group":"Customers","icon":"users","pages":[{"title":"List customers of a venue","api":"GET /v1/venues/{venue_id}/customers","href":"/api-reference/customers/list-customers"},{"title":"List a customer's bookings at a venue","api":"GET /v1/venues/{venue_id}/customers/{customer_id}/bookings","href":"/api-reference/customers/list-customer-bookings"}]}]}]},{"version":"v2","pages":[{"title":"v2","href":"/introduction"}]}]},"basePath":"","title":"Get venue availability - Saoma API","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js"]}