Skip to main content

Duffel

A connector to the Duffel travel API for searching and booking flights, hotels, and managing travel orders.

Categories: Travel

What you can ask​

  • Find round-trip flights from SFO to NRT next month under $1500, with one stop or fewer.
  • Hold a booking for 24 hours on the cheapest morning flight to Boston tomorrow.
  • List Star Alliance flights between JFK and FRA on the 15th.

Set up​

Duffel connects with credentials from your Duffel account. Have these values ready:

  • API key
  1. Go to Organization > Connectors and find Duffel.
  2. Click Enable and choose which tools to allow.
  3. Each member enters their own values the first time they use it.

To use one account for the whole organization, turn on Share one connection with everyone. Every member's agents then act as that account, with exactly the access it has.

Tools​

Duffel offers 40 tools. Admins choose which ones agents can use. See Tool permission groups.

Read (28)​

View and search information without changing it.

ToolWhat it does
get_aircraftGet aircraft type details by ID.
get_airlineGet airline details by ID.
get_airportGet airport details by ID.
get_batch_offer_requestGet batch offer request status and results by ID.
get_cityGet city details by ID.
get_loyalty_programGet loyalty programme details by ID.
get_offerGet offer details by ID.
get_offer_requestGet offer request details by ID.
get_orderGet order details by ID.
get_order_cancellationGet order cancellation details by ID.
get_order_changeGet order change details by ID.
get_order_change_requestGet order change request details by ID.
get_partial_offer_requestGet partial offer request details by ID.
get_paymentGet payment details by ID.
get_seat_mapsGet seat maps for an offer.
list_aircraftList aircraft types with pagination.
list_airlinesList airlines with pagination.
list_airportsList airports with pagination.
list_citiesList cities with pagination.
list_loyalty_programsList airline loyalty programmes with pagination.
list_offer_requestsList offer requests with pagination.
list_offersList offers for an offer request with pagination.
list_order_cancellationsList order cancellations with pagination.
list_order_change_offersList change offers for an order change request.
list_ordersList orders with pagination.
list_paymentsList payments with pagination.
suggest_placesSearch airports and cities by name.
validate_credentialValidate Duffel API credentials by testing authentication with a lightweight API call.

Write (8)​

Create or send data.

ToolWhat it does
create_batch_offer_requestCreate a batch flight search.
create_offer_requestSearch for flights by creating an offer request.
create_orderBook a flight by creating an order.
create_order_cancellationInitiate cancellation of an order.
create_order_changeSelect an order change offer to proceed with.
create_order_change_requestRequest to change an order's flights.
create_partial_offer_requestSearch for flights with partial offers.
create_paymentCreate a payment for an order.

Delete or overwrite (4)​

Remove or replace existing data.

ToolWhat it does
confirm_order_cancellationConfirm an order cancellation.
confirm_order_changeConfirm an order change.
update_offer_passengerUpdate passenger details on an offer.
update_orderUpdate order metadata.
⌘J