Skip to content

Retrieve latest messages

Request

Use this endpoint to fetch the most recent messages, including messages sent by both the property and the guest. By default, up to 100 messages are returned in reverse chronological order (newest first).

This endpoint is ideal for:

  • Synchronising message threads between your system and the Booking.com platform.
  • Polling for updates to detect new messages since your last request.
Security
BearerAuth
Headers
X-Affiliate-Idintegerrequired

Include here your Affiliate identifier number

Bodyapplication/json
any(input-9)
curl -i -X POST \
  https://demandapi.booking.com/3.2/messages/latest \
  -H 'Authorization: Bearer <YOUR_string_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-Affiliate-Id: 0' \
  -d '{}'

Responses

Successful response.

Bodyapplication/json
request_idstring(requestId)

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

dataobject
Response
{ "request_id": "0248d85a-17e0-44b3-a37c-7d4b5c03f58b", "data": { "messages": [] } }