---
updatedAt: 2026-04-30T10:24:55.000Z
agentTools:
  projectIndex: https://booking-api-docs.guesty.com/llms.txt
---

# Retrieve a reservation by ID

Retrieve a reservation created with quote by ID

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/reservations/{reservationId}/details": {
      "get": {
        "operationId": "getQuoteReservationById",
        "summary": "Retrieve a reservation by ID",
        "description": "Retrieve a reservation created with quote by ID",
        "parameters": [
          {
            "name": "reservationId",
            "required": true,
            "in": "path",
            "description": "ID of reservation",
            "schema": {
              "example": "5d6e7a7ebf8e380020773542",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_id": {
                      "type": "string"
                    },
                    "confirmedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "source": {
                      "type": "string"
                    },
                    "secondarySource": {
                      "type": "string"
                    },
                    "accountId": {
                      "type": "string",
                      "description": "id of Guesty account",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    },
                    "confirmationCode": {
                      "type": "string"
                    },
                    "platform": {
                      "type": "string"
                    },
                    "bookerId": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    },
                    "status": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "moneyId": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    },
                    "conversationId": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    },
                    "ratePlanId": {
                      "type": "string"
                    },
                    "unitTypeId": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    },
                    "guestsCount": {
                      "type": "number"
                    },
                    "checkInDateLocalized": {
                      "type": "string",
                      "description": "checkin day in format YYYY-MM-DD"
                    },
                    "checkOutDateLocalized": {
                      "type": "string",
                      "description": "checkout day in format YYYY-MM-DD"
                    },
                    "eta": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "etd": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "unitId": {
                      "type": "string",
                      "pattern": "^[0-9a-fA-F]{24}$"
                    },
                    "stay": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "checkInDateLocalized": {
                            "type": "string",
                            "description": "checkin day in format YYYY-MM-DD"
                          },
                          "checkOutDateLocalized": {
                            "type": "string",
                            "description": "checkout day in format YYYY-MM-DD"
                          },
                          "ratePlanId": {
                            "type": "string"
                          },
                          "unitTypeId": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          },
                          "guestsCount": {
                            "type": "number"
                          },
                          "eta": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "etd": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "unitId": {
                            "type": "string",
                            "pattern": "^[0-9a-fA-F]{24}$"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "requestId": {
                              "type": "string"
                            },
                            "moreDetails": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "requestId"
                          ]
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "data"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Not authorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "requestId": {
                              "type": "string"
                            },
                            "moreDetails": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "requestId"
                          ]
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "data"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "requestId": {
                              "type": "string"
                            },
                            "moreDetails": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "requestId"
                          ]
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "data"
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Reservation not found"
          },
          "429": {
            "description": "Too many requests",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "data": {
                          "type": "object",
                          "properties": {
                            "requestId": {
                              "type": "string"
                            },
                            "moreDetails": {
                              "type": "object"
                            }
                          },
                          "required": [
                            "requestId"
                          ]
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "data"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "Reservation quote"
        ]
      }
    }
  },
  "info": {
    "title": "Booking Engine API",
    "description": "Booking Engine API",
    "version": "1.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://booking.guesty.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "authorization"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```