Post JSON data here to send a message to a guest.
See here for information about using the JSON API.
The JSON data is similar to that returned by getMessages.
One message can be sent per request.
This function uses OTA API messaging, it will not send direct email.
Supported OTA's are Airbnb and Booking.com.
The bookId parameter must be specified for each message and the booking must originate from a supported OTA.
JSON does not support the line break code but using the four characters \r\n should create a line break in the message.
{ "authentication": { "apiKey": "apiKeyAsSetInAccountSettings", "propKey": "propKeyAsSetForTheProperty" }, "bookId": "12345678", "message": "Welcome, you will find the key under the doormat" }