Skip to main content

Open the conversation of a booking

POST 

/bookings/conversation

Answers the conversation of a booking to the guest it belongs to (Better Messages 3.3). The plain link of a booking, opened by a visitor who is not logged in, sends the browser to the Messages page with bm-booking-open (and bm-call for a call) in the address. The script of the messenger takes them out of the address and asks this route as the guest the browser keeps, then opens the conversation, or sends the visitor to the login page when the route refuses.

The guest authenticates with the BM-Guest-ID and BM-Guest-Secret headers. Only a guest whose email is proved, given by a booking or confirmed by its link, gets an answer, and only when that email is the email of the customer of the booking, or of one of the bookings of a group. A typed email that was never confirmed proves nothing. The conversation is made at the first answer when it does not exist yet. Anyone else, a logged in member included, gets 403 with bm_booking_not_yours.

Request#

Responses#

The conversation of the booking