UpsellGuru Reservations API

Reservations stored in UpsellGuru

GitHub OpenAPI

Operations 6

POST /reservations Save reservation #
GET /reservations Get reservations list #
GET /reservations/{reservationUuid} Get reservation #
POST /reservations/create_upsell/{reservationUuid} Create reservation upsell #
POST /reservations/add_event/{reservationUuid} Add reservation event #
GET /reservations/purchasable_extra_types/{reservationUuid} Get reservation purchasable extra types #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/upsellguru:upsellguru-reservations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

upsellguru-reservations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UpsellGuru Public Reservations API
  version: 1.0.0
  description: Reservations stored in UpsellGuru
servers:
- url: https://api.upsellguru.com
tags:
- name: Reservations
  description: Reservations stored in UpsellGuru
paths:
  /reservations:
    post:
      tags:
      - Reservations
      operationId: saveReservation
      description: Create or update reservation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BasicReservation'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReservationSaved'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Save reservation
      x-summary-source: derived
    get:
      tags:
      - Reservations
      operationId: getReservationsList
      description: Retrieve list of reservations stored in UpsellGuru by hotel Id the API account has access to. One of `checkinDate`, `checkoutDate` or `reference` is required. To look up a single reservation, send `hotelId` and `reference`. The response contains the matching reservation, or an empty array when nothing matches. `reference` is the reservation identifier in the PMS. For PMSs that create one UpsellGuru reservation per room, it combines several PMS identifiers separated by `:` (for example `12345:2`), so send the full value exactly as this API returns it in `reference`.
      parameters:
      - in: query
        name: hotelId
        required: true
        description: The Hotel ID
        schema:
          type: integer
      - in: query
        name: checkinDate
        required: false
        description: The Checkin Date. Ignored when `reference` is sent.
        schema:
          type: string
          format: date
      - in: query
        name: checkoutDate
        required: false
        description: The Checkout Date. Ignored when `reference` is sent.
        schema:
          type: string
          format: date
      - in: query
        name: reference
        required: false
        description: Reservation identifier in the PMS, exactly as returned in `reference`. When sent, `checkinDate` and `checkoutDate` are ignored. Returns the matching reservation, or an empty array.
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArrayOfReservation'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Get reservations list
      x-summary-source: derived
  /reservations/{reservationUuid}:
    get:
      tags:
      - Reservations
      operationId: getReservation
      description: Retrieve a specific reservation stored in UpsellGuru
      parameters:
      - in: path
        name: reservationUuid
        required: true
        description: The Reservation Identifier
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Reservation'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Get reservation
      x-summary-source: derived
  /reservations/create_upsell/{reservationUuid}:
    post:
      tags:
      - Reservations
      operationId: createReservationUpsell
      description: Create a reservation upsell
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReservationUpsellUrls'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Create reservation upsell
      x-summary-source: derived
  /reservations/add_event/{reservationUuid}:
    post:
      tags:
      - Reservations
      operationId: addReservationEvent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewReservationEventRequest'
      parameters:
      - in: path
        name: reservationUuid
        required: true
        description: The Reservation UUID
        schema:
          type: string
          format: uuid
      description: Add a new event to a reservation
      responses:
        '204':
          description: OK
          content: {}
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Add reservation event
      x-summary-source: derived
  /reservations/purchasable_extra_types/{reservationUuid}:
    get:
      tags:
      - Reservations
      operationId: getReservationPurchasableExtraTypes
      parameters:
      - in: path
        name: reservationUuid
        required: true
        description: The Reservation UUID
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArrayOfExtraType'
        '400':
          description: Validation Exception
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Security Exception
          content: {}
        '403':
          description: Security Exception
          content: {}
      security:
      - apiKey: []
      summary: Get reservation purchasable extra types
      x-summary-source: derived
