list_rental_companies
List car rental companies
Car rental companies that use Bota and rent directly through it. Returns id, name, website, active channels, whether bookings can be completed here (booking_via_agents) and whether it is the demo company.
Takes no parameters.
list_offices
List rental offices
Rental offices (pickup/return locations) of a company: name, city, address, opening hours, timezone, coordinates.
Parameterslanguagecompany_idrequired
search_availability
Search available cars and prices
Search available vehicles with real prices for a company, office and dates. Prices are identical to the company's own web chat (mandatory charges, one-way and time rules included). Returns numbered offers and the session_id of this booking session.
Parameterslanguagecompany_idrequireddriver_agerequiredpromo_codesession_idpickup_daterequiredpickup_timereturn_daterequired+3 more
ask_company
Ask the rental company
Ask the company a free-text question (requirements, deposit, insurance, documents, opening hours, pickup instructions…). Bota answers in the customer's language with the company's approved information. Read-only: it never starts, changes or completes a booking.
Parameterslanguagequestionrequiredcompany_idrequired
select_offer
Select an offer
Selects one of the numbered offers of the booking session. Returns the extras available for it, or the driver details the company needs. Only for companies with booking_via_agents=true.
Parameterslanguagecompany_idrequiredsession_idrequiredoffer_numberrequired
provide_customer_details
Provide driver details
Submits the driver's details for the booking in progress and returns the booking summary with its confirmation_token. terms_accepted records that the customer accepted the company's terms and must be true.
Parametersemailrequirednotesphonelanguagelast_namerequiredcompany_idrequiredfirst_namerequiredsession_idrequired+2 more
confirm_booking
Confirm the booking
Confirms the summarised booking with its confirmation_token, which proves the customer saw that exact summary. Creates the reservation in the company's reservation system and returns the confirmation code (and a payment link when the company requires prepayment). An on-request booking comes back pending the company's confirmation and without a code yet.
Parameterslanguagecompany_idrequiredsession_idrequiredconfirmation_tokenrequired
get_booking_status
Check a booking
Look up a booking made through Bota: status (confirmed, cancelled…), vehicle, office, dates and total. Needs the booking reference and the email it was made with.
Parametersemailrequiredlanguagecompany_idrequiredbooking_referencerequired
cancel_booking
Cancel a booking
Cancels a booking made through Bota. Without confirm it only returns the booking and whether it can be cancelled; with confirm=true it cancels it. Cancellation fees, if any, follow the company's terms.
Parametersemailrequiredconfirmlanguagecompany_idrequiredbooking_referencerequired