Developers » Chat bot or AI agent
Chat bot or AI agent
A bot that answers "do you have a room for two next weekend?" and books it uses the same two calls as a booking engine.
- Search with
GET /v1/qc/properties/{id}/booking_offers. The default answer is a short list, one line per room, rate and party, with its price, which is easy to put in front of a model. - Quote only what the search returned. Prices, rooms and policies come from the answer; never let the model work them out.
- Book after the guest confirms, with
POST /v1/qc/properties/{id}/bookings/from-search. Thesearch_tokenholds the prices for 30 minutes. - Send the guest
payment_urlfrom the booking's answer.
Run the bot's calls from your server. Your Quendoo Connect credentials must never reach a browser or a chat widget.
Details: API reference.