components:
  schemas:
    ArrayOfExtraType:
      type: array
      items:
        $ref: '#/components/schemas/ExtraType'
    ExtraTypeSalesType:
      type: string
      enum:
      - INSTANT_CONFIRMATION
      - BIDDING
      - ON_REQUEST
    ReservationLite:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
        status:
          $ref: '#/components/schemas/ReservationStatus'
        roomTypeCode:
          type: string
        bookedRoomTypeCode:
          type: string
        checkin:
          type: string
          format: date
        checkout:
          type: string
          format: date
        reference:
          type: string
        ratePlan:
          type: string
        marketSegment:
          type: string
        reservationSource:
          type: string
    ExtraTypeOfferedDays:
      type: object
      properties:
        mon:
          type: boolean
        tue:
          type: boolean
        wed:
          type: boolean
        thu:
          type: boolean
        fri:
          type: boolean
        sat:
          type: boolean
        sun:
          type: boolean
    ReservationStatus:
      type: string
      description: This enum describes all possible status a reservation can be in UpsellGuru
      enum:
      - TENTATIVE
      - CONFIRMED
      - INHOUSE
      - CHECKEDOUT
      - CANCELLED
      - NOSHOW
    ReservationEventTypeEnum:
      type: string
      enum:
      - DATES_CHANGED
      - PRE_ARRIVAL_UPSELLING_EMAIL_SENT
      - PRE_ARRIVAL_UPSELLING_EMAIL_BOUNCED
      - PRE_ARRIVAL_UPSELLING_EMAIL_SPAM
      - PRE_ARRIVAL_UPSELLING_EMAIL_DELIVERED
      - PRE_ARRIVAL_UPSELLING_EMAIL_OPENED
      - PRE_ARRIVAL_UPSELLING_EMAIL_CLICKED
      - PRE_ARRIVAL_CONCIERGE_SENT
      - PRE_ARRIVAL_CONCIERGE_OPENED
      - PRE_ARRIVAL_CONCIERGE_CLICKED
      - REGISTRATION_CARD_SENT
      - REGISTRATION_CARD_OPENED
      - REGISTRATION_CARD_CLICKED
      - REGISTRATION_CARD_SUBMITTED
      - REGISTRATION_CARD_REMINDER_SENT
      - REGISTRATION_CARD_REMINDER_OPENED
      - REGISTRATION_CARD_REMINDER_CLICKED
      - ROOM_CHANGED_IN_PMS
      - BOOKED_EXTRA_CONFIRMATION_CLICKED_RETARGETING
      - UPGRADE_BID_ACCEPTED_CLICKED_RETARGETING
      - UPGRADE_BID_DENIED_CLICKED_RETARGETING
      - UPGRADE_BIDS_CONFIRMATION_CLICKED_RETARGETING
      - PRE_ARRIVAL_UPSELLING_SMS_CLICKED
      - PRE_ARRIVAL_UPSELLING_SMS_DELIVERED
      - PRE_ARRIVAL_UPSELLING_REMINDER_EMAIL_SENT
      - PRE_ARRIVAL_UPSELLING_REMINDER_EMAIL_DELIVERED
      - PRE_ARRIVAL_UPSELLING_REMINDER_EMAIL_BOUNCED
      - PRE_ARRIVAL_UPSELLING_REMINDER_EMAIL_OPENED
      - PRE_ARRIVAL_UPSELLING_REMINDER_EMAIL_SPAM
      - PRE_ARRIVAL_UPSELLING_REMINDER_EMAIL_CLICKED
      - ROOM_UPGRADE_ALTERNATIVE_UPGRADE_CREATED
      - ROOM_UPGRADE_ALTERNATIVE_UPGRADE_EMAIL_OPENED
      - ROOM_UPGRADE_ALTERNATIVE_UPGRADE_EMAIL_CLICKED
      - ROOM_UPGRADE_ALTERNATIVE_UPGRADE_ACCEPTED
      - ROOM_UPGRADE_ALTERNATIVE_UPGRADE_REJECTED
      - CHECKED_IN
      - CANCELLED
      - NO_SHOW
      - INHOUSE_EXTRAS_SELECTED
      - FIRST_INHOUSE_EMAIL_SENT
      - FIRST_INHOUSE_EMAIL_DELIVERED
      - FIRST_INHOUSE_EMAIL_OPENED
      - FIRST_INHOUSE_EMAIL_CLICKED
      - SECOND_INHOUSE_EMAIL_SENT
      - SECOND_INHOUSE_EMAIL_DELIVERED
      - SECOND_INHOUSE_EMAIL_OPENED
      - SECOND_INHOUSE_EMAIL_CLICKED
      - THIRD_INHOUSE_EMAIL_SENT
      - THIRD_INHOUSE_EMAIL_DELIVERED
      - THIRD_INHOUSE_EMAIL_OPENED
      - THIRD_INHOUSE_EMAIL_CLICKED
      - FIRST_INHOUSE_SMS_DELIVERED
      - FIRST_INHOUSE_SMS_CLICKED
      - SECOND_INHOUSE_SMS_DELIVERED
      - SECOND_INHOUSE_SMS_CLICKED
      - THIRD_INHOUSE_SMS_DELIVERED
      - THIRD_INHOUSE_SMS_CLICKED
      - FIRST_INHOUSE_SMS_SENT
      - SECOND_INHOUSE_SMS_SENT
      - THIRD_INHOUSE_SMS_SENT
      - RESERVATION_CANCELLATION_SENT
      - RESERVATION_CANCELLATION_OPENED
      - RESERVATION_CANCELLATION_CLICKED
      - CHECKED_OUT
      - UNSUBSCRIBED
      - CHATBOT_CLICK
      - PMS_UPDATE
      - ROOM_UPGRADES_STARTED_BIDDING
      - ROOM_UPGRADES_SKIP
      - ROOM_UPGRADES_NO_BIDS
      - ROOM_UPGRADES_WITH_BIDS
      - ROOM_UPGRADE_BIDS_EXPIRED
      - PRE_ARRIVAL_UPSELLING_EXTRAS_SELECTED
      - PRE_ARRIVAL_UPSELLING_EXTRAS_EMPTY
      - PRE_ARRIVAL_UPSELLING_EXTRAS_ADDED
      - PRE_ARRIVAL_UPSELLING_TRANSACTION
      - ROOM_UPGRADE_BID_ACCEPTED
      - ROOM_UPGRADE_BID_REJECTED
      - ON_REQUEST_EXTRA_CONFIRMED
      - ROOM_UPGRADE_BID_SYSTEM_ACCEPTED
      - ROOM_UPGRADE_BID_SYSTEM_REJECTED
      - ROOM_UPGRADE_CANCELLED
      - POSTSTAY_SENT
      - POSTSTAY_OPENED
      - POSTSTAY_CLICKED
    BasicReservation:
      type: object
      properties:
        hotelId:
          type: integer
        checkin:
          type: string
          format: date
        checkout:
          type: string
          format: date
        reference:
          type: string
          description: Reservation identifier in the PMS or other systems acting as source of truth. Can be used to look up a reservation with `GET /reservations`.
        status:
          $ref: '#/components/schemas/ReservationStatus'
        roomTypeCode:
          type: string
        guestName:
          type: string
        guestSurname:
          type: string
        email:
          type: string
        adults:
          type: integer
        children:
          type: integer
        language:
          $ref: '#/components/schemas/LanguageCode'
        ratePlan:
          type: string
        marketSegment:
          type: string
        reservationSource:
          type: string
        includedExtraCodes:
          type: array
          description: List of string codes e.g. BRKF, EARLY, LATE etc or their numeric identifiers
          items:
            type: string
        metadata:
          type: object
          additionalProperties: true
      required:
      - hotelId
      - checkin
      - checkout
      - reference
      - status
      - roomTypeCode
      - adults
      - language
    ReservationSaved:
      type: object
      properties:
        reservationUuid:
          type: string
          format: uuid
    LocalizedStringsMap:
      type: object
      additionalProperties:
        type: string
      example:
        en: Text in English
        es: Texto en español
        it: Testo in italiano
        de: Text auf Deutsch
    ArrayOfReservation:
      type: array
      items:
        $ref: '#/components/schemas/ReservationLite'
    ExtraTypeDayTimeConfirmationSchedule:
      type: object
      properties:
        hoursFrom:
          type: integer
        hoursTo:
          type: integer
        minutesFrom:
          type: integer
        minutesTo:
          type: integer
    LanguageCode:
      type: string
      enum:
      - EN
      - ES
      - IT
      - FR
      - PT
      - DE
      - GE
      - JP
      - CN
      - RU
      - NL
      - TR
      - PL
      - ID
      - BG
      - CZ
      - ZH
    ExtraTypeVariation:
      type: object
      properties:
        id:
          type: integer
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        hotelId:
          type: integer
        status:
          $ref: '#/components/schemas/ExtraTypeStatus'
        position:
          type: integer
        code:
          type: string
        pmsTransactionCode:
          type: string
        price:
          $ref: '#/components/schemas/Money'
        names:
          $ref: '#/components/schemas/LocalizedStringsMap'
    Error:
      type: object
      properties:
        type:
          type: string
        message:
          type: string
    ExtraTypePointOfSale:
      type: string
      enum:
      - ALL
      - PRESTAY_ONLY
      - INHOUSE_ONLY
    ExtraTypeCategory:
      type: string
      enum:
      - F_AND_B
      - F_AND_B_BREAKFAST
      - F_AND_B_DINNER
      - EXTENDED_STAY
      - EXTENDED_STAY_ECI
      - EXTENDED_STAY_LCO
      - SPA
      - ACTIVITIES
      - TRANSPORTATION
      - ROOM_AMENITIES
      - PACKAGES
      - CLUB_BENEFITS
      - LOYALTY
    ReservationUpsellUrls:
      type: object
      properties:
        url:
          type: string
          format: url
        roomsUrl:
          type: string
          format: url
        extrasUrl:
          type: string
          format: url
    ExtraTypeDayTimeConfirmation:
      type: string
      enum:
      - NOT_REQUIRED
      - ANY_TIME
      - SPECIFIC_HOURS
    BasicExtraType:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/ExtraTypeStatus'
        code:
          type: string
        pmsTransactionCode:
          type: string
        otherPmsCodes:
          type: array
          items:
            type: string
        billingRule:
          $ref: '#/components/schemas/ExtraTypeBillingRule'
        salesType:
          $ref: '#/components/schemas/ExtraTypeSalesType'
        category:
          $ref: '#/components/schemas/ExtraTypeCategory'
        names:
          $ref: '#/components/schemas/LocalizedStringsMap'
        descriptions:
          $ref: '#/components/schemas/LocalizedStringsMap'
        position:
          type: integer
        price:
          $ref: '#/components/schemas/Money'
        strikePrice:
          $ref: '#/components/schemas/Money'
        taxes:
          $ref: '#/components/schemas/Money'
        serviceFee:
          $ref: '#/components/schemas/Money'
        pointOfSale:
          $ref: '#/components/schemas/ExtraTypePointOfSale'
        cutOffDays:
          type: integer
        cutOffHour:
          type: integer
          minimum: 0
          maximum: 23
        excludedDates:
          type: array
          items:
            format: date
        availableDates:
          type: array
          items:
            format: date
        losFrom:
          type: integer
        losTo:
          type: integer
        excludedRatePlans:
          type: array
          items:
            format: string
        allowedRatePlans:
          type: array
          items:
            format: string
        excludedMarketSegments:
          type: array
          items:
            format: string
        allowedMarketSegments:
          type: array
          items:
            format: string
        excludedReservationSources:
          type: array
          items:
            format: string
        allowedReservationSources:
          type: array
          items:
            format: string
        excludedMembershipLevels:
          type: array
          items:
            format: string
        allowedMembershipLevels:
          type: array
          items:
            format: string
        offeredDays:
          $ref: '#/components/schemas/ExtraTypeOfferedDays'
        offeredDaysType:
          $ref: '#/components/schemas/ExtraTypeOfferedDaysType'
        dayTimeConfirmation:
          $ref: '#/components/schemas/ExtraTypeDayTimeConfirmation'
        dayTimeConfirmationSchedule:
          $ref: '#/components/schemas/ExtraTypeDayTimeConfirmationSchedule'
        customQuestion:
          type: string
        isPurchasingMultipleVariationsAllowed:
          type: boolean
    ExtraType:
      allOf:
      - $ref: '#/components/schemas/BasicExtraType'
      - type: object
        properties:
          id:
            type: integer
          createdAt:
            type: string
            format: date-time
          updatedAt:
            type: string
            format: date-time
          hotelId:
            type: integer
          variations:
            type: array
            items:
              $ref: '#/components/schemas/ExtraTypeVariation'
          pictures:
            type: array
            items:
              $ref: '#/components/schemas/PictureUrl'
    ExtraTypeBillingRule:
      type: string
      enum:
      - PERSON
      - DAY_PERSON
      - DAY
      - UNIT
      - RESERVATION
    NewReservationEventRequest:
      type: object
      properties:
        eventType:
          $ref: '#/components/schemas/ReservationEventTypeEnum'
    Money:
      type: object
      properties:
        amount:
          type: number
          format: float
        currency:
          type: string
      required:
      - amount
      - currency
    Reservation:
      allOf:
      - $ref: '#/components/schemas/BasicReservation'
      - type: object
        properties:
          uuid:
            type: string
            description: Reservation identifier generated by UpsellGuru
        required:
        - uuid
    ExtraTypeOfferedDaysType:
      type: string
      enum:
      - CHECKIN
      - STAY
      - CHECKOUT
    ExtraTypeStatus:
      type: string
      description: This enum describes all possible status an extra type can be in UpsellGuru
      enum:
      - ONLINE
      - OFFLINE
      - DELETED
    PictureUrl:
      type: string
      format: url
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key