Skip to main content

Conversation

The Conversation entity is used within the Reservation entity to specify information about the conversation related to the reservation.

Fields​

FieldTypeDescription
idstring/numberUnique identifier for the conversation thread.
externalThreadIdstring/numberUnique identifier for the conversation thread from the respective OTA.
reservationIdstring/numberUnique Identifier for the associated reservation.
propertyIdstring/numberIdentifier for the associated property.
roomIdstring/numberIdentifier for the associated room or room type, based on the PMS system.
type (*deprecated)stringType of the conversation thread.
createdAtstringCreation date of the conversation thread in ISO 8601 format.
updatedAtstringLast update date of the conversation in ISO 8601 format.
recipient.namestringName of the recipient.
recipient.emailstringEmail of the recipient.
recipient.picturestringPicture of the recipient.
messages.idstring/numberUnique identifier of the message.
messages.createdAtstringCreation date of the message in ISO 8601 format.
messages.updatedAtstringLast update date of the message in ISO 8601 format.
messages.bodystringBody of the message.
messages.subjectstringSubject of the message.
messages.senderTypestringRole of the entity sending the message. Possible values include Owner/Guest/Log.
messages.typestringType of the message.
messages.statusstringStatus of the message.
messages.seenStatusstringSeen Status of the message.
messages.is_automaticboolIndicates if it's a system generated/automated message or not.
messages.attachments.idstring/numberUnique identifier of the attachment within the message.
messages.attachments.urlstringURL of the attachment.
messages.attachments.type.extensionstringFile extension of the attachment.
messages.attachments.type.mimeTypestringMIME type of the attachment.

Note:

  • type field will be deprecated from the API and webhook payload by 28th March, 2025.
  • messages.type and messages.attachments.url are supported for Hostify only in conversation.updated webhooks. They're not supported in API end-points.

ENUMS​

SenderType​

Owner = "Owner"
Guest = "Guest"
Log = "Log"

messages.type​

Email = "EMAIL"
SMS = "SMS"
WHATSAPP = "WHATSAPP"
CHANNEL = "CHANNEL"
MESSENGER = "MESSENGER"
UNKOWN = "UNKNOWN"

seenStatus​

SEEN = "SEEN"
UNSEEN = "UNSEEN"
UNKOWN = "UNKNOWN"

Status​

CREATED = "CREATED"
PENDING = "PENDING"
SENT = "SENT"
DELIVERED = "DELIVERED"
FAILED = "FAILED"

Supported fields in each source system:​

FieldHostfullyGuestyHostawayLodgifyHostifyOwnerRezBookingSyncBeds24HospitableReslySmoobuFantasticStayYour.RentalsHostexRentalWise
id✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
externalThreadId-✅✅-✅-------🔜🔜✅
reservationId✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
propertyId✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
roomId---✅---✅-✅--🔜🔜-
createdAt🔜✅----✅-----🔜🔜✅
updatedAt-✅✅✅✅-✅----✅🔜🔜✅
type✅✅✅✅-✅✅✅✅---🔜✅✅
recipient.name✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
recipient.email✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
recipient.phone✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
recipient.picture-🔜✅-----✅-✅-🔜🔜-
messages.id✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
messages.createdAt✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
messages.updatedAt--✅---✅-----🔜🔜✅
messages.body✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
messages.subject✅✅✅✅-✅🔜--✅✅-🔜🔜✅
messages.type✅✅✅✅✅✅✅✅✅✅--🔜✅✅
messages.attachments.id✅✅✅---🔜----🔜🔜🔜-
messages.attachments.name✅✅✅✅--🔜✅---🔜🔜🔜-
messages.attachments.url✅✅✅✅--🔜✅✅--🔜🔜✅-
messages.attachments.type.extension✅🔜✅✅--🔜-----🔜🔜-
messages.attachments.type.mimeType✅🔜✅🔜--🔜✅✅---🔜🔜-
messages.status✅✅✅✅--------🔜🔜✅
messages.senderType✅✅✅✅✅✅✅✅✅✅✅✅🔜✅✅
messages.seenStatus-🔜✅✅---✅----🔜🔜✅
messages.is_automatic-✅✅-✅-🔜-----🔜🔜-

