GraphQL API

Guest and host operations.

GraphQL is served at /api/graphql. Public reads use exact slugs or opaque 48-character hex tokens.

Guest queries

publicMarketplaceSettings, searchStays, publicListing, publicStayAvailability, publicStayQuote, publicTrip, publicStayAgreement, publicGuestThread, myGuestAccount, guestPasswordResetAvailable.

Guest mutations

GroupMutations
BookingquoteStay, createStayReservation, recoverStayCheckout, requestStayCancellation, signStayAgreement
Card paymentstartGuestStayPayment, completeGuestStayPayment
Account and messagesregisterGuestAccount, updateMyGuestProfile, changeGuestEmail, changeGuestPassword, openAccountTrip, recoverStayTrip, claimStayTrip, submitGuestInquiry, replyToGuestThread, sendTripMessage, submitStayReview

Host mutations

AreaMutations
ReservationstransitionStayReservation, reassignStayReservation, amendConfirmedStay, cancelStayQuote
PaymentsinitiateStayPayment, captureStayPayment, refundStayPayment
Deposits and claimstransitionSecurityDeposit, createStayDamageClaim, transitionDamageClaim
OwnersgenerateOwnerStatement, transitionOwnerStatement, ownerFinanceSummary
TaskscreateOperationsTask, transitionPropertyTask, runPropertyTaskRules
CalendarimportListingCalendar, exportListingCalendar
ReportshostOperationsReport, exportHostArchive, permittedHostOrganizations, listingReadinessIndex
Outbox and setupdeliverOutboxEvents, rentalOnboarding, updateOnboardingStatus

hostStayCommand

hostStayCommand(command, input) is the entry point for most dashboard actions. It requires a signed-in user and returns { ok, message, data }.

Commands: transition, amend, reassign, listing_allocate, party_amend, party_invites_amend, payment_record_manual, payment_cancel_attempt, refund_create, refund_record_manual, refund_process, refund_decline, refund_assess, deposit, claim_create, claim_transition, agreement_void, agreement_reissue, conversation_reply, conversation_status, conversation_link_revoke, conversation_link_reissue, review_moderate, catalog_transition.

Generated CRUD exists for every model; change reservation, payment, and refund state through the commands.

On this page