Params
Name | Type | Requireness | Default value | Description |
---|---|---|---|---|
message | string | required | none | Message (it's length may be limited for certain channel types). |
booking_uid | string | optional | none | UID of a booking (required without thread_uid). |
thread_uid | string | optional | none | UID of a thread (required without booking_uid). |
channel | string | optional | platform | Channel type (see the corresponding filters section). Use 'email' for direct bookings and booking.com, 'platform' for other platforms. |
Description
Sends message to the main guest of a booking with using different available channels.
Returns UID of a message which can be used as a parameter for the message-status method
This endpoint requires the following scope: messaging
Response sample
{
"data": {
"message_uid": "74302303"
}
}