FoyerDevelopers

Generated · Live registry

stays tools

20 tools in this domain, generated from the running registry.

All tool domains

stays.aenderungen

read-only

Stays: aenderungen. Read-only query. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes
limitintegernoDefault: 50

Output fields

Returns array of object. Fields of each element:

FieldTypeRequiredNotes
idstringyes
actionstringyes
createdAtstringyes
akteurstring · nullableyes
aenderungenarray of objectyes
aenderungen.feldstringyes
aenderungen.vorherstring · nullableyes
aenderungen.nachherstring · nullableyes
folioobject · nullableyes
folio.zeilennumberyes
folio.summeCentsnumberyes

stays.booking-panel

read-only

Read-only assembly of a booking's two inbox side-panels: reservation summary, guest, mapped property (address/rules/capacity), host+guest financial breakdown, messaging activity, and linked tasks. Returns null if the stay does not exist. Read-only.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes

Output fields

The whole object may be null.

FieldTypeRequiredNotes
reservationobjectyes
reservation.codestring · nullableyes
reservation.platformstring · nullableyes
reservation.statusstringyes
reservation.otaStatusstring · nullableyes
reservation.roomstring · nullableyes
reservation.roomNamestring · nullableyes
reservation.checkInstring · nullableyes
reservation.checkOutstring · nullableyes
reservation.expectedArrivalAtstring · nullableyes
reservation.nightsnumber · nullableyes
reservation.guestsCountnumber · nullableyes
reservation.adultsnumber · nullableyes
reservation.childrennumber · nullableyes
reservation.infantsnumber · nullableyes
reservation.petsnumber · nullableyes
reservation.totalFormattedstring · nullableyes
reservation.exConversationIdstring · nullableyes
reservation.externalRefstring · nullableyes
guestobjectyes
guest.namestring · nullableyes
guest.emailstring · nullableyes
guest.phonestring · nullableyes
guest.localestring · nullableyes
guest.locationstring · nullableyes
guest.sameDayBookingbooleanyes
guest.bookingDatestring · nullableyes
propertyobject · nullableyes
property.addressDisplaystring · nullableyes
property.wifiNamestring · nullableyes
property.wifiPasswordstring · nullableyes
property.maxGuestsnumber · nullableyes
property.petsAllowedboolean · nullableyes
property.smokingAllowedboolean · nullableyes
property.eventsAllowedboolean · nullableyes
financialsobjectyes
financials.currencystringyes
financials.hostarray of objectyes
financials.guestarray of objectyes
activityarray of objectyes
activity.ruleNamestring · nullableyes
activity.statusstringyes
activity.atstring · nullableyes
tasksarray of objectyes
tasks.idstringyes
tasks.kindstringyes
tasks.statusstringyes
tasks.scheduledForstring · nullableyes

stays.byId

read-only

Get full detail for a single stay/reservation by id.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes

Output fields

The whole object may be null.

FieldTypeRequiredNotes
idstringyes
tenantIdstringyes
guestIdstringyes
externalRefstring · nullableyes
externalCodestring · nullableyes
sourceChannelenum · nullableyesOne of: whatsapp, email, hospitable, voice, channex, beds24
checkInstring · nullableyes
checkOutstring · nullableyes
roomstring · nullableyes
statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold
otaStatusstring · nullableyes
bookingDatestring · nullableyes
issueAlertstring · nullableyes
stayTypestring · nullableyes
notesstring · nullableyes
createdAtstringyes
paymentIntentIdstring · nullableyes
paymentStatusstring · nullableyes
bookingTotalCentsinteger · nullableyes
currencyCodestring · nullableyes
expectedArrivalAtstring · nullableyes
folioClosedstring · nullableyes
holdExpiresAtstring · nullableyes
sourcestring · nullableyes
guestsCountinteger · nullableyes
adultsinteger · nullableyes
childreninteger · nullableyes
infantsinteger · nullableyes
petsinteger · nullableyes
nightsinteger · nullableyes
otaSourcestring · nullableyes
otaReservationIdstring · nullableyes
guestNamestring · nullableyes
bookingStaysarray of objectyes
bookingStays.idstringyes
bookingStays.roomstring · nullableyes
bookingRoomsarray of stringyes
chatStayIdstringyes
exConversationIdstring · nullableyes

