FoyerDevelopers

Generated · Live registry

messages tools

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

All tool domains

messages.anrufe

read-only

Messages: anrufe. Read-only query. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes

Output fields

Returns array of object. Fields of each element:

FieldTypeRequiredNotes
idstringyes
startedAtstringyes
durationSecnumber · nullableyes
summarystring · nullableyes
outcomestring · nullableyes
quelleenumyesOne of: bot, anlage
richtungnumber · nullableyes
nummerstring · nullableyes
rueckrufStatusstring · nullableyes
waNummerstring · nullableyes

messages.faden

read-only

Messages: faden. Read-only query. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
conversationIdstringyes

Output fields

FieldTypeRequiredNotes
kopfobjectyes
kopf.conversationIdstringyes
kopf.stayIdstring · nullableyes
kopf.exConversationIdstring · nullableyes
kopf.platformstring · nullableyes
kopf.kanalstring · nullableyes
kopf.namestring · nullableyes
kopf.telefonstring · nullableyes
kopf.lastMessageAtstring · nullableyes
nachrichtenarray of objectyes
nachrichten.idstringyes
nachrichten.tenantIdstringyes
nachrichten.conversationIdstringyes
nachrichten.channelenumyesOne of: whatsapp, email, hospitable, voice, channex, beds24
nachrichten.directionenumyesOne of: inbound, outbound
nachrichten.senderstring · nullableyes
nachrichten.bodystring · nullableyes
nachrichten.languageDetectedstring · nullableyes
nachrichten.aiLayerenum · nullableyesOne of: rule, llm, manual, escalated, auto_received
nachrichten.aiConfidencestring · nullableyesDecimal as string — numeric column, not an IEEE-754 double
nachrichten.aiReplyToMessageIdstring · nullableyes
nachrichten.attachmentUrlstring · nullableyes
nachrichten.attachmentKindenum · nullableyesOne of: audio, image, file
nachrichten.externalMessageIdstring · nullableyes
nachrichten.sentReferenceIdstring · nullableyes
nachrichten.externalThreadRefsarray of string · nullableyes
nachrichten.subjectstring · nullableyes
nachrichten.bodyHtmlstring · nullableyes
nachrichten.stateenumyesOne of: draft, sent
nachrichten.sentAtstringyes
nachrichten.providerNamestring · nullableyes
nachrichten.providerSourcestring · nullableyes
nachrichten.deliveryStatusenumyesOne of: queued, sent, beobachtet, provider_acked, delivered, read, failed, sync_unknown
nachrichten.lastReconciledAtstring · nullableyes
nachrichten.invoiceRequestedbooleanyes
nachrichten.attachmentsarray of objectyes

messages.fadenAntworten

writes

Messages: faden antworten. Mutation — changes data. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
conversationIdstringyes
bodystringyes

Output fields

FieldTypeRequiredNotes
messageIdstringyes
externalMessageIdstring · nullableyes

messages.fadenVorschlag

read-only

Messages: faden vorschlag. Read-only query. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
conversationIdstringyes

Output fields

FieldTypeRequiredNotes
stayIdstring · nullableyes
guestNamestring · nullableyes
roomstring · nullableyes
checkInstring · nullableyes
grundstring · nullableyes

messages.fadenZuordnen

writes

Messages: faden zuordnen. Mutation — changes data. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
conversationIdstringyes
stayIdstring · nullableyes

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true

messages.listByStay

read-only

List all messages for a single stay's conversation thread.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes

Output fields

Returns array of object. Fields of each element:

