openapi: 3.1.0 info: title: Cloudbeds REST API v1.3 Access Token GetReservation API description: 'Cloudbeds REST API for property management - reservations, guests, rooms, rate plans, payments, housekeeping, webhooks, and reporting. v1.3 is the current documented version (v1.2 remains available). Authentication is via API keys or OAuth 2.0 for technology partners. ' version: 1.3.0 servers: - url: https://hotels.cloudbeds.com/api/v1.3 description: Cloudbeds REST API v1.3 - url: https://hotels.cloudbeds.com/api/v1.2 description: Cloudbeds REST API v1.2 (legacy) security: - apiKey: [] - oauth2: - read - write tags: - name: GetReservation paths: /getReservation: get: summary: Get reservation parameters: - name: reservationID in: query required: true schema: type: string responses: '200': description: Reservation content: application/json: schema: $ref: '#/components/schemas/Reservation' tags: - GetReservation components: schemas: Reservation: type: object properties: reservationID: type: string guestName: type: string status: type: string startDate: type: string format: date endDate: type: string format: date roomTypeID: type: string total: type: number securitySchemes: apiKey: type: apiKey in: header name: X-API-KEY oauth2: type: oauth2 flows: authorizationCode: authorizationUrl: https://hotels.cloudbeds.com/api/v1.2/oauth tokenUrl: https://hotels.cloudbeds.com/api/v1.2/access_token scopes: read: Read access write: Write access