stays.cancel_and_refund

writesconfirm

Cancel a DIRECT (Stripe) booking and refund per the cancellation-window policy. forceRefund=true issues an operator courtesy refund regardless of the window. Only direct bookings with a payment can be refunded here. Owner-only, IRREVERSIBLE, requires confirmation.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes
forceRefundbooleannoDefault: false

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true
refundedbooleanyes
refundIdstring · nullableyes
windowHoursnumberyes
eligibleByPolicybooleanyes

stays.cardDetail

read-only

Stays: card detail. Read-only query. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes

Output fields

The whole object may be null.

FieldTypeRequiredNotes
idstringyes
tenantIdstringyes
roomstring · nullableyes
statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold
otaStatusstring · nullableyes
sourcestring · nullableyes
plattformEtikettstring · nullableyes
sourceChannelenum · nullableyesOne of: whatsapp, email, hospitable, voice, channex, beds24
externalCodestring · nullableyes
externalRefstring · nullableyes
otaSourcestring · nullableyes
otaReservationIdstring · nullableyes
lokalerVorrangAmstring · nullableyes
kanalAbgleichStandstring · nullableyes
kanalAbgleichFehlerstring · nullableyes
checkInstring · nullableyes
checkOutstring · nullableyes
expectedArrivalAtstring · nullableyes
nightsinteger · nullableyes
bookingTotalCentsinteger · nullableyes
currencyCodestring · nullableyes
adultsinteger · nullableyes
childreninteger · nullableyes
infantsinteger · nullableyes
petsinteger · nullableyes
guestsCountinteger · nullableyes
paymentStatusstring · nullableyes
guestIdstringyes
guestNamestring · nullableyes
guestEmailstring · nullableyes
guestPhonestring · nullableyes
localestring · nullableyes
exConversationIdstring · nullableyes
bookingRoomsarray of stringyes

stays.createWalkIn

writes

Create a walk-in booking directly (no OTA) — for a guest arriving without a prior reservation.

Input parameters

FieldTypeRequiredNotes
guestNamestringyes
guestEmailstringno
guestPhonestringno
roomstringno
checkinDatestringyes
checkoutDatestringyes
notesstringno

Output fields

FieldTypeRequiredNotes
stayIdstringyes

stays.create_booking

writesconfirm

Create a booking: inserts a guest and a stay. Dates are YYYY-MM-DD; checkout must be after check-in. If status='checked_in', the smart-lock check-in lifecycle fires. Requires confirmation.

Input parameters

FieldTypeRequiredNotes
guestNamestringyes
guestEmailstringno
guestPhonestringno
roomstringno
checkinDatestringyes
checkoutDatestringyes
statusenumnoOne of: confirmed, pending, checked_in — Default: "confirmed"
sourceenumnoOne of: direct, booking, airbnb, manual — Default: "manual"

Output fields

FieldTypeRequiredNotes
stayIdstringyes

stays.forWindow

read-only

List stays overlapping a given date window, for calendar/occupancy-style views.

Input parameters

FieldTypeRequiredNotes
fromstringyes
tostringyes

Output fields

Returns array of object. Fields of each element:

FieldTypeRequiredNotes
idstringyes
checkInstring · nullableyes
checkOutstring · nullableyes
roomstring · nullableyes
statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold
otaStatusstring · nullableyes
sourceChannelenum · nullableyesOne of: whatsapp, email, hospitable, voice, channex, beds24
sourcestring · nullableyes
plattformEtikettstring · nullableyes
guestNamestring · nullableyes
otaReservationIdstring · nullableyes
otaSourcestring · nullableyes
exConversationIdstring · nullableyes
externalRefstring · nullableyes
roomsarray of stringyes
hasRoomOverridebooleanyes
originalRoomsarray of stringyes

