GoChatTravel API Reference
A white-label travel commerce layer: one search across the suppliers a partner holds, one cart across suppliers holding any number of hotels, flights and car rentals, one checkout that books every item, and post-sale cancellation and refund. It runs on top of the partner's own supplier contracts, an aggregator they already buy from, or the providers GoChatTravel is connected to.
OpenAPI 3.1 specification: /api-docs/openapi.json. Product: gochattravel.com.
Endpoints
GET /api/v1/airport/autocomplete — Suggest places to fly from and to
GET /api/v1/bookings — Everything the traveller has booked
POST /api/v1/bookings/{item_type}/{item_id}/cancel — Cancel a booking
GET /api/v1/bookings/{item_type}/{item_id}/cancellation — What cancelling a booking would cost
POST /api/v1/car/bookings/{booking_id}/similar-offers — Shop offers similar to a car booking
POST /api/v1/car/locations/dropoff — Find rental branches to return a car to
POST /api/v1/car/locations/pickup — Find rental branches to pick a car up from
POST /api/v1/car/offer/{offer_id}/select — Put a shopped car offer in the cart
POST /api/v1/car/search — Search car rental availability
POST /api/v1/car/search/nearby — Search car rental availability around a place
GET /api/v1/cart — Read the traveller's current cart
GET /api/v1/cart/items/{item_type}/{item_id}/travelers — List travelers assigned to a cart item
POST /api/v1/cart/items/{item_type}/{item_id}/travelers — Add a traveler to a cart item without saving them
PUT /api/v1/cart/items/{item_type}/{item_id}/travelers — Assign travelers to a cart item
PATCH /api/v1/cart/items/{item_type}/{item_id}/travelers/{companion_id} — Edit a traveler on a cart item
DELETE /api/v1/cart/items/{item_type}/{item_id}/travelers/{companion_id} — Remove a traveler from a cart item
DELETE /api/v1/cart/{item_type}/{item_id} — Remove cart item
GET /api/v1/carts — List the traveller's carts
POST /api/v1/carts — Start a new cart
GET /api/v1/carts/{cart_id} — Get cart by id
PATCH /api/v1/carts/{cart_id} — Update a cart
DELETE /api/v1/carts/{cart_id} — Abandon a cart
GET /api/v1/carts/{cart_id}/days — Get the days of a trip
POST /api/v1/carts/{cart_id}/days — Plan days of a trip
DELETE /api/v1/carts/{cart_id}/days/{date} — Remove a day's plan
PUT /api/v1/carts/{cart_id}/days/{date}/order — Reorder a day's places
GET /api/v1/carts/{cart_id}/processing — Get cart processing state
POST /api/v1/carts/{cart_id}/processing — Start cart processing
POST /api/v1/carts/{cart_id}/processing/cancel — Cancel cart processing
POST /api/v1/carts/{cart_id}/processing/resume — Resume cart processing
GET /api/v1/chat/messages — Read the conversation with the travel assistant
POST /api/v1/chat/messages — Send a message to the travel assistant
DELETE /api/v1/chat/messages — Start the conversation over
GET /api/v1/companions — List the traveller's saved companions
POST /api/v1/companions — Save a companion
PATCH /api/v1/companions/{companion_id} — Change a saved companion
DELETE /api/v1/companions/{companion_id} — Forget a companion
GET /api/v1/event/bookings/{booking_id}/delivery — Read how the tickets of an event booking are delivered
PUT /api/v1/event/bookings/{booking_id}/delivery — Choose how the tickets of an event booking are delivered
POST /api/v1/event/bookings/{booking_id}/similar-offers — Shop offers similar to an event booking
POST /api/v1/event/offer/{offer_id}/select — Put a ticket listing in the cart
POST /api/v1/event/search — Search events with tickets on sale
GET /api/v1/event/{event_id}/offers — List the ticket listings of a searched event
GET /api/v1/flight/bookings/{booking_id}/seat-maps — Seat maps of a flight booking
PUT /api/v1/flight/bookings/{booking_id}/seats — Pick seats on a flight booking
DELETE /api/v1/flight/bookings/{booking_id}/seats/{slice_index}/{segment_index}/{passenger_index} — Give up a seat on a flight booking
POST /api/v1/flight/bookings/{booking_id}/similar-offers — Shop offers similar to a flight booking
POST /api/v1/flight/search — Search flight availability
POST /api/v1/flight/search/{search_id}/offer/{offer_id}/select — Put a shopped flight offer in the cart
GET /api/v1/fx-rate — Get a reference exchange rate
POST /api/v1/hotel/bookings/{booking_id}/similar-offers — Shop offers similar to a hotel booking
POST /api/v1/hotel/offer/{offer_id}/select — Put a shopped hotel offer in the cart
GET /api/v1/hotel/rates/{offer_id} — List every rate of a shopped property
POST /api/v1/hotel/search — Search hotel availability
GET /api/v1/place/autocomplete — Suggest places to search hotels in