Creates a synthetic booking on one of your sandbox listings, so you can watch
the real booking.* webhooks arrive at your endpoint before a guest books your
live inventory. This is the one operation on this API that is sandbox-only.
The booking is made the way a real one is: the same availability check, the same
price quote, the same booking record and therefore the same events, delivered to
your endpoint in the same envelope with the same signature. It is not a rehearsal
of a booking — it is a booking, on inventory that only exists in your sandbox.
Why you need it. A sandbox listing is never sold: nothing in a sandbox reaches
a payment provider, so no guest can ever check out on one. Without this operation
GET /v1/bookings would answer an empty page forever, confirm and reject
would have nothing to act on, and the booking webhooks — the larger half of what
you build against — could not be seen at all until real money was involved.
Pick which half of the lifecycle you want.status: "pending" mints a booking
waiting on a host decision and sends booking.requested; you then drive it with
POST /v1/bookings/{booking_reference}/confirm or /reject and watch the next
event. status: "confirmed" mints one already confirmed and sends
booking.confirmed straight away.
What it never does. There is no guest field to send, and there will not be
one: the guest is synthetic, minted by us, and the same one every time for your
workspace — with guests:read on your key the booking you get back names them
"Sandbox G.", exactly as the reads would. Where guest contact is released for
your workspace, a confirmed sandbox booking carries the fixed example values
guest@sandbox.invalid and +10000000000, never a real address, and every
sandbox booking, pending included, carries the fixed example guest_noteWe land at 23:40 so we will arrive late. No money
moves and no payment provider is contacted. Nobody is emailed or notified. The
amount on the booking comes from your listing’s own price for those dates, so the
figures have the shape a real booking’s do.
It holds real nights on your sandbox calendar, exactly as a real booking
would, so a second call over the same dates is refused with 409 conflict,
and conflicts names every night that is closed — the same member, in the
same shape, that PUT /v1/blocks/{external_uid} answers a collision with.
Move the window, or free the nights from the Maat console. A stay may cover at
most 30 nights.
Two codes share 409 here. Branch on code, never on the status.conflict is retryable with a different window; sandbox_only — you called it
with a production key, or named the listing in your LIVE workspace, and the
fixture only ever creates bookings on sandbox inventory — never is.
409 inventory_not_supported for an experience or a service: this creates stays
only.
404 listing_not_found for everything else: an id that names nothing, and an
id that names a listing outside your own live/sandbox pair. Those are one
answer on purpose, so the status here cannot be used to find out whether an
id names another workspace’s inventory.
A short-lived partner token, obtained by exchanging your API key at
POST /token. Send it as Authorization: Bearer <access_token>.
Tokens live for fifteen minutes by default and never for more than an hour.
Mint one per batch of work, not one per request.
The token carries the workspace and the environment its key was issued for. You
cannot change either by asking: the exchange ignores everything in the request
body for exactly that reason.
It also carries the key's scopes (scope, a list). Every operation names a
scope as x-maat-scope, and a token whose key lacks it is refused with
403 insufficient_scope, naming the scope. Scopes are fixed when a key is
issued and are re-read from the key on every request, so a key narrowed today is
narrowed on its next call — the token's scope is what the key held at exchange
time, for your own reading, never what authorizes a request.
x-maat-scope is the floor, and on nine operations it is not the whole
story.PUT and DELETE /listings/{listing_id}/quick-actions/{template_key}
carry rules:write, and additionally require pricing:write when
template_key begins pricing. — the capability depends on the template in
the path, because a cleaning fee changes what a guest pays and a minimum stay
does not. The refusal is the same 403 insufficient_scope, naming
pricing:write. The two READS apply the same requirement without erroring:
GET /listings/{listing_id}/quick-actions still lists the pricing.* rows but
withholds their applied state, and GET /listings/{listing_id}/rules omits the
pricing rules entirely and reports pricing_withheld in warnings. The five
operations that return a booking — the two booking reads, confirm, reject and
POST /sandbox/bookings — read guests:read the same way, without ever
erroring: it decides whether a booking's guest carries the guest's display name
(and, where guest contact is enabled for your workspace, email and phone) or is
null, and whether guest_note can be anything but null. These nine are the only operations in this document whose answer
depends on more than their x-maat-scope, and each of them says so
machine-readably: x-maat-scope-additional lists the second scope it can read
and x-maat-scope-additional-when says what happens without it.
Never send it as a cookie or in a query string, and never store it — store the
API key, mint tokens from it.
Body
application/json
What to mint. There is no guest field, no amount and no currency, and none of
them is coming: the guest is synthetic and minted by us, and the amount comes
from your listing's own price for those dates — which is what makes the figures
on the resulting webhook the shape a real booking's are.
listing_id
string<uuid>
required
The listing to book. Must be in a sandbox workspace, and must be a stay — an experience or a service is a 409 inventory_not_supported.
check_in
string<date>
required
First night of the stay.
check_out
string<date>
required
Departure day, EXCLUSIVE — the guest is gone by then. At most 30 nights after check_in, because the booking holds those nights on a real sandbox calendar.
The booking, in exactly the shape GET /v1/bookings/{booking_reference}
reads it back. Its events are already on their way.
One booking, as your workspace reads it.
Every field is a fact about a STAY, with two exceptions: guest, which carries the
guest's display name when your key holds guests:read and is null when it does
not — plus the guest's email and verified phone where guest contact is enabled for
your workspace and released for this booking, null otherwise; and guest_note,
the guest's own note for the host, released under the same switch. There is no
full name and no reference you could join against another read. console_url is the
pointer to everything else about who is arriving — the host console, where an
authenticated human sees what the workspace may see.
There is no cancellation over this API. Cancelling a confirmed stay creates
refunds and penalties and belongs to a person in the app.
booking_reference
string<uuid>
required
Maat's own booking id, and the correlation key for every later event. Treat it as OPAQUE: store it and echo it back, but do not parse it or derive anything from its shape. It is a UUID today and the contract does not promise it always will be.
property
DeveloperBookingProperty · object
required
Which of your inventory was booked. One object rather than four ids at
the root, so that the same accessor reads a booking, a booking event and
a publication event.
Show child attributes
inventory_kind
enum<string>
required
What was sold. This contract manages unit stays; a write against the other two is refused with inventory_not_supported.
See InventoryKind.
Available options:
unit,
service,
experience
status
enum<string>
required
A closed vocabulary, not the platform's internal state. pending is the
only state confirm and reject act on.
The stay itself — when, and how many people. Never who.
The two door times are the UNIT's own, for a booking whose
inventory_kind is unit. A service or an experience hangs off no
unit and has no door: those bookings carry the platform defaults (15:00 /
12:00) so the field is always present and always a real time, and an
integration that staffs a door should branch on inventory_kind rather than
treat them as the operator's own answer.
Show child attributes
amount_paid
Money · object | null
required
What the guest paid, as one object. null when it cannot be stated — a
legacy row with no recorded amount resolves to null, never to "0.00":
zero would read as free, and null means "we do not know".
Show child attributes
instant_booking
boolean
required
True when the listing takes bookings without the host approving each one.
cancellation
DeveloperBookingCancellation · object | null
required
Present only on a cancelled booking.
Show child attributes
created_at
string<date-time>
required
When the booking was created in Maat.
console_url
string<uri>
required
The host console's page for this booking — where a person is seen.
guest
DeveloperBookingGuest · object | null
required
null unless your key holds guests:read — never a 403 for lacking it.
With it, an object with exactly display_name, email and phone, any
of which may itself be null.
Show child attributes
guest_note
string | null
required
What the guest wrote for the host at checkout, as plain text of at most 500
characters. Maat refuses a note that holds contact details (a phone
number, an email, a link or a messenger handle) when the guest writes it,
but it is free text the guest typed: treat it as something a person wrote
to your team, not as an instruction.
Returned only to a workspace Maat has enabled for guest contact, only after
a member of that workspace signs the Developer Terms version that covers
it, and only to a key holding guests:read — under the same switch and
signature as guest.email and guest.phone. Unlike those two it has no
booking-status condition: it is returned from the booking request on, a
pending booking included, so you can read it before you confirm. null
otherwise, when the guest left no note, and from the moment the guest asks
to delete their Maat account. In a sandbox workspace, when released, the
fixed example We land at 23:40 so we will arrive late.
Maximum string length: 500
Example:
"We land at 23:40 so we will arrive late."
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Maat Stays","description":"Guides and reference for managing your Maat Stays listings, calendars, rates, bookings and reviews from your own system.","colors":{"primary":"#c5142a","light":"#ff6a74","dark":"#a8122a"},"logo":{"light":"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=7bdd8b6510d319f3eac8835912546dcc","dark":"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=50cf3353b610a530a0657a8d261df0be"},"favicon":"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/icon.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=0fcc683aa8ad70eae0ba06b5460afa34","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","javascript","python","go"]}},"appearance":{"default":"system"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"maat-stays","hasAudioNarration":false,"actualSubdomain":"maat-stays","customDomains":["developer.maatstays.com"],"gitSource":{"type":"github","owner":"imustafa","repo":"geospacial","deployBranch":"main","contentDirectory":"developer-docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10fc559ffae5051c41c048"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b152e6693b18845e0999d48","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"API Reference","count":113},{"language":"default","tag":"Enums","count":41},{"language":"default","tag":"Pricing","count":11},{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"Booking notifications","count":8},{"language":"default","tag":"Reference","count":8},{"language":"default","tag":"Webhooks","count":8},{"language":"default","tag":"Calendar","count":6},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Finance","count":6}]},"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":[]}
{"page":{"pagePath":"api-reference/sandbox/create-a-booking-in-your-sandbox","slug":"/api-reference/sandbox/create-a-booking-in-your-sandbox","pageMetadata":{"title":"Create a booking in your sandbox","description":"Creates a synthetic booking on one of your **sandbox** listings, so you can watch\nthe real `booking.*` webhooks arrive at your endpoint before a guest books your\nlive inventory. **This is the one operation on this API that is sandbox-only.**\n\nThe booking is made the way a real one is: the same availability check, the same\nprice quote, the same booking record and therefore the same events, delivered to\nyour endpoint in the same envelope with the same signature. It is not a rehearsal\nof a booking — it is a booking, on inventory that only exists in your sandbox.\n\n**Why you need it.** A sandbox listing is never sold: nothing in a sandbox reaches\na payment provider, so no guest can ever check out on one. Without this operation\n`GET /v1/bookings` would answer an empty page forever, `confirm` and `reject`\nwould have nothing to act on, and the booking webhooks — the larger half of what\nyou build against — could not be seen at all until real money was involved.\n\n**Pick which half of the lifecycle you want.** `status: \"pending\"` mints a booking\nwaiting on a host decision and sends `booking.requested`; you then drive it with\n`POST /v1/bookings/{booking_reference}/confirm` or `/reject` and watch the next\nevent. `status: \"confirmed\"` mints one already confirmed and sends\n`booking.confirmed` straight away.\n\n**What it never does.** There is no guest field to send, and there will not be\none: the guest is synthetic, minted by us, and the same one every time for your\nworkspace — with `guests:read` on your key the booking you get back names them\n`\"Sandbox G.\"`, exactly as the reads would. Where guest contact is released for\nyour workspace, a confirmed sandbox booking carries the fixed example values\n`guest@sandbox.invalid` and `+10000000000`, never a real address, and every\nsandbox booking, pending included, carries the fixed example `guest_note`\n`We land at 23:40 so we will arrive late.` No money\nmoves and no payment provider is contacted. Nobody is emailed or notified. The\namount on the booking comes from your listing's own price for those dates, so the\nfigures have the shape a real booking's do.\n\nIt **holds real nights on your sandbox calendar**, exactly as a real booking\nwould, so a second call over the same dates is refused with `409 conflict`,\nand `conflicts` names every night that is closed — the same member, in the\nsame shape, that `PUT /v1/blocks/{external_uid}` answers a collision with.\nMove the window, or free the nights from the Maat console. A stay may cover at\nmost 30 nights.\n\n**Two codes share `409` here. Branch on `code`, never on the status.**\n`conflict` is retryable with a different window; `sandbox_only` — you called it\nwith a production key, or named the listing in your LIVE workspace, and the\nfixture only ever creates bookings on sandbox inventory — never is.\n`409 inventory_not_supported` for an experience or a service: this creates stays\nonly.\n\n`404 listing_not_found` for everything else: an id that names nothing, and an\nid that names a listing outside your own live/sandbox pair. Those are one\nanswer on purpose, so the status here cannot be used to find out whether an\nid names another workspace's inventory.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /sandbox/bookings","href":"/api-reference/sandbox/create-a-booking-in-your-sandbox","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Creates a synthetic booking on one of your \", _jsx(_components.strong, {\n children: \"sandbox\"\n }), \" listings, so you can watch\\nthe real \", _jsx(_components.code, {\n children: \"booking.*\"\n }), \" webhooks arrive at your endpoint before a guest books your\\nlive inventory. \", _jsx(_components.strong, {\n children: \"This is the one operation on this API that is sandbox-only.\"\n })]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The booking is made the way a real one is: the same availability check, the same\\nprice quote, the same booking record and therefore the same events, delivered to\\nyour endpoint in the same envelope with the same signature. It is not a rehearsal\\nof a booking — it is a booking, on inventory that only exists in your sandbox.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Why you need it.\"\n }), \" A sandbox listing is never sold: nothing in a sandbox reaches\\na payment provider, so no guest can ever check out on one. Without this operation\\n\", _jsx(_components.code, {\n children: \"GET /v1/bookings\"\n }), \" would answer an empty page forever, \", _jsx(_components.code, {\n children: \"confirm\"\n }), \" and \", _jsx(_components.code, {\n children: \"reject\"\n }), \"\\nwould have nothing to act on, and the booking webhooks — the larger half of what\\nyou build against — could not be seen at all until real money was involved.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Pick which half of the lifecycle you want.\"\n }), \" \", _jsx(_components.code, {\n children: \"status: \\\"pending\\\"\"\n }), \" mints a booking\\nwaiting on a host decision and sends \", _jsx(_components.code, {\n children: \"booking.requested\"\n }), \"; you then drive it with\\n\", _jsx(_components.code, {\n children: \"POST /v1/bookings/{booking_reference}/confirm\"\n }), \" or \", _jsx(_components.code, {\n children: \"/reject\"\n }), \" and watch the next\\nevent. \", _jsx(_components.code, {\n children: \"status: \\\"confirmed\\\"\"\n }), \" mints one already confirmed and sends\\n\", _jsx(_components.code, {\n children: \"booking.confirmed\"\n }), \" straight away.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"What it never does.\"\n }), \" There is no guest field to send, and there will not be\\none: the guest is synthetic, minted by us, and the same one every time for your\\nworkspace — with \", _jsx(_components.code, {\n children: \"guests:read\"\n }), \" on your key the booking you get back names them\\n\", _jsx(_components.code, {\n children: \"\\\"Sandbox G.\\\"\"\n }), \", exactly as the reads would. Where guest contact is released for\\nyour workspace, a confirmed sandbox booking carries the fixed example values\\n\", _jsx(_components.code, {\n children: \"guest@sandbox.invalid\"\n }), \" and \", _jsx(_components.code, {\n children: \"+10000000000\"\n }), \", never a real address, and every\\nsandbox booking, pending included, carries the fixed example \", _jsx(_components.code, {\n children: \"guest_note\"\n }), \"\\n\", _jsx(_components.code, {\n children: \"We land at 23:40 so we will arrive late.\"\n }), \" No money\\nmoves and no payment provider is contacted. Nobody is emailed or notified. The\\namount on the booking comes from your listing’s own price for those dates, so the\\nfigures have the shape a real booking’s do.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"It \", _jsx(_components.strong, {\n children: \"holds real nights on your sandbox calendar\"\n }), \", exactly as a real booking\\nwould, so a second call over the same dates is refused with \", _jsx(_components.code, {\n children: \"409 conflict\"\n }), \",\\nand \", _jsx(_components.code, {\n children: \"conflicts\"\n }), \" names every night that is closed — the same member, in the\\nsame shape, that \", _jsx(_components.code, {\n children: \"PUT /v1/blocks/{external_uid}\"\n }), \" answers a collision with.\\nMove the window, or free the nights from the Maat console. A stay may cover at\\nmost 30 nights.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsxs(_components.strong, {\n children: [\"Two codes share \", _jsx(_components.code, {\n children: \"409\"\n }), \" here. Branch on \", _jsx(_components.code, {\n children: \"code\"\n }), \", never on the status.\"]\n }), \"\\n\", _jsx(_components.code, {\n children: \"conflict\"\n }), \" is retryable with a different window; \", _jsx(_components.code, {\n children: \"sandbox_only\"\n }), \" — you called it\\nwith a production key, or named the listing in your LIVE workspace, and the\\nfixture only ever creates bookings on sandbox inventory — never is.\\n\", _jsx(_components.code, {\n children: \"409 inventory_not_supported\"\n }), \" for an experience or a service: this creates stays\\nonly.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"404 listing_not_found\"\n }), \" for everything else: an id that names nothing, and an\\nid that names a listing outside your own live/sandbox pair. Those are one\\nanswer on purpose, so the status here cannot be used to find out whether an\\nid names another workspace’s inventory.\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a booking in your sandbox","description":"Creates a synthetic booking on one of your **sandbox** listings, so you can watch\nthe real `booking.*` webhooks arrive at your endpoint before a guest books your\nlive inventory. **This is the one operation on this API that is sandbox-only.**\n\nThe booking is made the way a real one is: the same availability check, the same\nprice quote, the same booking record and therefore the same events, delivered to\nyour endpoint in the same envelope with the same signature. It is not a rehearsal\nof a booking — it is a booking, on inventory that only exists in your sandbox.\n\n**Why you need it.** A sandbox listing is never sold: nothing in a sandbox reaches\na payment provider, so no guest can ever check out on one. Without this operation\n`GET /v1/bookings` would answer an empty page forever, `confirm` and `reject`\nwould have nothing to act on, and the booking webhooks — the larger half of what\nyou build against — could not be seen at all until real money was involved.\n\n**Pick which half of the lifecycle you want.** `status: \"pending\"` mints a booking\nwaiting on a host decision and sends `booking.requested`; you then drive it with\n`POST /v1/bookings/{booking_reference}/confirm` or `/reject` and watch the next\nevent. `status: \"confirmed\"` mints one already confirmed and sends\n`booking.confirmed` straight away.\n\n**What it never does.** There is no guest field to send, and there will not be\none: the guest is synthetic, minted by us, and the same one every time for your\nworkspace — with `guests:read` on your key the booking you get back names them\n`\"Sandbox G.\"`, exactly as the reads would. Where guest contact is released for\nyour workspace, a confirmed sandbox booking carries the fixed example values\n`guest@sandbox.invalid` and `+10000000000`, never a real address, and every\nsandbox booking, pending included, carries the fixed example `guest_note`\n`We land at 23:40 so we will arrive late.` No money\nmoves and no payment provider is contacted. Nobody is emailed or notified. The\namount on the booking comes from your listing's own price for those dates, so the\nfigures have the shape a real booking's do.\n\nIt **holds real nights on your sandbox calendar**, exactly as a real booking\nwould, so a second call over the same dates is refused with `409 conflict`,\nand `conflicts` names every night that is closed — the same member, in the\nsame shape, that `PUT /v1/blocks/{external_uid}` answers a collision with.\nMove the window, or free the nights from the Maat console. A stay may cover at\nmost 30 nights.\n\n**Two codes share `409` here. Branch on `code`, never on the status.**\n`conflict` is retryable with a different window; `sandbox_only` — you called it\nwith a production key, or named the listing in your LIVE workspace, and the\nfixture only ever creates bookings on sandbox inventory — never is.\n`409 inventory_not_supported` for an experience or a service: this creates stays\nonly.\n\n`404 listing_not_found` for everything else: an id that names nothing, and an\nid that names a listing outside your own live/sandbox pair. Those are one\nanswer on purpose, so the status here cannot be used to find out whether an\nid names another workspace's inventory.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /sandbox/bookings","href":"/api-reference/sandbox/create-a-booking-in-your-sandbox","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["sandbox"],"operationId":"createSandboxBooking","x-maat-scope":"bookings:manage","x-maat-scope-additional":["guests:read"],"x-maat-scope-additional-when":"`guests:read` decides only whether `guest` and `guest_note` can be filled: without it every booking comes back with `guest: null` and `guest_note: null`. The operation is never refused for lacking it. Even with it, `guest.email`, `guest.phone` and `guest_note` stay `null` unless guest contact is enabled for your workspace and released for that booking.","x-maat-availability":"sandbox","summary":"Create a booking in your sandbox","x-codeSamples":[{"lang":"bash","label":"cURL","source":"curl --fail-with-body -X POST https://maatstays.com/v1/sandbox/bookings \\\n -H \"Authorization: Bearer $MAAT_PARTNER_TOKEN\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"listing_id\": \"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24\",\n \"check_in\": \"2026-09-12\",\n \"check_out\": \"2026-09-16\",\n \"guests\": 3,\n \"status\": \"confirmed\"\n }'\n"},{"lang":"javascript","label":"Node.js","source":"const res = await fetch('https://maatstays.com/v1/sandbox/bookings', {\n method: 'POST',\n headers: {\n Authorization: `Bearer ${process.env.MAAT_PARTNER_TOKEN}`,\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n listing_id: '7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24',\n check_in: '2026-09-12',\n check_out: '2026-09-16',\n guests: 3,\n status: 'confirmed',\n }),\n});\n\nconst body = await res.json();\nif (!res.ok) throw new Error(`${body.code}: ${body.detail}`);\n\nconsole.log(body.booking_reference); // watch for booking.confirmed\n"},{"lang":"python","label":"Python","source":"import os\n\nimport requests\n\nres = requests.post(\n \"https://maatstays.com/v1/sandbox/bookings\",\n headers={\"Authorization\": f\"Bearer {os.environ['MAAT_PARTNER_TOKEN']}\"},\n json={\n \"listing_id\": \"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24\",\n \"check_in\": \"2026-09-12\",\n \"check_out\": \"2026-09-16\",\n \"guests\": 3,\n \"status\": \"confirmed\",\n },\n timeout=30,\n)\nbody = res.json()\nif res.status_code >= 400:\n raise RuntimeError(f\"{body['code']}: {body.get('detail')}\")\n\nprint(body[\"booking_reference\"]) # watch for booking.confirmed\n"},{"lang":"go","label":"Go","source":"package main\n\nimport (\n \"bytes\"\n \"encoding/json\"\n \"fmt\"\n \"log\"\n \"net/http\"\n \"os\"\n)\n\ntype payload struct {\n BookingReference string `json:\"booking_reference\"`\n}\n\nfunc main() {\n body, _ := json.Marshal(map[string]any{\n \"listing_id\": \"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24\",\n \"check_in\": \"2026-09-12\",\n \"check_out\": \"2026-09-16\",\n \"guests\": 3,\n \"status\": \"confirmed\",\n })\n\n req, _ := http.NewRequest(http.MethodPost,\n \"https://maatstays.com/v1/sandbox/bookings\", bytes.NewReader(body))\n req.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"MAAT_PARTNER_TOKEN\"))\n req.Header.Set(\"Content-Type\", \"application/json\")\n\n res, err := http.DefaultClient.Do(req)\n if err != nil {\n log.Fatal(err)\n }\n defer res.Body.Close()\n\n if res.StatusCode >= 400 {\n log.Fatalf(\"sandbox booking failed: %d\", res.StatusCode)\n }\n\n var out payload\n if err := json.NewDecoder(res.Body).Decode(\u0026out); err != nil {\n log.Fatal(err)\n }\n fmt.Println(out.BookingReference) // watch for booking.confirmed\n}\n"}],"description":"Creates a synthetic booking on one of your **sandbox** listings, so you can watch\nthe real `booking.*` webhooks arrive at your endpoint before a guest books your\nlive inventory. **This is the one operation on this API that is sandbox-only.**\n\nThe booking is made the way a real one is: the same availability check, the same\nprice quote, the same booking record and therefore the same events, delivered to\nyour endpoint in the same envelope with the same signature. It is not a rehearsal\nof a booking — it is a booking, on inventory that only exists in your sandbox.\n\n**Why you need it.** A sandbox listing is never sold: nothing in a sandbox reaches\na payment provider, so no guest can ever check out on one. Without this operation\n`GET /v1/bookings` would answer an empty page forever, `confirm` and `reject`\nwould have nothing to act on, and the booking webhooks — the larger half of what\nyou build against — could not be seen at all until real money was involved.\n\n**Pick which half of the lifecycle you want.** `status: \"pending\"` mints a booking\nwaiting on a host decision and sends `booking.requested`; you then drive it with\n`POST /v1/bookings/{booking_reference}/confirm` or `/reject` and watch the next\nevent. `status: \"confirmed\"` mints one already confirmed and sends\n`booking.confirmed` straight away.\n\n**What it never does.** There is no guest field to send, and there will not be\none: the guest is synthetic, minted by us, and the same one every time for your\nworkspace — with `guests:read` on your key the booking you get back names them\n`\"Sandbox G.\"`, exactly as the reads would. Where guest contact is released for\nyour workspace, a confirmed sandbox booking carries the fixed example values\n`guest@sandbox.invalid` and `+10000000000`, never a real address, and every\nsandbox booking, pending included, carries the fixed example `guest_note`\n`We land at 23:40 so we will arrive late.` No money\nmoves and no payment provider is contacted. Nobody is emailed or notified. The\namount on the booking comes from your listing's own price for those dates, so the\nfigures have the shape a real booking's do.\n\nIt **holds real nights on your sandbox calendar**, exactly as a real booking\nwould, so a second call over the same dates is refused with `409 conflict`,\nand `conflicts` names every night that is closed — the same member, in the\nsame shape, that `PUT /v1/blocks/{external_uid}` answers a collision with.\nMove the window, or free the nights from the Maat console. A stay may cover at\nmost 30 nights.\n\n**Two codes share `409` here. Branch on `code`, never on the status.**\n`conflict` is retryable with a different window; `sandbox_only` — you called it\nwith a production key, or named the listing in your LIVE workspace, and the\nfixture only ever creates bookings on sandbox inventory — never is.\n`409 inventory_not_supported` for an experience or a service: this creates stays\nonly.\n\n`404 listing_not_found` for everything else: an id that names nothing, and an\nid that names a listing outside your own live/sandbox pair. Those are one\nanswer on purpose, so the status here cannot be used to find out whether an\nid names another workspace's inventory.\n","requestBody":"59e450cf-bd56-41e1-9913-c90a00a54b9f","responses":{"201":"cd765bd7-5f59-4470-92d1-92c9ec32a551","400":"bf4bbfd2-5dfa-499f-8e6b-fb64af80c641","401":"da3817ad-a096-4117-9062-b5e3108e0f68","403":"65825066-54f3-4a0d-ad35-35db9f9744c8","404":"730f9683-1103-4c06-ad2a-393fcf76016b","409":"cf7e54a6-009a-4af9-8992-733ce70fd4be","429":"85a0dbda-99e7-47a5-b44a-d39c97068cda","500":"77818e2a-0d7a-47dc-8328-759f5d05837d","503":"78f7bbe0-86fd-4858-bed9-1437dc604333"},"method":"post","type":"path","servers":["bfd060a5-0f89-4901-9142-ddadbc088436"],"security":["27c1ff0b-58c5-43d0-84ca-9d1f79d33330"],"path":"/sandbox/bookings","baseUrlOptions":["https://maatstays.com/v1"],"title":"Create a booking in your sandbox","codeSamples":[{"label":"cURL","lang":"bash","source":"curl --fail-with-body -X POST https://maatstays.com/v1/sandbox/bookings \\\n -H \"Authorization: Bearer $MAAT_PARTNER_TOKEN\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"listing_id\": \"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24\",\n \"check_in\": \"2026-09-12\",\n \"check_out\": \"2026-09-16\",\n \"guests\": 3,\n \"status\": \"confirmed\"\n }'\n"},{"label":"Node.js","lang":"javascript","source":"const res = await fetch('https://maatstays.com/v1/sandbox/bookings', {\n method: 'POST',\n headers: {\n Authorization: `Bearer ${process.env.MAAT_PARTNER_TOKEN}`,\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n listing_id: '7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24',\n check_in: '2026-09-12',\n check_out: '2026-09-16',\n guests: 3,\n status: 'confirmed',\n }),\n});\n\nconst body = await res.json();\nif (!res.ok) throw new Error(`${body.code}: ${body.detail}`);\n\nconsole.log(body.booking_reference); // watch for booking.confirmed\n"},{"label":"Python","lang":"python","source":"import os\n\nimport requests\n\nres = requests.post(\n \"https://maatstays.com/v1/sandbox/bookings\",\n headers={\"Authorization\": f\"Bearer {os.environ['MAAT_PARTNER_TOKEN']}\"},\n json={\n \"listing_id\": \"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24\",\n \"check_in\": \"2026-09-12\",\n \"check_out\": \"2026-09-16\",\n \"guests\": 3,\n \"status\": \"confirmed\",\n },\n timeout=30,\n)\nbody = res.json()\nif res.status_code >= 400:\n raise RuntimeError(f\"{body['code']}: {body.get('detail')}\")\n\nprint(body[\"booking_reference\"]) # watch for booking.confirmed\n"},{"label":"Go","lang":"go","source":"package main\n\nimport (\n \"bytes\"\n \"encoding/json\"\n \"fmt\"\n \"log\"\n \"net/http\"\n \"os\"\n)\n\ntype payload struct {\n BookingReference string `json:\"booking_reference\"`\n}\n\nfunc main() {\n body, _ := json.Marshal(map[string]any{\n \"listing_id\": \"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24\",\n \"check_in\": \"2026-09-12\",\n \"check_out\": \"2026-09-16\",\n \"guests\": 3,\n \"status\": \"confirmed\",\n })\n\n req, _ := http.NewRequest(http.MethodPost,\n \"https://maatstays.com/v1/sandbox/bookings\", bytes.NewReader(body))\n req.Header.Set(\"Authorization\", \"Bearer \"+os.Getenv(\"MAAT_PARTNER_TOKEN\"))\n req.Header.Set(\"Content-Type\", \"application/json\")\n\n res, err := http.DefaultClient.Do(req)\n if err != nil {\n log.Fatal(err)\n }\n defer res.Body.Close()\n\n if res.StatusCode >= 400 {\n log.Fatalf(\"sandbox booking failed: %d\", res.StatusCode)\n }\n\n var out payload\n if err := json.NewDecoder(res.Body).Decode(\u0026out); err != nil {\n log.Fatal(err)\n }\n fmt.Println(out.BookingReference) // watch for booking.confirmed\n}\n"}],"requestExampleLanguages":["bash","javascript","python","go"],"requiredOnlyExamples":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"CreateSandboxBookingRequest","description":"What to mint. There is no guest field, no amount and no currency, and none of\nthem is coming: the guest is synthetic and minted by us, and the amount comes\nfrom your listing's own price for those dates — which is what makes the figures\non the resulting webhook the shape a real booking's are.\n","required":["listing_id","check_in","check_out","guests","status"],"additionalProperties":false,"properties":{"listing_id":{"type":"string","format":"uuid","description":"The listing to book. Must be in a **sandbox** workspace, and must be a stay — an experience or a service is a `409 inventory_not_supported`.","isRequired":true,"uniqueKey":"listing_id","typeLabel":"string\u003cuuid>"},"check_in":{"type":"string","format":"date","description":"First night of the stay.","isRequired":true,"uniqueKey":"check_in","typeLabel":"string\u003cdate>"},"check_out":{"type":"string","format":"date","description":"Departure day, EXCLUSIVE — the guest is gone by then. At most 30 nights after `check_in`, because the booking holds those nights on a real sandbox calendar.","isRequired":true,"uniqueKey":"check_out","typeLabel":"string\u003cdate>"},"guests":{"type":"integer","minimum":1,"maximum":50,"description":"The party SIZE. Never a per-guest anything.","isRequired":true,"uniqueKey":"guests","typeLabel":"integer"},"status":{"type":"string","title":"SandboxBookingStatus","description":"Which half of the lifecycle to watch. See [SandboxBookingStatus](/api-reference/enums/sandbox-booking-status).","enum":["pending","confirmed"],"x-enum-descriptions":{"pending":"Waiting on a host decision. Sends `booking.requested`; drive it on with `POST /v1/bookings/{booking_reference}/confirm` or `/reject`.","confirmed":"Already confirmed, as an instant-booking stay would be. Sends `booking.confirmed`."},"x-maat-internal-enum":{"name":"DeveloperBookingStatus","relation":"subset_of"},"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"CreateSandboxBookingRequest · object"},"example":{"listing_id":"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24","check_in":"2026-09-12","check_out":"2026-09-16","guests":3,"status":"confirmed"},"examples":{"Example":{"title":"Example","value":{"listing_id":"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24","check_in":"2026-09-12","check_out":"2026-09-16","guests":3,"status":"confirmed"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"cd765bd7-5f59-4470-92d1-92c9ec32a551":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"The booking, in exactly the shape `GET /v1/bookings/{booking_reference}`\nreads it back. Its events are already on their way.\n","content":{"application/json":{"schema":{"type":"object","title":"DeveloperBooking","description":"One booking, as your workspace reads it.\n\nEvery field is a fact about a STAY, with two exceptions: `guest`, which carries the\nguest's display name when your key holds `guests:read` and is `null` when it does\nnot — plus the guest's email and verified phone where guest contact is enabled for\nyour workspace and released for this booking, `null` otherwise; and `guest_note`,\nthe guest's own note for the host, released under the same switch. There is no\nfull name and no reference you could join against another read. `console_url` is the\npointer to everything else about who is arriving — the host console, where an\nauthenticated human sees what the workspace may see.\n\nThere is no cancellation over this API. Cancelling a confirmed stay creates\nrefunds and penalties and belongs to a person in the app.\n","required":["booking_reference","property","inventory_kind","status","stay","amount_paid","instant_booking","cancellation","created_at","console_url","guest","guest_note"],"additionalProperties":false,"properties":{"booking_reference":{"type":"string","format":"uuid","description":"Maat's own booking id, and the correlation key for every later event. Treat it as OPAQUE: store it and echo it back, but do not parse it or derive anything from its shape. It is a UUID today and the contract does not promise it always will be.","isRequired":true,"uniqueKey":"booking_reference","typeLabel":"string\u003cuuid>"},"property":{"type":"object","title":"DeveloperBookingProperty","description":"Which of your inventory was booked. One object rather than four ids at\nthe root, so that the same accessor reads a booking, a booking event and\na publication event.\n","required":["provider_id","listing_id","unit_id","property_id"],"additionalProperties":false,"properties":{"provider_id":{"oneOf":[{"type":"string","description":"Your own id for the property, when you pushed it. `null` otherwise.","isRequired":true,"uniqueKey":"property.provider_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own id for the property, when you pushed it. `null` otherwise.","isRequired":true,"uniqueKey":"property.provider_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"property.provider_id","typeLabel":"string | null"},"listing_id":{"type":"string","format":"uuid","description":"The listing that was booked.","isRequired":true,"uniqueKey":"property.listing_id","typeLabel":"string\u003cuuid>"},"unit_id":{"oneOf":[{"type":"string","format":"uuid","description":"The physical unit. `null` for a service or an experience, which has none.","isRequired":true,"uniqueKey":"property.unit_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"The physical unit. `null` for a service or an experience, which has none.","isRequired":true,"uniqueKey":"property.unit_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"property.unit_id","typeLabel":"string\u003cuuid> | null"},"property_id":{"oneOf":[{"type":"string","format":"uuid","description":"`null` for a service or an experience, which hangs off no property.\n","isRequired":true,"uniqueKey":"property.property_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"`null` for a service or an experience, which hangs off no property.\n","isRequired":true,"uniqueKey":"property.property_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"property.property_id","typeLabel":"string\u003cuuid> | null"}},"isRequired":true,"uniqueKey":"property","typeLabel":"DeveloperBookingProperty · object"},"inventory_kind":{"type":"string","title":"InventoryKind","description":"What was sold. This contract manages `unit` stays; a write against the other two is refused with `inventory_not_supported`.\nSee [`InventoryKind`](/api-reference/enums/inventory-kind).","enum":["unit","service","experience"],"x-enum-descriptions":{"unit":"A place somebody sleeps. The only kind this contract manages.","service":"A provider's time, sold in slots. Refused with `inventory_not_supported`.","experience":"A scheduled session, sold in seats. Refused with `inventory_not_supported`."},"x-maat-internal-enum":{"name":"PartnerInventoryKind","relation":"equals"},"isRequired":true,"uniqueKey":"inventory_kind","typeLabel":"enum\u003cstring>"},"status":{"type":"string","title":"BookingStatus","description":"A closed vocabulary, not the platform's internal state. `pending` is the\nonly state `confirm` and `reject` act on.\n\nSee [`BookingStatus`](/api-reference/enums/booking-status).\n","enum":["pending","confirmed","checked_in","completed","cancelled","rejected"],"x-enum-descriptions":{"pending":"Paid, and waiting for the host to approve it. The only status `confirm` and `reject` accept.","confirmed":"Approved. The nights are sold.","checked_in":"The guest confirmed their own arrival.","completed":"The stay is over.","cancelled":"Cancelled by the guest, the host or Maat; read `cancellation.initiated_by`.","rejected":"The host declined the request."},"x-maat-internal-enum":{"name":"DeveloperBookingStatus","relation":"equals"},"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"stay":{"type":"object","title":"DeveloperBookingStay","description":"The stay itself — when, and how many people. Never who.\n\nThe two door times are the UNIT's own, for a booking whose\n`inventory_kind` is `unit`. A **service** or an **experience** hangs off no\nunit and has no door: those bookings carry the platform defaults (`15:00` /\n`12:00`) so the field is always present and always a real time, and an\nintegration that staffs a door should branch on `inventory_kind` rather than\ntreat them as the operator's own answer.\n","required":["check_in","check_out","check_in_time","check_out_time","guests"],"additionalProperties":false,"properties":{"check_in":{"type":"string","format":"date","description":"Arrival date.","isRequired":true,"uniqueKey":"stay.check_in","typeLabel":"string\u003cdate>"},"check_out":{"type":"string","format":"date","description":"EXCLUSIVE — the guest is gone by then.","isRequired":true,"uniqueKey":"stay.check_out","typeLabel":"string\u003cdate>"},"check_in_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","description":"The unit's own local time when `inventory_kind` is `unit` — a date alone cannot be staffed. The platform default (`15:00`) for a service or an experience, which has no unit.","isRequired":true,"uniqueKey":"stay.check_in_time","typeLabel":"string"},"check_out_time":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$","description":"The unit's own local time when `inventory_kind` is `unit`; the platform default (`12:00`) for a service or an experience.","isRequired":true,"uniqueKey":"stay.check_out_time","typeLabel":"string"},"guests":{"type":"integer","minimum":1,"description":"A COUNT. There is no per-guest anything on this contract.","isRequired":true,"uniqueKey":"stay.guests","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"stay","typeLabel":"DeveloperBookingStay · object"},"amount_paid":{"oneOf":[{"type":"object","title":"Money","description":"What the guest paid, as one object. `null` when it cannot be stated — a\nlegacy row with no recorded amount resolves to `null`, never to `\"0.00\"`:\nzero would read as free, and `null` means \"we do not know\".\n","required":["value","currency"],"properties":{"value":{"type":"string","pattern":"^\\d{1,10}(\\.\\d{1,2})?$","description":"Decimal string, at most two decimal places.","example":"1250.00","isRequired":true,"uniqueKey":"amount_paid.oneOf.0.value","typeLabel":"string"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217, uppercase.","example":"EGP","isRequired":true,"uniqueKey":"amount_paid.oneOf.0.currency","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"amount_paid.oneOf.0","typeLabel":"Money · object"},{"type":"null","description":"What the guest paid, as one object. `null` when it cannot be stated — a\nlegacy row with no recorded amount resolves to `null`, never to `\"0.00\"`:\nzero would read as free, and `null` means \"we do not know\".\n","isRequired":true,"uniqueKey":"amount_paid.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"amount_paid","typeLabel":"Money · object | null"},"instant_booking":{"type":"boolean","description":"True when the listing takes bookings without the host approving each one.","isRequired":true,"uniqueKey":"instant_booking","typeLabel":"boolean"},"cancellation":{"oneOf":[{"type":"object","title":"DeveloperBookingCancellation","description":"Present only on a cancelled booking.","required":["cancelled_at","initiated_by"],"properties":{"cancelled_at":{"type":"string","format":"date-time","description":"When the booking was cancelled.","isRequired":true,"uniqueKey":"cancellation.oneOf.0.cancelled_at","typeLabel":"string\u003cdate-time>"},"initiated_by":{"type":"string","title":"CancellationInitiator","description":"Which party cancelled. Never which person.\n\nSee [`CancellationInitiator`](/api-reference/enums/cancellation-initiator).\n","enum":["guest","host","platform"],"x-enum-descriptions":{"guest":"The guest cancelled. Free the nights and re-sell them.","host":"The host cancelled. An operational failure somebody has to chase.","platform":"Maat ended the booking. The nights are free; the guest has been told by Maat."},"x-maat-internal-enum":{"name":"PartnerCancellationInitiator","relation":"equals"},"isRequired":true,"uniqueKey":"cancellation.oneOf.0.initiated_by","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"cancellation.oneOf.0","typeLabel":"DeveloperBookingCancellation · object"},{"type":"null","description":"Present only on a cancelled booking.","isRequired":true,"uniqueKey":"cancellation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"cancellation","typeLabel":"DeveloperBookingCancellation · object | null"},"created_at":{"type":"string","format":"date-time","description":"When the booking was created in Maat.","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"console_url":{"type":"string","format":"uri","description":"The host console's page for this booking — where a person is seen.\n","isRequired":true,"uniqueKey":"console_url","typeLabel":"string\u003curi>"},"guest":{"oneOf":[{"type":"object","title":"DeveloperBookingGuest","description":"`null` unless your key holds `guests:read` — never a `403` for lacking it.\nWith it, an object with exactly `display_name`, `email` and `phone`, any\nof which may itself be `null`.\n","required":["display_name","email","phone"],"properties":{"display_name":{"oneOf":[{"type":"string","description":"The guest's first name and the initial of their last name — `\"Sarah M.\"`,\nthe same form the public listing page gives a reviewer. `null` when there\nis no usable name: none was recorded, or the guest has deleted their Maat\naccount.\n","example":"Sarah M.","isRequired":true,"uniqueKey":"guest.oneOf.0.display_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The guest's first name and the initial of their last name — `\"Sarah M.\"`,\nthe same form the public listing page gives a reviewer. `null` when there\nis no usable name: none was recorded, or the guest has deleted their Maat\naccount.\n","example":"Sarah M.","isRequired":true,"uniqueKey":"guest.oneOf.0.display_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"guest.oneOf.0.display_name","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","format":"email","description":"The email address on the guest's Maat account, when guest contact is\nreleased for this booking (see above). `null` otherwise, and `null` for an\naccount that signed up with a phone number only. In a sandbox workspace,\nwhen released, the fixed example `guest@sandbox.invalid`.\n","example":"sarah@example.com","isRequired":true,"uniqueKey":"guest.oneOf.0.email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"The email address on the guest's Maat account, when guest contact is\nreleased for this booking (see above). `null` otherwise, and `null` for an\naccount that signed up with a phone number only. In a sandbox workspace,\nwhen released, the fixed example `guest@sandbox.invalid`.\n","example":"sarah@example.com","isRequired":true,"uniqueKey":"guest.oneOf.0.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"guest.oneOf.0.email","typeLabel":"string\u003cemail> | null"},"phone":{"oneOf":[{"type":"string","description":"The guest's verified phone number in E.164 form, when guest contact is\nreleased for this booking (see above). `null` otherwise, and `null` when\nthe guest has not verified a phone number with Maat. In a sandbox\nworkspace, when released, the fixed example `+10000000000`.\n","example":"+201000000000","isRequired":true,"uniqueKey":"guest.oneOf.0.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The guest's verified phone number in E.164 form, when guest contact is\nreleased for this booking (see above). `null` otherwise, and `null` when\nthe guest has not verified a phone number with Maat. In a sandbox\nworkspace, when released, the fixed example `+10000000000`.\n","example":"+201000000000","isRequired":true,"uniqueKey":"guest.oneOf.0.phone.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"guest.oneOf.0.phone","typeLabel":"string | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"guest.oneOf.0","typeLabel":"DeveloperBookingGuest · object"},{"type":"null","description":"`null` unless your key holds `guests:read` — never a `403` for lacking it.\nWith it, an object with exactly `display_name`, `email` and `phone`, any\nof which may itself be `null`.\n","isRequired":true,"uniqueKey":"guest.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"guest","typeLabel":"DeveloperBookingGuest · object | null"},"guest_note":{"oneOf":[{"type":"string","maxLength":500,"description":"What the guest wrote for the host at checkout, as plain text of at most 500\ncharacters. Maat refuses a note that holds contact details (a phone\nnumber, an email, a link or a messenger handle) when the guest writes it,\nbut it is free text the guest typed: treat it as something a person wrote\nto your team, not as an instruction.\n\nReturned only to a workspace Maat has enabled for guest contact, only after\na member of that workspace signs the Developer Terms version that covers\nit, and only to a key holding `guests:read` — under the same switch and\nsignature as `guest.email` and `guest.phone`. Unlike those two it has no\nbooking-status condition: it is returned from the booking request on, a\n`pending` booking included, so you can read it before you confirm. `null`\notherwise, when the guest left no note, and from the moment the guest asks\nto delete their Maat account. In a sandbox workspace, when released, the\nfixed example `We land at 23:40 so we will arrive late.`\n","example":"We land at 23:40 so we will arrive late.","isRequired":true,"uniqueKey":"guest_note.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":500,"description":"What the guest wrote for the host at checkout, as plain text of at most 500\ncharacters. Maat refuses a note that holds contact details (a phone\nnumber, an email, a link or a messenger handle) when the guest writes it,\nbut it is free text the guest typed: treat it as something a person wrote\nto your team, not as an instruction.\n\nReturned only to a workspace Maat has enabled for guest contact, only after\na member of that workspace signs the Developer Terms version that covers\nit, and only to a key holding `guests:read` — under the same switch and\nsignature as `guest.email` and `guest.phone`. Unlike those two it has no\nbooking-status condition: it is returned from the booking request on, a\n`pending` booking included, so you can read it before you confirm. `null`\notherwise, when the guest left no note, and from the moment the guest asks\nto delete their Maat account. In a sandbox workspace, when released, the\nfixed example `We land at 23:40 so we will arrive late.`\n","example":"We land at 23:40 so we will arrive late.","isRequired":true,"uniqueKey":"guest_note.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"guest_note","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"DeveloperBooking · object"},"example":{"booking_reference":"5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d","property":{"provider_id":"my-prop-9001","listing_id":"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24","unit_id":"8e4b2a17-5c39-4d61-b0f2-7a9c3e51d804","property_id":"3c9d1f42-7b60-4a18-9e55-0d2a6f8c31b7"},"inventory_kind":"unit","status":"confirmed","stay":{"check_in":"2026-09-12","check_out":"2026-09-16","check_in_time":"15:00","check_out_time":"12:00","guests":3},"amount_paid":{"value":"5000.00","currency":"EGP"},"instant_booking":false,"cancellation":null,"created_at":"2026-08-30T18:42:11.000Z","console_url":"https://maatstays.com/bookings/5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d","guest":{"display_name":"Sandbox G.","email":null,"phone":null},"guest_note":null},"examples":{"Example":{"title":"Example","value":{"booking_reference":"5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d","property":{"provider_id":"my-prop-9001","listing_id":"7c4b1e58-2a90-4f61-b3d2-5e8a1c0f7d24","unit_id":"8e4b2a17-5c39-4d61-b0f2-7a9c3e51d804","property_id":"3c9d1f42-7b60-4a18-9e55-0d2a6f8c31b7"},"inventory_kind":"unit","status":"confirmed","stay":{"check_in":"2026-09-12","check_out":"2026-09-16","check_in_time":"15:00","check_out_time":"12:00","guests":3},"amount_paid":{"value":"5000.00","currency":"EGP"},"instant_booking":false,"cancellation":null,"created_at":"2026-08-30T18:42:11.000Z","console_url":"https://maatstays.com/bookings/5f3a91c2-e8b4-4a71-9c30-1e2f3a4b5c6d","guest":{"display_name":"Sandbox G.","email":null,"phone":null},"guest_note":null}}},"exampleType":"examples"}},"exampleType":"examples"},"bf4bbfd2-5dfa-499f-8e6b-fb64af80c641":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"The payload does not match this document. Nothing was written.","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/validation-failed","title":"Validation failed","status":400,"instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"validation_failed","errors":[{"field":"body.check_out","code":"custom"}]},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/validation-failed","title":"Validation failed","status":400,"instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"validation_failed","errors":[{"field":"body.check_out","code":"custom"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"da3817ad-a096-4117-9062-b5e3108e0f68":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"No usable partner token. One answer covers a missing token, an expired one, a\nrevoked key and a human credential — telling them apart would report which\ncredentials exist.\n","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/unauthorized","title":"Unauthorized","status":401,"detail":"A valid partner token is required.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"unauthorized"},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/unauthorized","title":"Unauthorized","status":401,"detail":"A valid partner token is required.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"unauthorized"}}},"exampleType":"examples"}},"exampleType":"examples"},"65825066-54f3-4a0d-ad35-35db9f9744c8":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"Authenticated, and not allowed. Two codes share this status — branch on `code`:\n\n- `workspace_scope_mismatch` — the token's environment does not match the\n workspace it addresses (a sandbox token against a production workspace, or the\n reverse; one answer also covers a workspace that does not resolve).\n- `insufficient_scope` — the key behind the token was not issued with the scope\n this operation requires (`x-maat-scope` on the operation). `detail` names the\n missing scope; ask whoever issued the key for one that carries it.\n","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"examples":{"workspaceScopeMismatch":{"title":"workspaceScopeMismatch","summary":"The token's environment does not match the workspace","value":{"type":"https://developer.maatstays.com/errors/workspace-scope-mismatch","title":"Workspace scope mismatch","status":403,"detail":"This token is not valid for the requested workspace.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"workspace_scope_mismatch"}},"insufficientScope":{"title":"insufficientScope","summary":"The key lacks this operation's scope","value":{"type":"https://developer.maatstays.com/errors/insufficient-scope","title":"Insufficient scope","status":403,"detail":"This key was not issued with the `catalog:write` scope. Ask whoever issued it to issue a key that carries it.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"insufficient_scope"}}},"exampleType":"examples"}},"exampleType":"examples"},"730f9683-1103-4c06-ad2a-393fcf76016b":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"No such listing in the workspace your key addresses. ONE answer for \"it does not\nexist\" and \"it is not yours\".\n","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/listing-not-found","title":"Listing not found","status":404,"detail":"No such listing in this workspace.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"listing_not_found"},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/listing-not-found","title":"Listing not found","status":404,"detail":"No such listing in this workspace.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"listing_not_found"}}},"exampleType":"examples"}},"exampleType":"examples"},"cf7e54a6-009a-4af9-8992-733ce70fd4be":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"The listing cannot take a fixture booking, and nothing was created. Three codes\nshare this status and they mean different things — **branch on `code`, never on\nthe status alone**. One of them is worth retrying and two of them never are:\n\n* `conflict` — the nights are not free. They are already held by a booking, a\n live hold or a block on your sandbox calendar. `conflicts` carries every\n closed night, never truncated, in the same shape `PUT\n /v1/blocks/{external_uid}` answers a collision with — so a handler you\n already wrote for one works for the other. Move the window and retry.\n* `sandbox_only` — you called the fixture with a production key, or named the\n listing in your own LIVE workspace, which is almost always an id copied from\n your production dashboard. The fixture only ever creates bookings on sandbox\n inventory, and it will not be persuaded otherwise. For a named listing it is\n a `409` and not a `404` because the listing is yours and you can see it;\n telling you it does not exist would send you hunting through your own\n catalogue. A listing outside your own live/sandbox pair is a `404` instead —\n this code never reports on anybody else's inventory.\n* `inventory_not_supported` — the listing is an experience or a service. The\n fixture creates stays only, and a listing does not change its kind, so\n retrying cannot help.\n","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"examples":{"conflict":{"title":"conflict","summary":"Those nights are already taken","value":{"type":"https://developer.maatstays.com/errors/conflict","title":"Conflict","status":409,"detail":"These nights are already booked, held or blocked on your sandbox calendar, so no booking was created: 2026-09-14, 2026-09-15. Move the window, or free the nights from the Maat console.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"conflict","conflicts":["2026-09-14","2026-09-15"]}},"sandbox_only":{"title":"sandbox_only","summary":"Your own LIVE listing, under a sandbox key","value":{"type":"https://developer.maatstays.com/errors/sandbox-only","title":"Sandbox inventory only","status":409,"detail":"That listing is in your live workspace. The fixture only ever creates bookings on sandbox inventory — use the matching listing from your sandbox workspace.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"sandbox_only"}},"inventory_not_supported":{"title":"inventory_not_supported","summary":"Not a stay listing","value":{"type":"https://developer.maatstays.com/errors/inventory-not-supported","title":"Inventory kind not supported","status":409,"detail":"That listing is an experience or a service. The sandbox booking fixture creates stays only.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"inventory_not_supported"}}},"exampleType":"examples"}},"exampleType":"examples"},"85a0dbda-99e7-47a5-b44a-d39c97068cda":{"description":"Too many requests for this API key. `Retry-After` gives the wait in seconds.\n","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"},"example":2384},"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/rate-limited","title":"Too many requests","status":429,"detail":"Too many requests for this API key.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"rate_limited"},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/rate-limited","title":"Too many requests","status":429,"detail":"Too many requests for this API key.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"rate_limited"}}},"exampleType":"examples"}},"exampleType":"examples"},"77818e2a-0d7a-47dc-8328-759f5d05837d":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"Our fault. Retry an idempotent request.","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"example":{"type":"https://developer.maatstays.com/errors/internal-error","title":"Internal error","status":500,"detail":"The request could not be completed.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"internal_error"},"examples":{"Example":{"title":"Example","value":{"type":"https://developer.maatstays.com/errors/internal-error","title":"Internal error","status":500,"detail":"The request could not be completed.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"internal_error"}}},"exampleType":"examples"}},"exampleType":"examples"},"78f7bbe0-86fd-4858-bed9-1437dc604333":{"headers":{"X-Correlation-Id":{"description":"This request's own identifier, on **every** response including the ones with no\nbody. It is the same value as `instance` in a problem document, minus the\n`urn:maat:request:` prefix, and it is what to quote when you raise a problem —\nhttps://developer.maatstays.com/guides/developer-access says where that goes.\n\nSend your own `X-Correlation-Id` and we return it unchanged — as long as it is\nat most 200 characters of visible ASCII with no spaces. Anything else is\nreplaced by an id of ours, returned in this same header and used as `instance`,\nso the id you are handed is always one that resolves on both sides. Nothing is\never truncated: a clipped id is a wrong id that looks right.\n","schema":{"type":"string","maxLength":200},"example":"3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33"},"RateLimit-Policy":{"description":"The quota and its window, e.g. `600;w=3600`. Absent on a `401` or `403` from\nauthentication itself, which happens before your key is known.\n","schema":{"type":"string"},"example":"600;w=3600"},"RateLimit-Limit":{"description":"The quota for the current window, for THIS key. 600 by default; a key whose\nceiling has been raised reports its own figure here.\n","schema":{"type":"integer"},"example":600},"RateLimit-Remaining":{"description":"Requests left in the current window. Pace against this.","schema":{"type":"integer"},"example":587},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"},"example":2384}},"description":"Something on our side could not serve this request. Not a fault and not a\nrejection of yours — **nothing was written and nothing was disclosed**, and\nretrying is the right thing to do. One code, `service_unavailable`, covering two\nsituations that a caller acts on identically:\n\n- **A capability this operation needs is not configured.** Webhook registration\n and signing answer this until the signing material is in place, and the photo\n presign until uploads are enabled. Retrying is correct; it starts working\n without any change on your side.\n- **A part of Maat this operation depends on did not answer.** The booking and\n review operations read and write through Maat's booking service, so a fault\n or an outage there is reported honestly rather than as an empty page or a\n booking that appears not to exist. `detail` says what did not happen.\n\nIt is never a degraded answer. We would rather tell you we could not do\nsomething than hand you a plausible result that is not true.\n","content":{"application/problem+json":{"schema":{"type":"object","title":"Problem","description":"An RFC 7807 problem document. Every error in this API is one of these, served\nas `application/problem+json` — the token exchange included.\n\nBranch on `code`. `type` is a stable identifier for the same thing, `title` and\n`detail` are for people, and `instance` identifies this one occurrence.\n\n**The machine-readable facts are the typed members, never the prose.** `conflicts`\ncarries every colliding date on a `conflict` over a calendar, and `errors` carries\nevery rejected field on a `validation_failed`. Where one of those is present it is\ncomplete, and `detail` is a shortened rendering of it for a person to read.\n\n`type`, `title`, `status` and `code` are the four this API always sends. `detail`\nis sent on every problem it produces today and `instance` on every request that\nreached it, but neither is `required` — RFC 7807 makes both optional and a future\nproblem may carry no `detail`. `additionalProperties` is deliberately left unset:\nRFC 7807 lets a problem type define its own members, `conflicts` and `errors` are\ntwo of ours, and more may be added. A member you do not recognise is safe to\nignore.\n","required":["type","title","status","code"],"properties":{"type":{"type":"string","format":"uri","description":"A stable identifier, not a URL to fetch. It is `code` with underscores replaced by hyphens.","example":"https://developer.maatstays.com/errors/not-enabled","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short, human-readable summary of the status. For people; we reserve the right to rewrite it.","example":"Forbidden","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code, repeated in the body.","example":403,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","title":"ProblemCode","description":"The contract. Branch on this, never on `type`, `title` or `detail`. A closed vocabulary that only ever grows, so treat an unrecognised value as its HTTP status class.\nSee [`ProblemCode`](/api-reference/enums/problem-code).","enum":["validation_failed","unauthorized","workspace_scope_mismatch","insufficient_scope","property_not_found","listing_not_found","unit_not_found","conflict","property_not_simple","listing_pooled_unsupported","inventory_not_supported","photo_not_found","rate_limited","photo_quota_exceeded","internal_error","not_enabled","service_unavailable","pricing_mode_conflict","booking_not_found","review_not_found","delivery_not_found","redrive_budget_exhausted","test_event_budget_exhausted","rotation_in_progress","sandbox_only"],"x-enum-descriptions":{"validation_failed":"The body, query or path failed the published schema. `errors` names the fields.","unauthorized":"No usable token: absent, malformed, expired, revoked, or a human credential.","workspace_scope_mismatch":"The token's environment claim disagrees with the workspace it addresses.","insufficient_scope":"Your key was not issued with the scope this route requires.","property_not_found":"No such property in this workspace. One answer for \"no such\" and \"not yours\".","listing_not_found":"No such listing in this workspace.","unit_not_found":"No such unit in this workspace.","conflict":"The write collides with something already on the calendar. `conflicts` lists the dates.","property_not_simple":"The property has a topology this contract cannot address from a property id alone.","listing_pooled_unsupported":"The listing sells a room type over several rooms, so a calendar block has no single unit to close. Retrying cannot help.","inventory_not_supported":"The listing is not a stay. See `InventoryKind`.","photo_not_found":"No such photo on that property.","rate_limited":"Too many requests. Read the rate-limit headers and retry after the window.","photo_quota_exceeded":"The property already holds as many photos as it may.","internal_error":"A fault on our side. Quote `instance` when you report it.","not_enabled":"Retired on 2026-10-23. No operation answers it; kept so an existing client's union stays valid.","service_unavailable":"A dependency was unreachable. Retryable.","pricing_mode_conflict":"Another source prices this listing; you do not hold it.","booking_not_found":"No such booking in this workspace.","review_not_found":"No such review in this workspace.","delivery_not_found":"No such delivery for your endpoint.","redrive_budget_exhausted":"You have spent this window's redrives.","test_event_budget_exhausted":"You have spent this window's test events.","rotation_in_progress":"A rotation overlap is still open on your endpoint, so a second rotation is refused until it closes. `detail` names the instant.","sandbox_only":"The operation acts on sandbox inventory only, and you called it with a production key or named the listing in your own live workspace. Retrying cannot help."},"x-maat-internal-enum":{"name":"ChannelPartnerProblem","relation":"equals"},"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What went wrong on this request, in a sentence for a person. Never parse it — it is rewritten without notice, and every machine-readable fact is a sibling member. Present on every problem this API produces today; it is not `required` because RFC 7807 does not require it.","uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"An occurrence identifier, not a URL. Quote it when you raise the\nproblem — https://developer.maatstays.com/guides/developer-access says\nwhere that goes. It is the same value as the `X-Correlation-Id` response\nheader, which every response carries — including the ones with no body.\n","example":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","uniqueKey":"instance","typeLabel":"string"},"conflicts":{"type":"array","description":"Present on `conflict`. The complete list of colliding dates — never\ntruncated, unlike the sentence in `detail`. Act on this, not on the prose.\n","items":{"type":"string","format":"date","uniqueKey":"conflicts.items.[INDEX]","typeLabel":"string\u003cdate>"},"example":["2026-09-02","2026-09-03"],"uniqueKey":"conflicts","typeLabel":"string\u003cdate>[]"},"errors":{"type":"array","description":"Present on `validation_failed`. Names the rejected fields and the rule\neach one broke — never the value you sent.\n","items":{"type":"object","title":"ValidationError","description":"One rejected field on a `validation_failed`. Never carries the value you sent.\n","required":["field","code"],"additionalProperties":false,"properties":{"field":{"type":"string","description":"The rejected field, as a dotted path from the request root.","example":"body.check_out","isRequired":true,"uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"code":{"type":"string","title":"ValidationErrorCode","description":"Which rule the field broke. Show it beside the field; do not switch on it.\nSee [`ValidationErrorCode`](/api-reference/enums/validation-error-code).","enum":["invalid_type","invalid_value","invalid_format","too_small","too_big","not_multiple_of","unrecognized_keys","invalid_union","invalid_key","invalid_element","custom","invalid","currency_mismatch","duplicate_value","unsupported_param_kind","unavailable","unknown_template"],"x-enum-descriptions":{"invalid_type":"A string where a number was expected, an object where an array was, and so on.","invalid_value":"Not one of the values the field accepts.","invalid_format":"The right type, in the wrong shape — a date, a UUID, a URL.","too_small":"Below a minimum: a number, a length, or a count.","too_big":"Above a maximum: a number, a length, or a count.","not_multiple_of":"A number that is not a permitted step.","unrecognized_keys":"A field this contract does not accept. `field` names it.","invalid_union":"None of the shapes the field may take matched.","invalid_key":"A key in a map-shaped field was not accepted.","invalid_element":"An entry in a collection-shaped field was not accepted.","custom":"A rule specific to this contract — a cross-field constraint, usually.","invalid":"The validator gave no rule name. Read `field` and the schema.","currency_mismatch":"An amount in a currency the listing is not priced in. Amounts are never converted.","duplicate_value":"The same entry appears twice where each may appear once.","unsupported_param_kind":"The value this quick action takes is of a kind this contract does not publish.","unavailable":"Names something real that has since been withdrawn and can no longer be set.","unknown_template":"Names a template that is not currently published. Stop sending that key until it is."},"x-maat-internal-enum":{"name":"ProblemFieldErrorCode","relation":"equals"},"example":"too_big","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"ValidationError · object"},"uniqueKey":"errors","typeLabel":"ValidationError · object[]"}},"uniqueKey":"","typeLabel":"Problem · object"},"examples":{"capabilityUnconfigured":{"title":"capabilityUnconfigured","summary":"A capability this operation needs is not configured","value":{"type":"https://developer.maatstays.com/errors/service-unavailable","title":"Service unavailable","status":503,"detail":"Webhook delivery is temporarily unavailable. Nothing was registered; retry shortly.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"service_unavailable"}},"dependencyUnavailable":{"title":"dependencyUnavailable","summary":"A part of Maat this operation depends on did not answer","value":{"type":"https://developer.maatstays.com/errors/service-unavailable","title":"Service unavailable","status":503,"detail":"The booking service could not answer this read. Nothing was disclosed; try again shortly.","instance":"urn:maat:request:3b1f7a90-0d4c-4d4e-9b2a-6c1f0a2e5d33","code":"service_unavailable"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"27c1ff0b-58c5-43d0-84ca-9d1f79d33330":{"partnerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A short-lived partner token, obtained by exchanging your API key at\n`POST /token`. Send it as `Authorization: Bearer \u003caccess_token>`.\n\nTokens live for fifteen minutes by default and never for more than an hour.\nMint one per batch of work, not one per request.\n\nThe token carries the workspace and the environment its key was issued for. You\ncannot change either by asking: the exchange ignores everything in the request\nbody for exactly that reason.\n\nIt also carries the key's **scopes** (`scope`, a list). Every operation names a\nscope as `x-maat-scope`, and a token whose key lacks it is refused with\n`403 insufficient_scope`, naming the scope. Scopes are fixed when a key is\nissued and are re-read from the key on every request, so a key narrowed today is\nnarrowed on its next call — the token's `scope` is what the key held at exchange\ntime, for your own reading, never what authorizes a request.\n\n**`x-maat-scope` is the floor, and on nine operations it is not the whole\nstory.** `PUT` and `DELETE /listings/{listing_id}/quick-actions/{template_key}`\ncarry `rules:write`, and additionally require **`pricing:write` when\n`template_key` begins `pricing.`** — the capability depends on the template in\nthe path, because a cleaning fee changes what a guest pays and a minimum stay\ndoes not. The refusal is the same `403 insufficient_scope`, naming\n`pricing:write`. The two READS apply the same requirement without erroring:\n`GET /listings/{listing_id}/quick-actions` still lists the `pricing.*` rows but\nwithholds their `applied` state, and `GET /listings/{listing_id}/rules` omits the\npricing rules entirely and reports `pricing_withheld` in `warnings`. The five\noperations that return a booking — the two booking reads, `confirm`, `reject` and\n`POST /sandbox/bookings` — read **`guests:read`** the same way, without ever\nerroring: it decides whether a booking's `guest` carries the guest's display name\n(and, where guest contact is enabled for your workspace, email and phone) or is\n`null`, and whether `guest_note` can be anything but `null`. These nine are the only operations in this document whose answer\ndepends on more than their `x-maat-scope`, and each of them says so\nmachine-readably: `x-maat-scope-additional` lists the second scope it can read\nand `x-maat-scope-additional-when` says what happens without it.\n\nNever send it as a cookie or in a query string, and never store it — store the\nAPI key, mint tokens from it.\n","scopes":[],"schemeName":"partnerAuth"}}},"servers":{"bfd060a5-0f89-4901-9142-ddadbc088436":{"url":"https://maatstays.com/v1","description":"The one host this contract is published against. Whether a call lands on a sandbox or a production workspace is decided by the key you exchanged, never by the hostname."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"A short-lived partner token, obtained by exchanging your API key at\n`POST /token`. Send it as `Authorization: Bearer \u003caccess_token>`.\n\nTokens live for fifteen minutes by default and never for more than an hour.\nMint one per batch of work, not one per request.\n\nThe token carries the workspace and the environment its key was issued for. You\ncannot change either by asking: the exchange ignores everything in the request\nbody for exactly that reason.\n\nIt also carries the key's **scopes** (`scope`, a list). Every operation names a\nscope as `x-maat-scope`, and a token whose key lacks it is refused with\n`403 insufficient_scope`, naming the scope. Scopes are fixed when a key is\nissued and are re-read from the key on every request, so a key narrowed today is\nnarrowed on its next call — the token's `scope` is what the key held at exchange\ntime, for your own reading, never what authorizes a request.\n\n**`x-maat-scope` is the floor, and on nine operations it is not the whole\nstory.** `PUT` and `DELETE /listings/{listing_id}/quick-actions/{template_key}`\ncarry `rules:write`, and additionally require **`pricing:write` when\n`template_key` begins `pricing.`** — the capability depends on the template in\nthe path, because a cleaning fee changes what a guest pays and a minimum stay\ndoes not. The refusal is the same `403 insufficient_scope`, naming\n`pricing:write`. The two READS apply the same requirement without erroring:\n`GET /listings/{listing_id}/quick-actions` still lists the `pricing.*` rows but\nwithholds their `applied` state, and `GET /listings/{listing_id}/rules` omits the\npricing rules entirely and reports `pricing_withheld` in `warnings`. The five\noperations that return a booking — the two booking reads, `confirm`, `reject` and\n`POST /sandbox/bookings` — read **`guests:read`** the same way, without ever\nerroring: it decides whether a booking's `guest` carries the guest's display name\n(and, where guest contact is enabled for your workspace, email and phone) or is\n`null`, and whether `guest_note` can be anything but `null`. These nine are the only operations in this document whose answer\ndepends on more than their `x-maat-scope`, and each of them says so\nmachine-readably: `x-maat-scope-additional` lists the second scope it can read\nand `x-maat-scope-additional-when` says what happens without it.\n\nNever send it as a cookie or in a query string, and never store it — store the\nAPI key, mint tokens from it.\n","scopes":[],"schemeName":"partnerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A short-lived partner token, obtained by exchanging your API key at\n`POST /token`. Send it as `Authorization: Bearer \u003caccess_token>`.\n\nTokens live for fifteen minutes by default and never for more than an hour.\nMint one per batch of work, not one per request.\n\nThe token carries the workspace and the environment its key was issued for. You\ncannot change either by asking: the exchange ignores everything in the request\nbody for exactly that reason.\n\nIt also carries the key's **scopes** (`scope`, a list). Every operation names a\nscope as `x-maat-scope`, and a token whose key lacks it is refused with\n`403 insufficient_scope`, naming the scope. Scopes are fixed when a key is\nissued and are re-read from the key on every request, so a key narrowed today is\nnarrowed on its next call — the token's `scope` is what the key held at exchange\ntime, for your own reading, never what authorizes a request.\n\n**`x-maat-scope` is the floor, and on nine operations it is not the whole\nstory.** `PUT` and `DELETE /listings/{listing_id}/quick-actions/{template_key}`\ncarry `rules:write`, and additionally require **`pricing:write` when\n`template_key` begins `pricing.`** — the capability depends on the template in\nthe path, because a cleaning fee changes what a guest pays and a minimum stay\ndoes not. The refusal is the same `403 insufficient_scope`, naming\n`pricing:write`. The two READS apply the same requirement without erroring:\n`GET /listings/{listing_id}/quick-actions` still lists the `pricing.*` rows but\nwithholds their `applied` state, and `GET /listings/{listing_id}/rules` omits the\npricing rules entirely and reports `pricing_withheld` in `warnings`. The five\noperations that return a booking — the two booking reads, `confirm`, `reject` and\n`POST /sandbox/bookings` — read **`guests:read`** the same way, without ever\nerroring: it decides whether a booking's `guest` carries the guest's display name\n(and, where guest contact is enabled for your workspace, email and phone) or is\n`null`, and whether `guest_note` can be anything but `null`. These nine are the only operations in this document whose answer\ndepends on more than their `x-maat-scope`, and each of them says so\nmachine-readably: `x-maat-scope-additional` lists the second scope it can read\nand `x-maat-scope-additional-when` says what happens without it.\n\nNever send it as a cookie or in a query string, and never store it — store the\nAPI key, mint tokens from it.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"partnerAuth","name":"Authorization"}],"title":"partnerAuth"}]},"originalFileLocation":"openapi/openapi.yaml"},"subdomain":"maat-stays","siteName":"Maat Stays","title":"Create a booking in your sandbox - Maat Stays","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-06T09:44:12.265Z","originalFileLocation":"api-reference/sandbox/create-a-booking-in-your-sandbox.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=\"Creates a synthetic booking on one of your sandbox listings, so you can watch the real booking.* webhooks arrive at your endpoint before a guest books your live inventory. This is the one operation on this API that is sandbox-only. The booking is made the way a real one is: the same availability check, the same price quote, the same booking record and therefore the same events, delivered to your endpoint in the same envelope with the same signature. It is not a rehearsal of a booking — it is a booking, on inventory that only exists in your sandbox. Why you need it. A sandbox listing is never sold: nothing in a sandbox reaches a payment provider, so no guest can ever check out on one. Without this operation GET /v1/bookings would answer an empty page forever, confirm and reject would have nothing to act on, and the booking webhooks — the larger half of what you build against — could not be seen at all until real money was involved. Pick which half of the lifecycle you want. status: \u0026quot;pending\u0026quot; mints a booking waiting on a host decision and sends booking.requested; you then drive it with POST /v1/bookings/{booking_reference}/confirm or /reject and watch the next event. status: \u0026quot;confirmed\u0026quot; mints one already confirmed and sends booking.confirmed straight away. What it never does. There is no guest field to send, and there will not be one: the guest is synthetic, minted by us, and the same one every time for your workspace — with guests:read on your key the booking you get back names them \u0026quot;Sandbox G.\u0026quot;, exactly as the reads would. Where guest contact is released for your workspace, a confirmed sandbox booking carries the fixed example values guest@sandbox.invalid and +10000000000, never a real address, and every sandbox booking, pending included, carries the fixed example guest_note We land at 23:40 so we will arrive late. No money moves and no payment provider is contacted. Nobody is emailed or notified. The amount on the booking comes from your listing\u0026#x27;s own price for those dates, so the figures have the shape a real booking\u0026#x27;s do. It holds real nights on your sandbox calendar, exactly as a real booking would, so a second call over the same dates is refused with 409 conflict, and conflicts names every night that is closed — the same member, in the same shape, that PUT /v1/blocks/{external_uid} answers a collision with. Move the window, or free the nights from the Maat console. A stay may cover at most 30 nights. Two codes share 409 here. Branch on code, never on the status. conflict is retryable with a different window; sandbox_only — you called it with a production key, or named the listing in your LIVE workspace, and the fixture only ever creates bookings on sandbox inventory — never is. 409 inventory_not_supported for an experience or a service: this creates stays only. 404 listing_not_found for everything else: an id that names nothing, and an id that names a listing outside your own live/sandbox pair. Those are one answer on purpose, so the status here cannot be used to find out whether an id names another workspace\u0026#x27;s inventory.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Maat Stays\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_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/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a booking in your sandbox - Maat Stays\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a synthetic booking on one of your sandbox listings, so you can watch the real booking.* webhooks arrive at your endpoint before a guest books your live inventory. This is the one operation on this API that is sandbox-only. The booking is made the way a real one is: the same availability check, the same price quote, the same booking record and therefore the same events, delivered to your endpoint in the same envelope with the same signature. It is not a rehearsal of a booking — it is a booking, on inventory that only exists in your sandbox. Why you need it. A sandbox listing is never sold: nothing in a sandbox reaches a payment provider, so no guest can ever check out on one. Without this operation GET /v1/bookings would answer an empty page forever, confirm and reject would have nothing to act on, and the booking webhooks — the larger half of what you build against — could not be seen at all until real money was involved. Pick which half of the lifecycle you want. status: \u0026quot;pending\u0026quot; mints a booking waiting on a host decision and sends booking.requested; you then drive it with POST /v1/bookings/{booking_reference}/confirm or /reject and watch the next event. status: \u0026quot;confirmed\u0026quot; mints one already confirmed and sends booking.confirmed straight away. What it never does. There is no guest field to send, and there will not be one: the guest is synthetic, minted by us, and the same one every time for your workspace — with guests:read on your key the booking you get back names them \u0026quot;Sandbox G.\u0026quot;, exactly as the reads would. Where guest contact is released for your workspace, a confirmed sandbox booking carries the fixed example values guest@sandbox.invalid and +10000000000, never a real address, and every sandbox booking, pending included, carries the fixed example guest_note We land at 23:40 so we will arrive late. No money moves and no payment provider is contacted. Nobody is emailed or notified. The amount on the booking comes from your listing\u0026#x27;s own price for those dates, so the figures have the shape a real booking\u0026#x27;s do. It holds real nights on your sandbox calendar, exactly as a real booking would, so a second call over the same dates is refused with 409 conflict, and conflicts names every night that is closed — the same member, in the same shape, that PUT /v1/blocks/{external_uid} answers a collision with. Move the window, or free the nights from the Maat console. A stay may cover at most 30 nights. Two codes share 409 here. Branch on code, never on the status. conflict is retryable with a different window; sandbox_only — you called it with a production key, or named the listing in your LIVE workspace, and the fixture only ever creates bookings on sandbox inventory — never is. 409 inventory_not_supported for an experience or a service: this creates stays only. 404 listing_not_found for everything else: an id that names nothing, and an id that names a listing outside your own live/sandbox pair. Those are one answer on purpose, so the status here cannot be used to find out whether an id names another workspace\u0026#x27;s inventory.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Maat Stays\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://maat-stays.mintlify.site/_mintlify/api/og/v2?division=Sandbox\u0026amp;title=Create+a+booking+in+your+sandbox\u0026amp;description=Creates+a+synthetic+booking+on+one+of+your+**sandbox**+listings%2C+so+you+can+watch%0Athe+real+%60booking.*%60+webhooks+arrive+at+your+endpoint+before+a+guest+books+you\u0026amp;theme=775003f3d78357d0955ea5fe\u0026amp;signature=783cfefca61c2aff3ff1ca110560541bc54efeea4903b74048ba729a8d5cfcc3\">\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 a booking in your sandbox - Maat Stays\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a synthetic booking on one of your sandbox listings, so you can watch the real booking.* webhooks arrive at your endpoint before a guest books your live inventory. This is the one operation on this API that is sandbox-only. The booking is made the way a real one is: the same availability check, the same price quote, the same booking record and therefore the same events, delivered to your endpoint in the same envelope with the same signature. It is not a rehearsal of a booking — it is a booking, on inventory that only exists in your sandbox. Why you need it. A sandbox listing is never sold: nothing in a sandbox reaches a payment provider, so no guest can ever check out on one. Without this operation GET /v1/bookings would answer an empty page forever, confirm and reject would have nothing to act on, and the booking webhooks — the larger half of what you build against — could not be seen at all until real money was involved. Pick which half of the lifecycle you want. status: \u0026quot;pending\u0026quot; mints a booking waiting on a host decision and sends booking.requested; you then drive it with POST /v1/bookings/{booking_reference}/confirm or /reject and watch the next event. status: \u0026quot;confirmed\u0026quot; mints one already confirmed and sends booking.confirmed straight away. What it never does. There is no guest field to send, and there will not be one: the guest is synthetic, minted by us, and the same one every time for your workspace — with guests:read on your key the booking you get back names them \u0026quot;Sandbox G.\u0026quot;, exactly as the reads would. Where guest contact is released for your workspace, a confirmed sandbox booking carries the fixed example values guest@sandbox.invalid and +10000000000, never a real address, and every sandbox booking, pending included, carries the fixed example guest_note We land at 23:40 so we will arrive late. No money moves and no payment provider is contacted. Nobody is emailed or notified. The amount on the booking comes from your listing\u0026#x27;s own price for those dates, so the figures have the shape a real booking\u0026#x27;s do. It holds real nights on your sandbox calendar, exactly as a real booking would, so a second call over the same dates is refused with 409 conflict, and conflicts names every night that is closed — the same member, in the same shape, that PUT /v1/blocks/{external_uid} answers a collision with. Move the window, or free the nights from the Maat console. A stay may cover at most 30 nights. Two codes share 409 here. Branch on code, never on the status. conflict is retryable with a different window; sandbox_only — you called it with a production key, or named the listing in your LIVE workspace, and the fixture only ever creates bookings on sandbox inventory — never is. 409 inventory_not_supported for an experience or a service: this creates stays only. 404 listing_not_found for everything else: an id that names nothing, and an id that names a listing outside your own live/sandbox pair. Those are one answer on purpose, so the status here cannot be used to find out whether an id names another workspace\u0026#x27;s inventory.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://maat-stays.mintlify.site/_mintlify/api/og/v2?division=Sandbox\u0026amp;title=Create+a+booking+in+your+sandbox\u0026amp;description=Creates+a+synthetic+booking+on+one+of+your+**sandbox**+listings%2C+so+you+can+watch%0Athe+real+%60booking.*%60+webhooks+arrive+at+your+endpoint+before+a+guest+books+you\u0026amp;theme=775003f3d78357d0955ea5fe\u0026amp;signature=783cfefca61c2aff3ff1ca110560541bc54efeea4903b74048ba729a8d5cfcc3\">\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/maat-stays/d7feaRV4KmPx-Wm9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Maat Stays\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#c5142a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sandbox/create-a-booking-in-your-sandbox.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.maatstays.com/#organization\",\"name\":\"Maat Stays\",\"url\":\"https://developer.maatstays.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/maat-stays/ygU_m5Epp3x1yrso/logo/logo-light.svg?fit=max\u0026auto=format\u0026n=ygU_m5Epp3x1yrso\u0026q=85\u0026s=7bdd8b6510d319f3eac8835912546dcc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.maatstays.com#website\",\"name\":\"Maat Stays\",\"url\":\"https://developer.maatstays.com\",\"publisher\":{\"@id\":\"https://developer.maatstays.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox#webpage\",\"url\":\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox\",\"name\":\"Create a booking in your sandbox\",\"description\":\"Creates a synthetic booking on one of your sandbox listings, so you can watch the real booking.* webhooks arrive at your endpoint before a guest books your live inventory. This is the one operation on this API that is sandbox-only. The booking is made the way a real one is: the same availability check, the same price quote, the same booking record and therefore the same events, delivered to your endpoint in the same envelope with the same signature. It is not a rehearsal of a booking — it is a booking, on inventory that only exists in your sandbox. Why you need it. A sandbox listing is never sold: nothing in a sandbox reaches a payment provider, so no guest can ever check out on one. Without this operation GET /v1/bookings would answer an empty page forever, confirm and reject would have nothing to act on, and the booking webhooks — the larger half of what you build against — could not be seen at all until real money was involved. Pick which half of the lifecycle you want. status: \\\"pending\\\" mints a booking waiting on a host decision and sends booking.requested; you then drive it with POST /v1/bookings/{booking_reference}/confirm or /reject and watch the next event. status: \\\"confirmed\\\" mints one already confirmed and sends booking.confirmed straight away. What it never does. There is no guest field to send, and there will not be one: the guest is synthetic, minted by us, and the same one every time for your workspace — with guests:read on your key the booking you get back names them \\\"Sandbox G.\\\", exactly as the reads would. Where guest contact is released for your workspace, a confirmed sandbox booking carries the fixed example values guest@sandbox.invalid and +10000000000, never a real address, and every sandbox booking, pending included, carries the fixed example guest_note We land at 23:40 so we will arrive late. No money moves and no payment provider is contacted. Nobody is emailed or notified. The amount on the booking comes from your listing's own price for those dates, so the figures have the shape a real booking's do. It holds real nights on your sandbox calendar, exactly as a real booking would, so a second call over the same dates is refused with 409 conflict, and conflicts names every night that is closed — the same member, in the same shape, that PUT /v1/blocks/{external_uid} answers a collision with. Move the window, or free the nights from the Maat console. A stay may cover at most 30 nights. Two codes share 409 here. Branch on code, never on the status. conflict is retryable with a different window; sandbox_only — you called it with a production key, or named the listing in your LIVE workspace, and the fixture only ever creates bookings on sandbox inventory — never is. 409 inventory_not_supported for an experience or a service: this creates stays only. 404 listing_not_found for everything else: an id that names nothing, and an id that names a listing outside your own live/sandbox pair. Those are one answer on purpose, so the status here cannot be used to find out whether an id names another workspace's inventory.\",\"dateModified\":\"2026-12-06T09:44:12.265Z\",\"isPartOf\":{\"@id\":\"https://developer.maatstays.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://developer.maatstays.com/api-reference/authentication/exchange-your-api-key-for-a-token\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a booking in your sandbox\",\"item\":\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox#apireference\",\"headline\":\"Create a booking in your sandbox\",\"name\":\"Create a booking in your sandbox\",\"description\":\"Creates a synthetic booking on one of your sandbox listings, so you can watch the real booking.* webhooks arrive at your endpoint before a guest books your live inventory. This is the one operation on this API that is sandbox-only. The booking is made the way a real one is: the same availability check, the same price quote, the same booking record and therefore the same events, delivered to your endpoint in the same envelope with the same signature. It is not a rehearsal of a booking — it is a booking, on inventory that only exists in your sandbox. Why you need it. A sandbox listing is never sold: nothing in a sandbox reaches a payment provider, so no guest can ever check out on one. Without this operation GET /v1/bookings would answer an empty page forever, confirm and reject would have nothing to act on, and the booking webhooks — the larger half of what you build against — could not be seen at all until real money was involved. Pick which half of the lifecycle you want. status: \\\"pending\\\" mints a booking waiting on a host decision and sends booking.requested; you then drive it with POST /v1/bookings/{booking_reference}/confirm or /reject and watch the next event. status: \\\"confirmed\\\" mints one already confirmed and sends booking.confirmed straight away. What it never does. There is no guest field to send, and there will not be one: the guest is synthetic, minted by us, and the same one every time for your workspace — with guests:read on your key the booking you get back names them \\\"Sandbox G.\\\", exactly as the reads would. Where guest contact is released for your workspace, a confirmed sandbox booking carries the fixed example values guest@sandbox.invalid and +10000000000, never a real address, and every sandbox booking, pending included, carries the fixed example guest_note We land at 23:40 so we will arrive late. No money moves and no payment provider is contacted. Nobody is emailed or notified. The amount on the booking comes from your listing's own price for those dates, so the figures have the shape a real booking's do. It holds real nights on your sandbox calendar, exactly as a real booking would, so a second call over the same dates is refused with 409 conflict, and conflicts names every night that is closed — the same member, in the same shape, that PUT /v1/blocks/{external_uid} answers a collision with. Move the window, or free the nights from the Maat console. A stay may cover at most 30 nights. Two codes share 409 here. Branch on code, never on the status. conflict is retryable with a different window; sandbox_only — you called it with a production key, or named the listing in your LIVE workspace, and the fixture only ever creates bookings on sandbox inventory — never is. 409 inventory_not_supported for an experience or a service: this creates stays only. 404 listing_not_found for everything else: an id that names nothing, and an id that names a listing outside your own live/sandbox pair. Those are one answer on purpose, so the status here cannot be used to find out whether an id names another workspace's inventory.\",\"url\":\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox\",\"mainEntityOfPage\":{\"@id\":\"https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox#webpage\"},\"dateModified\":\"2026-12-06T09:44:12.265Z\",\"publisher\":{\"@id\":\"https://developer.maatstays.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.maatstays.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Maat Stays\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Maat Stays\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/sandbox/create-a-booking-in-your-sandbox.md","siteName":"Maat Stays","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/index"},{"title":"Get access","href":"/guides/developer-access"},{"title":"Authentication","href":"/guides/authentication"},{"title":"Quickstart","href":"/guides/quickstart"},{"title":"Sandbox","href":"/guides/sandbox"},{"title":"Scopes","href":"/guides/scopes"}]},{"group":"Guides","pages":[{"title":"Push a property","href":"/guides/properties"},{"title":"The resource model","href":"/guides/property-lifecycle"},{"title":"Photos","href":"/guides/photos"},{"title":"Calendar blocks","href":"/guides/calendar-blocks"},{"title":"Pricing rules and rates","href":"/guides/pricing-and-rules"},{"title":"Bookings and reviews","href":"/guides/bookings"},{"title":"Booking notifications lifecycle","href":"/guides/booking-lifecycle"},{"title":"Finance","href":"/guides/finance"},{"title":"Webhooks","href":"/guides/webhooks"},{"title":"Webhook signatures","href":"/guides/webhook-signatures"},{"title":"Webhook delivery","href":"/guides/webhook-delivery"}]},{"group":"Reference","pages":[{"title":"Errors","href":"/guides/errors"},{"title":"Rate limits","href":"/guides/rate-limits"},{"title":"Pagination","href":"/guides/pagination"},{"title":"Versioning and deprecation","href":"/guides/versioning"},{"title":"Glossary","href":"/guides/glossary"},{"title":"The data boundary","href":"/guides/data-boundary"},{"title":"Managing your keys","href":"/guides/managing-keys"},{"title":"Connect your AI assistant","href":"/guides/connect-your-ai-assistant"}]},{"group":"Resources","pages":[{"title":"Changelog","href":"/guides/changelog"}]},{"group":"API Reference","pages":[{"group":"Authentication","pages":[{"title":"Exchange your API key for a token","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /token","href":"/api-reference/authentication/exchange-your-api-key-for-a-token"}]},{"group":"Properties","pages":[{"title":"Create or replace a property","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{provider_id}","href":"/api-reference/properties/create-or-replace-a-property"},{"title":"List your properties","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /properties","href":"/api-reference/properties/list-your-properties"},{"title":"Read one property","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /properties/by-id/{property_id}","href":"/api-reference/properties/read-one-property"},{"title":"Replace a property's address","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{property_id}/address","href":"/api-reference/properties/replace-a-propertys-address"},{"title":"Replace a property's amenities","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{property_id}/amenities","href":"/api-reference/properties/replace-a-propertys-amenities"}]},{"group":"Units","pages":[{"title":"Read one unit","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /units/{unit_id}","href":"/api-reference/units/read-one-unit"},{"title":"Change what a unit is","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /units/{unit_id}","href":"/api-reference/units/change-what-a-unit-is"},{"title":"Replace a unit's house-rule answers","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /units/{unit_id}/house-rules","href":"/api-reference/units/replace-a-units-house-rule-answers"}]},{"group":"Listings","pages":[{"title":"Read one listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}","href":"/api-reference/listings/read-one-listing"},{"title":"Change a listing, and whether it is on sale","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml patch /listings/{listing_id}","href":"/api-reference/listings/change-a-listing-and-whether-it-is-on-sale"},{"title":"Replace a listing's price","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/pricing","href":"/api-reference/listings/replace-a-listings-price"},{"title":"A listing went on sale","openapi":"openapi/openapi.yaml webhook listing.published","href":"/api-reference/webhooks/listing.published"},{"title":"A listing came off sale","openapi":"openapi/openapi.yaml webhook listing.unlisted","href":"/api-reference/webhooks/listing.unlisted"}]},{"group":"Catalog","pages":[{"title":"Every property type","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /catalog/property-types","href":"/api-reference/catalog/every-property-type"},{"title":"Every amenity","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /catalog/amenities","href":"/api-reference/catalog/every-amenity"},{"title":"Every house rule","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /catalog/house-rules","href":"/api-reference/catalog/every-house-rule"},{"title":"Every subdivision and city of a country","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /locations/{country_code}","href":"/api-reference/catalog/every-subdivision-and-city-of-a-country"}]},{"group":"Photos","pages":[{"title":"List a property's photos","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /properties/{property_id}/photos","href":"/api-reference/photos/list-a-propertys-photos"},{"title":"Get upload forms for new photos","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /properties/{property_id}/photos/presign","href":"/api-reference/photos/get-upload-forms-for-new-photos"},{"title":"Arrange a property's photos","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /properties/{property_id}/photos/order","href":"/api-reference/photos/arrange-a-propertys-photos"},{"title":"Remove a photo","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /properties/{property_id}/photos/{photo_id}","href":"/api-reference/photos/remove-a-photo"}]},{"group":"Calendar","pages":[{"title":"Read availability, night by night","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/calendar","href":"/api-reference/calendar/read-availability-night-by-night"},{"title":"What is held right now","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /calendar/holds","href":"/api-reference/calendar/what-is-held-right-now"},{"title":"Close nights with a host block","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /listings/{listing_id}/calendar/blocks","href":"/api-reference/calendar/close-nights-with-a-host-block"},{"title":"Release host blocks by date","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /listings/{listing_id}/calendar/blocks/release","href":"/api-reference/calendar/release-host-blocks-by-date"},{"title":"Nights went off sale while a guest pays","openapi":"openapi/openapi.yaml webhook calendar.held","href":"/api-reference/webhooks/calendar.held"},{"title":"A hold ended — the nights came back, or were sold","openapi":"openapi/openapi.yaml webhook calendar.released","href":"/api-reference/webhooks/calendar.released"}]},{"group":"Blocks","pages":[{"title":"Hold a range of nights with a partner block","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /blocks/{external_uid}","href":"/api-reference/blocks/hold-a-range-of-nights-with-a-partner-block"},{"title":"Release a partner block","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /blocks/{external_uid}","href":"/api-reference/blocks/release-a-partner-block"},{"title":"Read your partner blocks back","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /blocks","href":"/api-reference/blocks/read-your-partner-blocks-back"}]},{"group":"Pricing","pages":[{"title":"The quick actions for a listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/quick-actions","href":"/api-reference/pricing/the-quick-actions-for-a-listing"},{"title":"Switch a quick action on, or move its value","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/quick-actions/{template_key}","href":"/api-reference/pricing/switch-a-quick-action-on-or-move-its-value"},{"title":"Switch a quick action off","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /listings/{listing_id}/quick-actions/{template_key}","href":"/api-reference/pricing/switch-a-quick-action-off"},{"title":"Every rule attached to a listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/rules","href":"/api-reference/pricing/every-rule-attached-to-a-listing"},{"title":"Read back the rates you sent","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/rates","href":"/api-reference/pricing/read-back-the-rates-you-sent"},{"title":"Supply nightly rates for a date range","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/rates","href":"/api-reference/pricing/supply-nightly-rates-for-a-date-range"},{"title":"Who prices this listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/pricing-mode","href":"/api-reference/pricing/who-prices-this-listing"},{"title":"Become the listing's pricing source","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /listings/{listing_id}/pricing-mode","href":"/api-reference/pricing/become-the-listings-pricing-source"},{"title":"Stop pricing this listing","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /listings/{listing_id}/pricing-mode","href":"/api-reference/pricing/stop-pricing-this-listing"},{"title":"Who prices a listing changed","openapi":"openapi/openapi.yaml webhook pricing.mode_changed","href":"/api-reference/webhooks/pricing.mode_changed"},{"title":"A listing you price changed currency","openapi":"openapi/openapi.yaml webhook pricing.currency_changed","href":"/api-reference/webhooks/pricing.currency_changed"}]},{"group":"Bookings","pages":[{"title":"List bookings on your inventory","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bookings","href":"/api-reference/bookings/list-bookings-on-your-inventory"},{"title":"Read one booking","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /bookings/{booking_reference}","href":"/api-reference/bookings/read-one-booking"},{"title":"Confirm a pending booking","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bookings/{booking_reference}/confirm","href":"/api-reference/bookings/confirm-a-pending-booking"},{"title":"Reject a pending booking","description":"Rejects a `pending` booking. **The body is empty**: there is nothing to send\nbeyond the booking you are addressing.\n\n`409 conflict` when the booking is not `pending`. `404 booking_not_found` is ONE\nanswer for \"no such booking\" and \"not in your workspace\".\n\nThe booking you get back follows the read's rule: `guest` is `null` unless your\nkey also holds `guests:read`.\n\nThere is no cancellation over this API. Rejecting a still-pending booking is not\nthe same operation as cancelling a confirmed stay, which creates refunds and\npenalties and belongs to a person in the app.\n\nA `403` on this operation carries one of two codes — `insufficient_scope` (the\nkey lacks `bookings:manage`) or `workspace_scope_mismatch` (a sandbox/production\nmismatch). Branch on `code`.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /bookings/{booking_reference}/reject","href":"/api-reference/bookings/reject-a-pending-booking"}]},{"group":"Sandbox","pages":[{"title":"Create a booking in your sandbox","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /sandbox/bookings","href":"/api-reference/sandbox/create-a-booking-in-your-sandbox"}]},{"group":"Reviews","pages":[{"title":"Read a listing's reviews","description":"One page of a listing's reviews, newest first, in their **public** form — the\nsame shortened reviewer label anyone reading the listing page sees (\"Sarah M.\"),\nnever a full name. The full name stays on the host console, where a person\nauthenticated to see it; there is no field here that carries it.\n\nPaged with `page` and `page_size`; keep asking while `has_more` is `true`. There\nis no total.\n\n`404 listing_not_found` when the listing is not in your workspace.\n","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /listings/{listing_id}/reviews","href":"/api-reference/reviews/read-a-listings-reviews"},{"title":"Reply to a review, as the workspace","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /reviews/{review_id}/reply","href":"/api-reference/reviews/reply-to-a-review-as-the-workspace"},{"title":"A guest published a review","openapi":"openapi/openapi.yaml webhook review.created","href":"/api-reference/webhooks/review.created"}]},{"group":"Finance","pages":[{"title":"Read your balance, per currency","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/balance","href":"/api-reference/finance/read-your-balance-per-currency"},{"title":"List what each payment earned you","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/earnings","href":"/api-reference/finance/list-what-each-payment-earned-you"},{"title":"Total your earnings by day, week or month","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/earnings/summary","href":"/api-reference/finance/total-your-earnings-by-day-week-or-month"},{"title":"List your payout requests","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/payouts","href":"/api-reference/finance/list-your-payout-requests"},{"title":"See what is due to be released","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/payouts/upcoming","href":"/api-reference/finance/see-what-is-due-to-be-released"},{"title":"List what you owe","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /finance/penalties","href":"/api-reference/finance/list-what-you-owe"}]},{"group":"Webhooks","pages":[{"title":"Read your endpoint back","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /webhooks/endpoint","href":"/api-reference/webhooks/read-your-endpoint-back"},{"title":"Register where deliveries go","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml put /webhooks/endpoint","href":"/api-reference/webhooks/register-where-deliveries-go"},{"title":"Delete your endpoint","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml delete /webhooks/endpoint","href":"/api-reference/webhooks/delete-your-endpoint"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /webhooks/endpoint/rotate-secret","href":"/api-reference/webhooks/rotate-the-signing-secret"},{"title":"Send yourself a test event","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /webhooks/endpoint/test","href":"/api-reference/webhooks/send-yourself-a-test-event"},{"title":"List what we have tried to deliver","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /webhooks/deliveries","href":"/api-reference/webhooks/list-what-we-have-tried-to-deliver"},{"title":"Read one delivery, body included","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml get /webhooks/deliveries/{delivery_id}","href":"/api-reference/webhooks/read-one-delivery-body-included"},{"title":"Put a delivery back in the queue","deprecated":null,"version":null,"openapi":"/openapi/openapi.yaml post /webhooks/deliveries/{delivery_id}/redrive","href":"/api-reference/webhooks/put-a-delivery-back-in-the-queue"}]},{"group":"Booking notifications","pages":[{"title":"Prove the endpoint is yours","openapi":"openapi/openapi.yaml webhook endpoint.challenge","href":"/api-reference/webhooks/endpoint.challenge"},{"title":"A guest booked one of your properties","openapi":"openapi/openapi.yaml webhook booking.confirmed","href":"/api-reference/webhooks/booking.confirmed"},{"title":"A booking on one of your properties was cancelled","openapi":"openapi/openapi.yaml webhook booking.cancelled","href":"/api-reference/webhooks/booking.cancelled"},{"title":"A guest paid, and the host has to answer","openapi":"openapi/openapi.yaml webhook booking.requested","href":"/api-reference/webhooks/booking.requested"},{"title":"A pending request was declined","openapi":"openapi/openapi.yaml webhook booking.rejected","href":"/api-reference/webhooks/booking.rejected"},{"title":"The guest confirmed they have arrived","openapi":"openapi/openapi.yaml webhook booking.checked_in","href":"/api-reference/webhooks/booking.checked_in"},{"title":"The guest confirmed they have left","openapi":"openapi/openapi.yaml webhook booking.checked_out","href":"/api-reference/webhooks/booking.checked_out"},{"title":"A modification was applied and the dates moved","openapi":"openapi/openapi.yaml webhook booking.modified","href":"/api-reference/webhooks/booking.modified"}]},{"group":"Enums","pages":[{"title":"BlockReason","href":"/api-reference/enums/block-reason"},{"title":"BlockedBy","href":"/api-reference/enums/blocked-by"},{"title":"BookingEventType","href":"/api-reference/enums/booking-event-type"},{"title":"BookingStatus","href":"/api-reference/enums/booking-status"},{"title":"CalendarNightStatus","href":"/api-reference/enums/calendar-night-status"},{"title":"CancellationInitiator","href":"/api-reference/enums/cancellation-initiator"},{"title":"EarningStatus","href":"/api-reference/enums/earning-status"},{"title":"EarningsGranularity","href":"/api-reference/enums/earnings-granularity"},{"title":"HoldReleaseReason","href":"/api-reference/enums/hold-release-reason"},{"title":"HostBlockCategory","href":"/api-reference/enums/host-block-category"},{"title":"HouseRuleKind","href":"/api-reference/enums/house-rule-kind"},{"title":"InventoryKind","href":"/api-reference/enums/inventory-kind"},{"title":"ListingPublicationEventType","href":"/api-reference/enums/listing-publication-event-type"},{"title":"ListingPublicationStatus","href":"/api-reference/enums/listing-publication-status"},{"title":"ListingRuleSource","href":"/api-reference/enums/listing-rule-source"},{"title":"ListingRuleWarning","href":"/api-reference/enums/listing-rule-warning"},{"title":"ListingStatus","href":"/api-reference/enums/listing-status"},{"title":"MissingReason","href":"/api-reference/enums/missing-reason"},{"title":"PayoutStatus","href":"/api-reference/enums/payout-status"},{"title":"PenaltyReason","href":"/api-reference/enums/penalty-reason"},{"title":"PenaltyStatus","href":"/api-reference/enums/penalty-status"},{"title":"PhotoContentType","href":"/api-reference/enums/photo-content-type"},{"title":"PhotoRejectionReason","href":"/api-reference/enums/photo-rejection-reason"},{"title":"PhotoState","href":"/api-reference/enums/photo-state"},{"title":"PricingModeTakeWarning","href":"/api-reference/enums/pricing-mode-take-warning"},{"title":"PricingModeValue","href":"/api-reference/enums/pricing-mode-value"},{"title":"ProblemCode","href":"/api-reference/enums/problem-code"},{"title":"QuickActionFeeBasis","href":"/api-reference/enums/quick-action-fee-basis"},{"title":"QuickActionParamKind","href":"/api-reference/enums/quick-action-param-kind"},{"title":"QuickActionTemplateKey","href":"/api-reference/enums/quick-action-template-key"},{"title":"QuickActionUnavailableReason","href":"/api-reference/enums/quick-action-unavailable-reason"},{"title":"QuickActionWarning","href":"/api-reference/enums/quick-action-warning"},{"title":"RuleFamily","href":"/api-reference/enums/rule-family"},{"title":"SandboxBookingStatus","href":"/api-reference/enums/sandbox-booking-status"},{"title":"UnitType","href":"/api-reference/enums/unit-type"},{"title":"ValidationErrorCode","href":"/api-reference/enums/validation-error-code"},{"title":"WebhookDeliveryStatus","href":"/api-reference/enums/webhook-delivery-status"},{"title":"WebhookEndpointStatus","href":"/api-reference/enums/webhook-endpoint-status"},{"title":"WebhookEventType","href":"/api-reference/enums/webhook-event-type"},{"title":"WebhookPayloadState","href":"/api-reference/enums/webhook-payload-state"},{"title":"WriteResult","href":"/api-reference/enums/write-result"}]}]}]},"basePath":"","title":"Create a booking in your sandbox - Maat Stays","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"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","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}