stays.get

read-only

Fetch a single stay with its guest details and a summary of the linked conversation (message count, last-message timestamp, conversation id). Read-only.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes

Output fields

FieldTypeRequiredNotes
stayobject · nullableyes
stay.idstringyes
stay.guestIdstringyes
stay.externalRefstring · nullableyes
stay.sourceChannelenum · nullableyesOne of: whatsapp, email, hospitable, voice
stay.checkInstring · nullableyes
stay.checkOutstring · nullableyes
stay.roomstring · nullableyes
stay.statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold
guestobject · nullableyes
guest.idstringyes
guest.canonicalEmailstring · nullableyes
guest.canonicalPhonestring · nullableyes
guest.nameHintstring · nullableyes
guest.localestring · nullableyes
conversationobject · nullableyes
conversation.idstringyes
conversation.openedAtstringyes
conversation.lastMessageAtstring · nullableyes
conversation.messageCountintegeryes

stays.list

read-only

List stays/reservations, optionally filtered (date range, guest, status).

Input parameters

FieldTypeRequiredNotes
filterenumnoOne of: today, upcoming, past, all, voice-holds — Default: "all"
limitintegernoDefault: 50
offsetintegernoDefault: 0
guestIdstringno
searchstringno

Output fields

Returns array of object. Fields of each element:

FieldTypeRequiredNotes
idstringyes
checkInstring · nullableyes
checkOutstring · nullableyes
roomstring · nullableyes
statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold
sourceChannelenum · nullableyesOne of: whatsapp, email, hospitable, voice, channex, beds24
guestNamestring · nullableyes
guestEmailstring · nullableyes
guestPhonestring · nullableyes
otaSourcestring · nullableyes
otaReservationIdstring · nullableyes
exConversationIdstring · nullableyes
externalRefstring · nullableyes
roomsarray of stringyes
roomCountintegeryes

stays.list_active

read-only

List stays whose check_out is today or later. Includes pending and confirmed. Read-only.

Input parameters

Returns object.

Output fields

FieldTypeRequiredNotes
itemsarray of objectyes
items.idstringyes
items.guestIdstringyes
items.externalRefstring · nullableyes
items.sourceChannelenum · nullableyesOne of: whatsapp, email, hospitable, voice
items.checkInstring · nullableyes
items.checkOutstring · nullableyes
items.roomstring · nullableyes
items.statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold

stays.list_for_guest

read-only

List other stays of a single guest at this tenant, newest-first. excludeStayId is the current stay (so a returning-guest prompt can skip the active visit and focus on history). Read-only.

Input parameters

FieldTypeRequiredNotes
guestIdstringyes
excludeStayIdstringyes

Output fields

FieldTypeRequiredNotes
itemsarray of objectyes
items.idstringyes
items.guestIdstringyes
items.externalRefstring · nullableyes
items.sourceChannelenum · nullableyesOne of: whatsapp, email, hospitable, voice
items.checkInstring · nullableyes
items.checkOutstring · nullableyes
items.roomstring · nullableyes
items.statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold

stays.perform_checkout

writesconfirm

Check out a stay: sets status → checked_out, emits the stay.checked_out webhook, schedules the post-stay review request, and revokes any smart-lock codes. Idempotent if already checked out. Requires confirmation.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true

stays.prior_stays

read-only

List a guest's prior stays, newest-first. Optionally exclude a stayId (the current one). Read-only.

Input parameters

FieldTypeRequiredNotes
guestIdstringyes
excludeStayIdstringno

Output fields

FieldTypeRequiredNotes
itemsarray of objectyes
items.idstringyes
items.guestIdstringyes
items.externalRefstring · nullableyes
items.sourceChannelenum · nullableyesOne of: whatsapp, email, hospitable, voice
items.checkInstring · nullableyes
items.checkOutstring · nullableyes
items.roomstring · nullableyes
items.statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold

