---
title: "Create inquiry for reservation based on quote"
method: POST
path: "/api/reservations/quotes/{quoteId}/inquiry"
tags: ["Reservation quote"]
---

# Create inquiry for reservation based on quote

`POST /api/reservations/quotes/{quoteId}/inquiry`

Create a request for a reservation to be confirmed by the Guesty user based on a quote. Pre-SCA Stripe tokens (starting with `tok_...`) are NOT SUPPORTED. The API supports only Stripe SCA tokens (starting with `pm_...`).
> ❗ Important
>
> Before using the Booking Engine (BE) API reservation endpoints, ensure your Guesty account is properly activated by following these steps:
> 1. Activate Manual Source (skip this step if you already have direct reservations in Guesty account):
>    - Create a manual reservation directly in the Guesty UI. This step is required to activate the "Manual" booking source in your account.
> 2. Activate BE API Source:
>    - Create your first reservation using the Booking Engine API endpoints.
>    - This step is essential to initialize the BE API source, which allows you to set up additional fees, taxes, auto payments and automated messages.

## Path parameters

- `quoteId` string, required

## Request body

- object
  - `ratePlanId` string, required — Rate plan ID. Ensure you supply one of the rate plan IDs returned in the quote payload. Attempts to use any other string will result in an error.
  - `reservedUntil` -1 | 12 | 24 | 36 | 48 | 72 — Time in hours to reserve the reservation for. Valid values: -1, 12, 24, 36, 48, 72
  - `ccToken` string — payment token id, see tokenization guide https://booking-api-docs.guesty.com/docs/tokenizing-payment-methods
  - `guest` object, required
    - `firstName` string, required — Name of the guest
    - `lastName` string, required — Surname of the guest
    - `email` string, required — Email of the guest
    - `phone` string — Phone number of the guest
    - `address` object
      - `street` string
      - `city` string
      - `country` string
      - `countryCode` string
      - `zipCode` string
      - `state` string
  - `policy` object
    - `privacy` object
      - `version` number — Policy version number
      - `dateOfAcceptance` string, date-time — Date of acceptance in ISO format
      - `isAccepted` boolean
    - `termsAndConditions` object
      - `dateOfAcceptance` string, date-time — Date of acceptance in ISO format
      - `isAccepted` boolean
    - `marketing` object
      - `isAccepted` boolean

## Response `200`

successful operation

- object
  - `_id` string, required — ID of reservation
  - `status` 'reserved', required
  - `platform` 'direct', required
  - `createdAt` string, required
  - `guestId` string, required

## Other responses

- `400` — Bad request
- `401` — Not authorized
- `403` — Forbidden
- `404` — Quote not found
- `429` — Too many requests

---

[API](https://skmtc.dev/guesty/apis/booking-engine-api.md) · [All operations](https://skmtc.dev/guesty/apis/booking-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/guesty/booking-engine-api/revisions/90f25f70255b/schema)
