API REFERENCES/Version 3.1//
- Fetch latest messages
Send a message
Confirm message receipt
Fetch latest messages
Retrieves up to 100 of the most recent messages including messages from both property and guest.
- Messages are returned in reverse chronological order (newest first).
- Use this endpoint to sync message threads or poll for updates.
Important: To retrieve the latest messages, send an empty POST request. Any content in the request body will be ignored.
Security
BearerAuth
- Production environmenthttps://demandapi.booking.com/3.1/messages/latest
- Sandbox environmenthttps://demandapi-sandbox.booking.com/3.1/messages/latest
curl -i -X POST \
https://demandapi.booking.com/3.1/messages/latest \
-H 'Authorization: Bearer <YOUR_string_HERE>' \
-H 'X-Affiliate-Id: 0'