stays.protokoll

read-only

Stays: protokoll. Read-only query. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
limitintegernoDefault: 100
vorstringno

Output fields

Returns array of object. Fields of each element:

FieldTypeRequiredNotes
idstringyes
actionstringyes
createdAtstringyes
akteurstring · nullableyes
stayIdstring · nullableyes
gaststring · nullableyes
zimmerstring · nullableyes
anzahlAenderungennumberyes

stays.reset-all-room-overrides

writesconfirm

Clear ALL room-swap overrides for this tenant, restoring every swapped booking to its originally booked room(s). Owner-only, IRREVERSIBLE, requires confirmation.

Input parameters

Returns object.

Output fields

FieldTypeRequiredNotes
countintegeryes

stays.reset-room-override

writes

Clear a single booking's room-swap override, restoring its originally booked room(s).

Input parameters

FieldTypeRequiredNotes
stayIdstringyes

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true

stays.set-room-override

writes

Manually swap a booking's room (guest wish, maintenance issue, …). fromRoom must be one of the booking's current effective rooms; toRoom must exist and be free for the stay's dates (considering other bookings' own overrides) unless allowConflict is set — then the room is DELIBERATELY double-occupied. fromRoom === toRoom clears that mapping.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes
fromRoomstringyes
toRoomstringyes
reasonstringno
allowConflictbooleanno

Output fields

FieldTypeRequiredNotes
roomMapobjectyes

stays.today

read-only

List stays that are arriving, departing, or in-house today.

Input parameters

Returns object.

Output fields

FieldTypeRequiredNotes
arrivalsarray of objectyes
arrivals.idstringyes
arrivals.checkInstring · nullableyes
arrivals.checkOutstring · nullableyes
arrivals.roomstring · nullableyes
arrivals.statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold
arrivals.expectedArrivalAtstring · nullableyes
arrivals.guestNamestring · nullableyes
arrivals.exConversationIdstring · nullableyes
arrivals.externalRefstring · nullableyes
arrivals.hasPortalSessionbooleanyes
arrivals.hasMeldescheinbooleanyes
arrivals.hasSignedbooleanyes
arrivals.hasDepositbooleanyes
arrivals.hasIdUploadbooleanyes
departuresarray of objectyes
departures.idstringyes
departures.checkInstring · nullableyes
departures.checkOutstring · nullableyes
departures.roomstring · nullableyes
departures.statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold
departures.expectedArrivalAtstring · nullableyes
departures.guestNamestring · nullableyes
departures.exConversationIdstring · nullableyes
departures.externalRefstring · nullableyes
departures.hasPortalSessionbooleanyes
departures.hasMeldescheinbooleanyes
departures.hasSignedbooleanyes
departures.hasDepositbooleanyes
departures.hasIdUploadbooleanyes
inHousearray of objectyes
inHouse.idstringyes
inHouse.checkInstring · nullableyes
inHouse.checkOutstring · nullableyes
inHouse.roomstring · nullableyes
inHouse.statusenumyesOne of: pending, confirmed, checked_in, checked_out, cancelled, hold
inHouse.expectedArrivalAtstring · nullableyes
inHouse.guestNamestring · nullableyes
inHouse.exConversationIdstring · nullableyes
inHouse.externalRefstring · nullableyes
inHouse.hasPortalSessionbooleanyes
inHouse.hasMeldescheinbooleanyes
inHouse.hasSignedbooleanyes
inHouse.hasDepositbooleanyes
inHouse.hasIdUploadbooleanyes

stays.update_dates

writesconfirm

Move or extend a booking (new check-in/out dates, optionally a different unit). Only manual/direct bookings without an OTA reservation id are editable — OTA reservations are owned by the channel and rejected. Requires confirmation.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes
checkinDatestringyes
checkoutDatestringyes
roomstringno

Output fields

FieldTypeRequiredNotes
stayIdstringyes