API REFERENCES/Beta//
- Confirm message receipt
Send a message
Retrieve latest messages
Retrieve attachment metadata
Confirm message receipt
Use this endpoint to confirm receipt of messages. Confirmation is required in order to receive new messages from POST /messages/latest.
Security
BearerAuth
- https://demandapi.booking.com/3.2https://demandapi.booking.com/3.2/messages/latest/confirm
- https://demandapi-sandbox.booking.com/3.2https://demandapi-sandbox.booking.com/3.2/messages/latest/confirm
curl -i -X POST \
https://demandapi.booking.com/3.2/messages/latest/confirm \
-H 'Authorization: Bearer <YOUR_string_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-Affiliate-Id: 0' \
-d '{
"messages": [
"8586a789-44f4-5521-9f27-f5efd097cba"
]
}'Response
{ "request_id": "cdb0b154-2eae-481b-8fee-fb2725296e1f", "confirmedMessages": [ "8586a789-44f4-5521-9f27-f5efd097cba" ] }