POST /messages/latest
Retrieves up to 100 of the most recent messages from a specified conversation, 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: This endpoint does not accept a request body. To retrieve the latest messages, send an empty POST request.
Any content in the request body will be ignored.
Servers
- https://demandapi.booking.com/3.1
- https://demandapi-sandbox.booking.com/3.1
Request headers
Name | Type | Required | Description |
---|---|---|---|
X-Affiliate-Id |
Integer | Yes |
Include here your Affiliate identifier number |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.