# Maat Stays > Guides and reference for managing your Maat Stays listings, calendars, rates, bookings and reviews from your own system. - [Introduction](https://developer.maatstays.com/index.md): Manage your Maat Stays listings, calendars, rates, bookings and reviews from your own system. - [Get access](https://developer.maatstays.com/guides/developer-access.md): How your workspace issues its own keys, from your own Maat account. - [Authentication](https://developer.maatstays.com/guides/authentication.md): Exchange your API key for a short-lived, workspace-scoped token, and send the token. - [Quickstart](https://developer.maatstays.com/guides/quickstart.md): Token, read, write, webhook — one runnable script per language, with the two loops every integration needs. - [Sandbox](https://developer.maatstays.com/guides/sandbox.md): A real workspace with real endpoints, kept off every public surface. - [Scopes](https://developer.maatstays.com/guides/scopes.md): The whole vocabulary, what each one reaches, how to ask for the least, and the nine operations whose answer depends on more than their scope. - [Push a property](https://developer.maatstays.com/guides/properties.md): Push the properties you manage, keyed by your own identifier. Replace, not merge. - [The resource model](https://developer.maatstays.com/guides/property-lifecycle.md): The three-level resource model, how to read a catalogue back, and how to edit one. - [Photos](https://developer.maatstays.com/guides/photos.md): The two ways a photo reaches a property, what a photo is doing while you wait, and how to order or remove one. - [Calendar blocks](https://developer.maatstays.com/guides/calendar-blocks.md): Tell Maat which nights are already taken in your own system — and nothing else. - [Pricing rules and rates](https://developer.maatstays.com/guides/pricing-and-rules.md): Quick actions are the rule surface, and the rate calendar is the other way to price a listing. What you can switch, what you can supply, and what stays in the app. - [Bookings and reviews](https://developer.maatstays.com/guides/bookings.md): What is happening on your inventory — read a booking, act on a request, reply to a review. The guest fields, behind their own scope. - [Booking notifications lifecycle](https://developer.maatstays.com/guides/booking-lifecycle.md): The seven booking events as one state machine: what fires when, who caused it, what never fires, and how to apply them in the order they happened. - [Finance](https://developer.maatstays.com/guides/finance.md): Read what your inventory earned, what has been paid out and what you owe — per currency, read-only. - [Webhooks](https://developer.maatstays.com/guides/webhooks.md): Register one signed HTTPS endpoint, answer the challenge, and Maat delivers everything that happens on your properties. - [Webhook signatures](https://developer.maatstays.com/guides/webhook-signatures.md): Verify that a delivery is genuinely from Maat: the exact bytes to sign, the header scheme, two offline test vectors, and verifiers in Node, Python and Go. - [Webhook delivery](https://developer.maatstays.com/guides/webhook-delivery.md): Retries, ordering, what a booking payload carries, the full event catalogue, and the six operations that run your endpoint yourself. - [Errors](https://developer.maatstays.com/guides/errors.md): One error shape, twenty-four stable codes, and what to do about each. - [Rate limits](https://developer.maatstays.com/guides/rate-limits.md): 600 requests an hour per key by default, a separate daily photo allowance, and how to budget both. - [Pagination](https://developer.maatstays.com/guides/pagination.md): Page numbers, has_more, and no total. - [Versioning and deprecation](https://developer.maatstays.com/guides/versioning.md): What /v1 promises, what may change without notice, and how anything is ever retired. - [Glossary](https://developer.maatstays.com/guides/glossary.md): The words this API uses in a narrower sense than English does. - [The data boundary](https://developer.maatstays.com/guides/data-boundary.md): What this API carries about a person, and what it never carries. - [Managing your keys](https://developer.maatstays.com/guides/managing-keys.md): The one-time secret, scopes fixed at issue, rotation, revocation, and what "re-issue your key" means. - [Connect your AI assistant](https://developer.maatstays.com/guides/connect-your-ai-assistant.md): Give Claude Code, Cursor or Claude Desktop accurate, first-hand knowledge of the Maat Stays Partner API. - [Changelog](https://developer.maatstays.com/guides/changelog.md): Every change to the partner contract, dated. Additive unless loudly stated otherwise. - [Exchange your API key for a token](https://developer.maatstays.com/api-reference/authentication/exchange-your-api-key-for-a-token.md): Swap your long-lived API key (`maat_partner_…`) for a short-lived bearer token scoped to exactly one workspace and one environment. Send the token on every other call in this document. - [Create or replace a property](https://developer.maatstays.com/api-reference/properties/create-or-replace-a-property.md): Creates the property if we have not seen this `provider_id` from you before, and replaces it otherwise. Your `provider_id` is yours: it is unique within your integration and never across the platform. - [List your properties](https://developer.maatstays.com/api-reference/properties/list-your-properties.md): One page of your workspace's properties, newest first. - [Read one property](https://developer.maatstays.com/api-reference/properties/read-one-property.md): One property, with its units and their listings. - [Replace a property's address](https://developer.maatstays.com/api-reference/properties/replace-a-propertys-address.md): Replaces the whole address of a property. - [Replace a property's amenities](https://developer.maatstays.com/api-reference/properties/replace-a-propertys-amenities.md): Replaces the amenity set of the property's single unit — the set Maat's own validity gate counts, and the same set a whole-property push replaces. - [Read one unit](https://developer.maatstays.com/api-reference/units/read-one-unit.md): One physical unit: how many it sleeps, in what, its door times, its amenities and the host's answer to every house rule. - [Change what a unit is](https://developer.maatstays.com/api-reference/units/change-what-a-unit-is.md): Changes what a unit **is**: how many it sleeps, in what, whether it is the whole property or a room inside one, and its door times. - [Replace a unit's house-rule answers](https://developer.maatstays.com/api-reference/units/replace-a-units-house-rule-answers.md): Replaces a unit's house-rule answers, and optionally its door times. - [Read one listing](https://developer.maatstays.com/api-reference/listings/read-one-listing.md): One listing — the sellable view of a unit: its title, its rate, its badges and whether it is on sale right now. - [Change a listing, and whether it is on sale](https://developer.maatstays.com/api-reference/listings/change-a-listing-and-whether-it-is-on-sale.md): Changes the sellable view of a unit: its title, its description, its badges, and whether it is on sale. - [Replace a listing's price](https://developer.maatstays.com/api-reference/listings/replace-a-listings-price.md): Replaces a listing's price: the nightly rate before any rule, fee or discount, and the cleaning fee. - [A listing went on sale](https://developer.maatstays.com/api-reference/webhooks/listing.published.md): Delivered when a listing becomes bookable — usually because a property push finally satisfied the validity gate (a price, an amenity, a cover photo and enough pictures). - [A listing came off sale](https://developer.maatstays.com/api-reference/webhooks/listing.unlisted.md): Delivered when a listing stops being bookable — an explicit `PATCH /v1/listings/{listing_id} { "status": "unlisted" }`, a push that no longer satisfies the validity gate, or a decision on Maat's side. - [Every property type](https://developer.maatstays.com/api-reference/catalog/every-property-type.md): Every `property_type` slug `PUT /properties/{provider_id}` accepts. - [Every amenity](https://developer.maatstays.com/api-reference/catalog/every-amenity.md): Every amenity slug we recognise, with the section it belongs to. - [Every house rule](https://developer.maatstays.com/api-reference/catalog/every-house-rule.md): Every house rule in the catalogue, with the two things you need to render one. - [Every subdivision and city of a country](https://developer.maatstays.com/api-reference/catalog/every-subdivision-and-city-of-a-country.md): The places Maat files a property under, for one country: its first-level subdivisions (governorates, in Egypt) and its cities, each city under Maat's own id. - [List a property's photos](https://developer.maatstays.com/api-reference/photos/list-a-propertys-photos.md): Every photo on the property, in the order guests see them. Position `0` is the cover. - [Get upload forms for new photos](https://developer.maatstays.com/api-reference/photos/get-upload-forms-for-new-photos.md): Declare the files you are about to upload and receive one signed form each. - [Arrange a property's photos](https://developer.maatstays.com/api-reference/photos/arrange-a-propertys-photos.md): Put the property's photos in the order guests should see them. **Index 0 becomes the cover**, everywhere it is shown. - [Remove a photo](https://developer.maatstays.com/api-reference/photos/remove-a-photo.md): Removes the photo and closes the gap behind it, so positions stay dense. - [Read availability, night by night](https://developer.maatstays.com/api-reference/calendar/read-availability-night-by-night.md): Every night in the window, with what is holding it. - [What is held right now](https://developer.maatstays.com/api-reference/calendar/what-is-held-right-now.md): Every hold currently holding nights across your workspace, the one that lapses soonest first. - [Close nights with a host block](https://developer.maatstays.com/api-reference/calendar/close-nights-with-a-host-block.md): Close a set of nights on a listing, the way the Maat app's "Block dates" does. The nights need not be contiguous — this is a set of days, not a range — and up to 366 of them fit in one request. - [Release host blocks by date](https://developer.maatstays.com/api-reference/calendar/release-host-blocks-by-date.md): Open nights that a host block is holding. - [Nights went off sale while a guest pays](https://developer.maatstays.com/api-reference/webhooks/calendar.held.md): Delivered the moment a guest reaches checkout on one of your listings. - [A hold ended — the nights came back, or were sold](https://developer.maatstays.com/api-reference/webhooks/calendar.released.md): Delivered when a hold you were told about with [`calendar.held`](/api-reference/webhooks/calendar.held) ends. - [Hold a range of nights with a partner block](https://developer.maatstays.com/api-reference/blocks/hold-a-range-of-nights-with-a-partner-block.md): Tells Maat that these nights are unavailable, because they are taken on your platform. Creates the block if this `external_uid` is new to us and replaces its dates otherwise. - [Release a partner block](https://developer.maatstays.com/api-reference/blocks/release-a-partner-block.md): Removes the block you pushed under this `external_uid` and frees the nights it still holds. - [Read your partner blocks back](https://developer.maatstays.com/api-reference/blocks/read-your-partner-blocks-back.md): Lists the blocks **you** pushed into the workspace your key addresses, newest window last. It is a reconciliation surface: after a timeout or a `500` you can see whether a push actually landed, rather than guessing. - [The quick actions for a listing](https://developer.maatstays.com/api-reference/pricing/the-quick-actions-for-a-listing.md): Every quick action this listing can carry, with whatever it currently has switched on. - [Switch a quick action on, or move its value](https://developer.maatstays.com/api-reference/pricing/switch-a-quick-action-on-or-move-its-value.md): Switch a quick action on, or move an already-applied one to a new value. Idempotent: the identifier is in the path, so a retry re-points the same rule rather than creating a second one. `200` either way, with `result` saying whether this call switched the action on or moved it. - [Switch a quick action off](https://developer.maatstays.com/api-reference/pricing/switch-a-quick-action-off.md): Switch a quick action off. The rule it created is removed along with it. - [Every rule attached to a listing](https://developer.maatstays.com/api-reference/pricing/every-rule-attached-to-a-listing.md): Read-only. The answer to "why is my price what it is": every pricing and booking rule attached to this listing, whether it came from a quick action or was drawn by hand in the Maat app's rule builder. - [Read back the rates you sent](https://developer.maatstays.com/api-reference/pricing/read-back-the-rates-you-sent.md): The nights **you** sent for this listing, over an inclusive window of at most 366 nights. - [Supply nightly rates for a date range](https://developer.maatstays.com/api-reference/pricing/supply-nightly-rates-for-a-date-range.md): Store what each night of a range costs. - [Who prices this listing](https://developer.maatstays.com/api-reference/pricing/who-prices-this-listing.md): What prices this listing right now. - [Become the listing's pricing source](https://developer.maatstays.com/api-reference/pricing/become-the-listings-pricing-source.md): Make your rates the listing's price. - [Stop pricing this listing](https://developer.maatstays.com/api-reference/pricing/stop-pricing-this-listing.md): Hand the listing back to Maat's own pricing. - [Who prices a listing changed](https://developer.maatstays.com/api-reference/webhooks/pricing.mode_changed.md): Delivered when a listing's pricing mode moves — you took it, you released it, the host released it in the app, or the host connected or disconnected PriceLabs. - [A listing you price changed currency](https://developer.maatstays.com/api-reference/webhooks/pricing.currency_changed.md): Delivered when a listing in `partner` pricing mode changes currency. - [List bookings on your inventory](https://developer.maatstays.com/api-reference/bookings/list-bookings-on-your-inventory.md): One page of what is happening on your inventory, newest first. - [Read one booking](https://developer.maatstays.com/api-reference/bookings/read-one-booking.md): One booking. Addressed by Maat's own `booking_reference` — the id every later event about it carries. - [Confirm a pending booking](https://developer.maatstays.com/api-reference/bookings/confirm-a-pending-booking.md): Confirms a `pending` booking — an instant-booking listing never produces one, so this is for a listing that requires host approval. **The body is empty**: there is nothing to send beyond the booking you are addressing. - [Reject a pending booking](https://developer.maatstays.com/api-reference/bookings/reject-a-pending-booking.md): Rejects a `pending` booking. **The body is empty**: there is nothing to send beyond the booking you are addressing. - [Create a booking in your sandbox](https://developer.maatstays.com/api-reference/sandbox/create-a-booking-in-your-sandbox.md): 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.** - [Read a listing's reviews](https://developer.maatstays.com/api-reference/reviews/read-a-listings-reviews.md): One page of a listing's reviews, newest first, in their **public** form — the same shortened reviewer label anyone reading the listing page sees ("Sarah M."), never a full name. The full name stays on the host console, where a person authenticated to see it; there is no field here that carries it. - [Reply to a review, as the workspace](https://developer.maatstays.com/api-reference/reviews/reply-to-a-review-as-the-workspace.md): Posts a reply to a review, published as the **workspace** — exactly as the host app publishes one. There is no `author` field and there cannot be: letting a caller name an author would put a person's name on public content through an API key. - [A guest published a review](https://developer.maatstays.com/api-reference/webhooks/review.created.md): Delivered when a guest publishes a review of a stay on one of your listings. - [Read your balance, per currency](https://developer.maatstays.com/api-reference/finance/read-your-balance-per-currency.md): Where your money is right now, as one partition per settlement currency. - [List what each payment earned you](https://developer.maatstays.com/api-reference/finance/list-what-each-payment-earned-you.md): One row per PAYMENT, newest stay first — the lines behind the `available` and `pending` figures on your balance. - [Total your earnings by day, week or month](https://developer.maatstays.com/api-reference/finance/total-your-earnings-by-day-week-or-month.md): The same earning lines, totalled — one bucket per period AND per currency. - [List your payout requests](https://developer.maatstays.com/api-reference/finance/list-your-payout-requests.md): Every payout your workspace has requested, newest first, with what happened to it. - [See what is due to be released](https://developer.maatstays.com/api-reference/finance/see-what-is-due-to-be-released.md): The escrowed money on its way to you, grouped by the date it is released and the currency it settled in. - [List what you owe](https://developer.maatstays.com/api-reference/finance/list-what-you-owe.md): Penalties charged to your workspace, newest first — `amount` is what was charged and `outstanding` is what is still owed. - [Read your endpoint back](https://developer.maatstays.com/api-reference/webhooks/read-your-endpoint-back.md): Reads back the endpoint you registered with `PUT /webhooks/endpoint`, as the whole body — there is no wrapper object. - [Register where deliveries go](https://developer.maatstays.com/api-reference/webhooks/register-where-deliveries-go.md): Sets the single HTTPS endpoint Maat delivers to, and the events you want. Sending this again replaces both — there is only ever one endpoint per workspace. - [Delete your endpoint](https://developer.maatstays.com/api-reference/webhooks/delete-your-endpoint.md): Deletes your endpoint. **Idempotent**: deleting one that is already gone is the same `204`, never a `404` — a second delete is not an error, and the answer does not tell you whether there was one, because acting on that is the `404` handling idempotency exists to spare you. - [Rotate the signing secret](https://developer.maatstays.com/api-reference/webhooks/rotate-the-signing-secret.md): Issues a new signing secret and starts an overlap window in which we sign every delivery with **both** secrets, so you can deploy your new one on your own clock — see `X-Signature-Previous` under `booking.confirmed`. - [Send yourself a test event](https://developer.maatstays.com/api-reference/webhooks/send-yourself-a-test-event.md): Queues **one real delivery** of the named event to your registered endpoint, built from a fixed, obviously synthetic fixture — so you can exercise your handler end to end (signature, envelope, payload shape, your own 2xx) before a real event exists to fire. - [List what we have tried to deliver](https://developer.maatstays.com/api-reference/webhooks/list-what-we-have-tried-to-deliver.md): Lists what we have tried to deliver to your endpoint, newest first — a reconciliation surface for the question every webhook integration eventually asks: did you actually send the thing I think I'm missing. - [Read one delivery, body included](https://developer.maatstays.com/api-reference/webhooks/read-one-delivery-body-included.md): One delivery, with the body we sent you — the one read in this document where a body appears at all. The delivery IS the response; there is no wrapper object. - [Put a delivery back in the queue](https://developer.maatstays.com/api-reference/webhooks/put-a-delivery-back-in-the-queue.md): Puts one delivery back at the front of the queue. **The body is empty, on purpose**: there is no reason field, no delay, and no list — a redrive addresses exactly one delivery, never a batch. - [Prove the endpoint is yours](https://developer.maatstays.com/api-reference/webhooks/endpoint.challenge.md): Delivered **during registration**, and again on every re-registration, to the URL you gave `PUT /v1/webhooks/endpoint`. - [A guest booked one of your properties](https://developer.maatstays.com/api-reference/webhooks/booking.confirmed.md): Delivered when a guest completes and pays for a booking on one of your listings. - [A booking on one of your properties was cancelled](https://developer.maatstays.com/api-reference/webhooks/booking.cancelled.md): Delivered when a confirmed booking ends before the stay. - [A guest paid, and the host has to answer](https://developer.maatstays.com/api-reference/webhooks/booking.requested.md): Delivered when a guest completes and pays for a booking on a listing whose host approves each one, so it landed `pending` rather than `confirmed`. - [A pending request was declined](https://developer.maatstays.com/api-reference/webhooks/booking.rejected.md): Delivered when a pending request-to-book was declined — by the host in the app, or through `POST /v1/bookings/{booking_reference}/reject`. - [The guest confirmed they have arrived](https://developer.maatstays.com/api-reference/webhooks/booking.checked_in.md): Delivered when the GUEST confirms their own arrival, never on a clock. - [The guest confirmed they have left](https://developer.maatstays.com/api-reference/webhooks/booking.checked_out.md): Delivered when the GUEST confirms their own departure. - [A modification was applied and the dates moved](https://developer.maatstays.com/api-reference/webhooks/booking.modified.md): Delivered when a booking modification is APPLIED — not when it is requested or approved, but when the stay actually changed. - [BlockReason](https://developer.maatstays.com/api-reference/enums/block-reason.md): Why nights are held on your side. - [BlockedBy](https://developer.maatstays.com/api-reference/enums/blocked-by.md): Who closed a night. - [BookingEventType](https://developer.maatstays.com/api-reference/enums/booking-event-type.md): The booking transitions that carry the full booking envelope. - [BookingStatus](https://developer.maatstays.com/api-reference/enums/booking-status.md): Where a booking is in its life. - [CalendarNightStatus](https://developer.maatstays.com/api-reference/enums/calendar-night-status.md): What one night on a listing calendar is doing. - [CancellationInitiator](https://developer.maatstays.com/api-reference/enums/cancellation-initiator.md): Which party cancelled a booking: the guest, the host, or Maat. - [EarningStatus](https://developer.maatstays.com/api-reference/enums/earning-status.md): How far one payment's money has got, from the guest paying to it reaching your bank. - [EarningsGranularity](https://developer.maatstays.com/api-reference/enums/earnings-granularity.md): How an earnings summary is bucketed. - [HoldReleaseReason](https://developer.maatstays.com/api-reference/enums/hold-release-reason.md): Why a hold ended, and therefore what to do about it. - [HostBlockCategory](https://developer.maatstays.com/api-reference/enums/host-block-category.md): Why nights on your own listing are closed. - [HouseRuleKind](https://developer.maatstays.com/api-reference/enums/house-rule-kind.md): How a house rule reads on a listing page, which decides how to offer it. - [InventoryKind](https://developer.maatstays.com/api-reference/enums/inventory-kind.md): What is being sold. - [ListingPublicationEventType](https://developer.maatstays.com/api-reference/enums/listing-publication-event-type.md): The two publication transitions that carry the listing envelope. - [ListingPublicationStatus](https://developer.maatstays.com/api-reference/enums/listing-publication-status.md): Which side of a publication transition a listing is now on. - [ListingRuleSource](https://developer.maatstays.com/api-reference/enums/listing-rule-source.md): Where a rule attached to a listing came from. - [ListingRuleWarning](https://developer.maatstays.com/api-reference/enums/listing-rule-warning.md): Why part of a rules answer is missing. - [ListingStatus](https://developer.maatstays.com/api-reference/enums/listing-status.md): Whether a listing is on sale. - [MissingReason](https://developer.maatstays.com/api-reference/enums/missing-reason.md): Why a listing is not publishable. - [PayoutStatus](https://developer.maatstays.com/api-reference/enums/payout-status.md): Where a payout request is. - [PenaltyReason](https://developer.maatstays.com/api-reference/enums/penalty-reason.md): Why a penalty exists. - [PenaltyStatus](https://developer.maatstays.com/api-reference/enums/penalty-status.md): How much of a penalty is still owed. - [PhotoContentType](https://developer.maatstays.com/api-reference/enums/photo-content-type.md): The image types an upload may declare. - [PhotoRejectionReason](https://developer.maatstays.com/api-reference/enums/photo-rejection-reason.md): Why a photo did not become a published image. - [PhotoState](https://developer.maatstays.com/api-reference/enums/photo-state.md): What one photo is doing. - [PricingModeTakeWarning](https://developer.maatstays.com/api-reference/enums/pricing-mode-take-warning.md): Something worth knowing about the mode you now hold. - [PricingModeValue](https://developer.maatstays.com/api-reference/enums/pricing-mode-value.md): What prices a listing, as far as you are entitled to see it. - [ProblemCode](https://developer.maatstays.com/api-reference/enums/problem-code.md): The contract of an error. - [QuickActionFeeBasis](https://developer.maatstays.com/api-reference/enums/quick-action-fee-basis.md): What one unit of a per-stay fee is charged against. - [QuickActionParamKind](https://developer.maatstays.com/api-reference/enums/quick-action-param-kind.md): How to type and render a quick action's one tunable value, and therefore what shape to send it in. - [QuickActionTemplateKey](https://developer.maatstays.com/api-reference/enums/quick-action-template-key.md): The identifier of a quick action. - [QuickActionUnavailableReason](https://developer.maatstays.com/api-reference/enums/quick-action-unavailable-reason.md): Why a quick action cannot be switched on right now. - [QuickActionWarning](https://developer.maatstays.com/api-reference/enums/quick-action-warning.md): Why part of a quick-action list is missing. - [RuleFamily](https://developer.maatstays.com/api-reference/enums/rule-family.md): Which engine evaluates a rule. - [SandboxBookingStatus](https://developer.maatstays.com/api-reference/enums/sandbox-booking-status.md): Which half of the booking lifecycle a sandbox fixture booking starts on, and therefore which webhook it sends first. - [UnitType](https://developer.maatstays.com/api-reference/enums/unit-type.md): What a unit is: the whole property, or one room inside it. - [ValidationErrorCode](https://developer.maatstays.com/api-reference/enums/validation-error-code.md): Which rule a rejected field broke. - [WebhookDeliveryStatus](https://developer.maatstays.com/api-reference/enums/webhook-delivery-status.md): Where a delivery is in its life. - [WebhookEndpointStatus](https://developer.maatstays.com/api-reference/enums/webhook-endpoint-status.md): Whether an endpoint is delivering. - [WebhookEventType](https://developer.maatstays.com/api-reference/enums/webhook-event-type.md): What you can subscribe to. - [WebhookPayloadState](https://developer.maatstays.com/api-reference/enums/webhook-payload-state.md): Whether the exact bytes of a delivery are still stored. - [WriteResult](https://developer.maatstays.com/api-reference/enums/write-result.md): What an idempotent `PUT` keyed by your own identifier did: created the row, or replaced one you had already pushed. ## OpenAPI Specs - [openapi](/openapi/openapi.yaml) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.