Skip to content

Conversations

Retrieve a conversation

Request

Use this endpoint to retrieve a conversation available to the authenticated user.

Security
BearerAuth
Headers
X-Affiliate-Idintegerrequired

Include here your Affiliate identifier number

Bodyapplication/jsonrequired
One of:
accommodationstringrequired

The unique identifier of the property

conversationstring(conversation)

Uniquely identifies the conversation.

reservationstring(reservation-2)

Unique identifier of the reservation associated with this conversation.

curl -i -X POST \
  https://demandapi.booking.com/3.2/messages/conversations \
  -H 'Authorization: Bearer <YOUR_string_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Affiliate-Id: 0' \
  -d '{
    "accommodation": "string",
    "conversation": "string",
    "reservation": "string"
  }'

Responses

Conversation retrieved successfully.

Bodyapplication/json
request_idstring(requestId)required

Uniquely identifies the request. Please provide this identifier when contacting support.

dataobjectrequired
Response
{ "request_id": "7889a8c0-aa43-494c-863d-72d2306849c1", "data": { "conversation": { … } } }