Sends a message within a conversation. The message body supports plain text. Optionally, attach a file by referencing a previously uploaded attachment ID.
Security
BearerAuth
- Production environmenthttps://demandapi.booking.com/3.1/messages/send
- Sandbox environmenthttps://demandapi-sandbox.booking.com/3.1/messages/send
curl -i -X POST \
https://demandapi.booking.com/3.1/messages/send \
-H 'Authorization: Bearer <YOUR_string_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-Affiliate-Id: 0' \
-d '{
"conversation": "8586a789-44f4-5521-9f27-f5efd097cba6",
"accommodation": "6819547",
"content": "Hello, I'\''m your guest!.",
"attachments": [
"c325f460-1dc6-11f0-80f0-8d0908786f77"
]
}'