FieldTypeRequiredNotes
idstringyes
tenantIdstringyes
conversationIdstringyes
channelenumyesOne of: whatsapp, email, hospitable, voice, channex, beds24
directionenumyesOne of: inbound, outbound
senderstring · nullableyes
bodystring · nullableyes
languageDetectedstring · nullableyes
aiLayerenum · nullableyesOne of: rule, llm, manual, escalated, auto_received
aiConfidencestring · nullableyesDecimal as string — numeric column, not an IEEE-754 double
aiReplyToMessageIdstring · nullableyes
attachmentUrlstring · nullableyes
attachmentKindenum · nullableyesOne of: audio, image, file
externalMessageIdstring · nullableyes
sentReferenceIdstring · nullableyes
externalThreadRefsarray of string · nullableyes
subjectstring · nullableyes
bodyHtmlstring · nullableyes
stateenumyesOne of: draft, sent
sentAtstringyes
providerNamestring · nullableyes
providerSourcestring · nullableyes
deliveryStatusenumyesOne of: queued, sent, beobachtet, provider_acked, delivered, read, failed, sync_unknown
lastReconciledAtstring · nullableyes
invoiceRequestedbooleanyes
attachmentsarray of objectyes
attachments.idstringyes
attachments.messageIdstringyes
attachments.kindliteralyesOne of: photo
attachments.urlstringyes
attachments.mimeTypestring · nullableyes
attachments.sizeBytesinteger · nullableyes

messages.listConversations

read-only

List guest message conversations (inbox threads).

Input parameters

FieldTypeRequiredNotes
filterenumnoOne of: all, unanswered, alarme — Default: "all"
kanalarray of enumno
aufenthaltenumnoOne of: anreisend, im_haus, abgereist
anreiseVonstringno
anreiseBisstringno
sprachearray of stringno
statusarray of enumno
searchstringno
limitintegernoDefault: 25
cursorstringno

Output fields

FieldTypeRequiredNotes
itemsarray of objectyes
items.conversationIdstringyes
items.stayIdstring · nullableyes
items.exConversationIdstring · nullableyes
items.externalRefstring · nullableyes
items.guestNamestringyes
items.channelenumyesOne of: whatsapp, email, hospitable, voice, channex, beds24
items.lastBodystring · nullableyes
items.lastAtstringyes
items.lastDirectionenumyesOne of: inbound, outbound
items.needsReplybooleanyes
items.roomstring · nullableyes
items.stayStatusstring · nullableyes
items.platformstring · nullableyes
items.isInquirybooleanyes
items.hatAnrufbooleanyes
items.verlangtRueckrufbooleanyes
nextCursorstring · nullableyes

messages.listUnconfirmed

read-only

Messages: list unconfirmed. Read-only query. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
limitintegernoDefault: 100

Output fields

FieldTypeRequiredNotes
itemsarray of objectyes
items.messageIdstringyes
items.conversationIdstringyes
items.channelenumyesOne of: whatsapp, email, hospitable, voice, channex, beds24
items.providerNamestring · nullableyes
items.deliveryStatusenumyesOne of: queued, sent, beobachtet, provider_acked, delivered, read, failed, sync_unknown
items.subjectstring · nullableyes
items.bodystring · nullableyes
items.externalMessageIdstring · nullableyes
items.sentAtstringyes
items.lastReconciledAtstring · nullableyes
countintegeryes
notCheckableCountintegeryes
notCheckableProvidersarray of stringyes

messages.markDelivered

writes

Messages: mark delivered. Mutation — changes data. See the input schema for argument details.

Input parameters

FieldTypeRequiredNotes
messageIdstringyes

Output fields

FieldTypeRequiredNotes
okliteralyesOne of: true

messages.resyncReservation

writes

Re-pull a reservation's message history from Hospitable to heal a sync gap. Idempotent, read-mostly.

Input parameters

FieldTypeRequiredNotes
reservationUuidstringyes

Output fields

One of 2 shapes, depending on the outcome:

Shape 1

FieldTypeRequiredNotes
okliteralyesOne of: true
messagesSeenintegeryes
messagesInsertedintegeryes
skippedintegeryes

Shape 2

FieldTypeRequiredNotes
okliteralyesOne of: false
reasonenumyesOne of: no_api_key, auth_failed, api_error, internal
messagestringyes

messages.send

writesconfirm

Send a message to the guest on a reservation's conversation thread. This contacts the guest for real over the booking channel (Airbnb/Booking/email). Requires confirmation.

Input parameters

FieldTypeRequiredNotes
stayIdstringyes
bodystringyes

Output fields

FieldTypeRequiredNotes
messageIdstringyes