API Reference

This endpoint is used to retrieve the messages and details of a conversation.

We are constantly improving our API which could mean that message schema may change. In order to maintain a healthy integration, your Application must parse and ignore unexpected parameters instead of throwing errors.

Path Params
string
required

The id of the conversation.

Response

Response body
object
string
required

Unique identifier for the request.

integer
required

Numeric error code representing the status of the response. A value of 200 indicates success.
See the Error Codes section for more information.

string
required

Message detailing the status of the response.

data
object
required
string
required

The id of the conversation.

string
required

The type of the channel. See Supported Channels for more information.

airbnb booking.com agoda expedia vrbo trip.com booking_site tujia_intl hostex_direct tujia xiaozhu meituan_bnb meituan_hotel muniao fliggy zhukeyun tiktok xiaohongshu ctrip houfy

guest
object
required

The guest's information.

activities
array of objects
required

A list of activities associated with the conversation.

activities*
object
string

The type of activity.

inquiry reservation

string | null

The reservation code related to the activity, if applicable.

date | null

The check-in date related to the activity.

date | null

The check-out date related to the activity.

string | null

The listing id related to the activity.

object | null

Details of the property related to the activity.

string

Any notes related to the conversation.

messages
array of objects
required

List of messages within the conversation.

messages*
object
string

The id of the message.

string

The role of the message sender, either 'host' or 'guest'.

string

The display type of the message.

string

The text content of the message.

object | null

Any attachment included with the message.

Has additional fields
date-time

The timestamp of when the message was created.

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json