GraphQL API

Guest and staff operations.

GraphQL is served at /api/graphql; schema.graphql is the reference.

Guest access

A guest proves access with verifyGuestBooking (confirmation number and email) or by signing in. Access is an HMAC-signed hotel-guest-access cookie lasting 30 days and holding up to 20 bookings. A separate client must forward the cookie.

Guest queries

publicHotelSettings, storefrontRoomTypes, storefrontRoomType, storefrontAvailability, storefrontStayCalendar, storefrontQuote, bookingPaymentProviders, activeBookingPaymentSession, guestBooking, guestBookings, guestFolio, guestCancellationQuote, guestAccountStatus, guestAccountBookings, guestAccountBookingsCount.

Guest mutations

verifyGuestBooking, createStorefrontBooking, initiateBookingPaymentSession, completeBookingPayment, cancelBooking, requestBookingModification, submitHotelContactMessage, registerGuestAccount, claimGuestAccountStays, updateGuestAccount, changeGuestAccountPassword, redeemHotelPasswordResetToken.

createStorefrontBooking requires the signed token from storefrontQuote.

Staff queries

hotelOperatorCapabilities, hotelFrontDesk, hotelReservationCalendar, hotelRoomOperations, hotelRateOperations, hotelHousekeepingOperations, hotelMaintenanceOperations, hotelFolioOperations, hotelChannelOperations, hotelPaymentOperations, hotelRefundQuote, hotelAnalyticsOperations, hotelGuestOperations, hotelPaymentProviderOperations, hotelNightAuditOperations.

Staff mutations

AreaMutations
ReservationscreateStaffBooking, amendStaffBooking, updateBookingStatus, updateBookingStayDates, assignRoomToBooking, resolveBookingModificationRequest, resolveOverdueCheckedInBooking, updateHotelStayRegister, updateHotelRelocation
Rooms and ratesupdateRoomOperationalStatus, updateHotelRoomOutage, updateRoomInventoryControls, updateRatePlanPublication, updateHotelDerivedRate
HousekeepingscheduleHousekeepingTask, updateHousekeepingTaskStatus, updateHotelHousekeepingStaffCapability, reportRoomMaintenanceIssue, updateMaintenanceRequestStatus, updateHotelMaintenanceCommercial, updateHotelStayService
MoneypostFolioEntry, reverseFolioEntry, recordBookingPayment, closeReconciledFolio, requestBookingPaymentRefund, replayRefundIntent, manageHotelCashier, manageHotelReceivable, manageHotelPayout, annotateHotelDispute, manageHotelSecurityAuthorization, redeemHotelLoyalty
GroupscreateHotelGroupBlock, updateHotelGroupBlockStatus, pickupHotelGroupBlock, createHotelGroupRoomingList, detachHotelGroupBooking, closeHotelGroupMasterFolio
PropertyrunHotelOnboarding, updateHotelPropertySettings, runHotelNightAudit, configureHotelPaymentProvider
GovernanceupdateHotelGuestGovernance, updateHotelApproval, verifyHotelMfa, manageHotelMfa
ChannelssaveHotelChannelDraft, pushInventoryToChannel, pullReservationsFromChannel, retryFailedChannelSyncs, replayHotelOutboxEvent

Most staff mutations take an idempotencyKey.

Other routes

/api/health, /api/ready, /api/payment-providers/[providerCode]/webhook, /api/webhooks/channel/[channelId], /api/hotel/outbox/receiver, /api/completion. /api/mcp-transport/[transport], /api/create-payment-intent, and /api/send-booking-confirmation return HTTP 410.

On this page