✅ Supported and mapped
🔶 Partially mapped, not exact match
🔜 Launching soon
— Not supported in source system

Supported Methods in each source system​

MethodsHostawayHostifySmoobuLodgifyUplistingGuestyHostfullyOwnerRezBeds24HospitableFantasticStayHostexBookingSyncReslyRentalWise
Get Conversations✅✅✅✅-✅✅✅✅✅✅✅✅✅✅
Get a Conversation✅✅✅✅-✅-✅✅✅✅✅✅✅✅
Create Conversation message✅✅✅✅-✅✅✅✅✅✅✅✅✅✅

Sample Response​

{
"success": true,
"data": [
{
"id": "12345678",
"externalThreadId": "87654321",
"reservationId": "11223344",
"propertyId": "55667788",
"type": "DIRECT",
"recipient": {
"name": "Alex Johnson",
"email": null,
"phone": "",
"picture": "https://example.com/images/profile_placeholder.jpg"
},
"updatedAt": "2025-01-13T23:37:53",
"messages": [
{
"id": "99887766",
"body": "Thanks, you as well!",
"senderType": "Guest",
"createdAt": "2025-01-13T23:40:49",
"updatedAt": "2025-01-13T23:40:49",
"status": "SENT",
"seenStatus": "UNSEEN",
"attachments": [],
"type": "CHANNEL",
"isAutomatic": false,
"subject": ""
},
{
"id": "88776655",
"body": "Ok great! We look forward to hosting you. Have wonderful 2025 :)",
"senderType": "Owner",
"createdAt": "2025-01-13T23:37:53",
"updatedAt": "2025-01-13T23:37:55",
"status": "SENT",
"seenStatus": "SEEN",
"attachments": [
{
"id": "12345",
"name": "booking-confirmation.jpeg",
"url": "https://example.com/attachments/booking-confirmation.jpeg",
"type": {
"mimeType": "image/jpeg"
}
}
],
"type": "CHANNEL",
"isAutomatic": false,
"subject": ""
},
{
"id": "77665544",
"body": "Yes, it is for next year in 2026.",
"senderType": "Guest",
"createdAt": "2025-01-13T23:33:02",
"updatedAt": "2025-01-13T23:33:02",
"status": "SENT",
"seenStatus": "UNSEEN",
"attachments": [],
"type": "CHANNEL",
"isAutomatic": false,
"subject": ""
},
{
"id": "66554433",
"body": "Hi Alex, I just noticed your reservation is for 2026 is this correct? I just wanted to make sure because we are booked for those days this year.",
"senderType": "Owner",
"createdAt": "2025-01-13T23:25:51",
"updatedAt": "2025-01-13T23:25:53",
"status": "SENT",
"seenStatus": "SEEN",
"attachments": [],
"type": "CHANNEL",
"isAutomatic": false,
"subject": ""
},
{
"id": "55443322",
"body": "Hi Alex, thank you for choosing our house. We hope you enjoy your stay.",
"senderType": "Owner",
"createdAt": "2025-01-13T22:17:51",
"updatedAt": "2025-01-13T22:17:53",
"status": "SENT",
"seenStatus": "SEEN",
"attachments": [],
"type": "CHANNEL",
"isAutomatic": false,
"subject": ""
},
{
"id": "44332211",
"body": "Hi! The home is lovely and the location seems great. My husband, dog and I will be working remotely and exploring Austin. \n\nThanks,\nAlex",
"senderType": "Guest",
"createdAt": "2025-01-13T22:15:41",
"updatedAt": "2025-01-13T22:15:41",
"status": "SENT",
"seenStatus": "UNSEEN",
"attachments": [],
"type": "CHANNEL",
"isAutomatic": false,
"subject": ""
}
]
}
]
}