API REFERENCES/Beta//
- Retrieve latest messages
Send a message
Confirm message receipt
Retrieve attachment metadata
Retrieve latest messages
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
- https://demandapi.booking.com/3.2https://demandapi.booking.com/3.2/messages/latest
- https://demandapi-sandbox.booking.com/3.2https://demandapi-sandbox.booking.com/3.2/messages/latest
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 '{}'