Live demo

Integrations directory

Amadeus API integration: the flights connector, set up step by step

The Amadeus module connects your PHPTRAVELS flight search to Amadeus Enterprise. Register an app, paste three credentials into the admin, test in development mode and switch to production when Amadeus approves your account.

  • Enterprise plan connector
  • OAuth2 client credentials
  • Development and production
  • Published setup guide

Connector setup

From Amadeus app to live flight results in five steps

The connector is a ready-made module, so there is no code to write for a standard setup. You bring your own Amadeus account and commercial terms, and the module handles authentication, flight search and order creation inside the PHPTRAVELS flights module.

  1. Start on the Enterprise plan, which includes the Amadeus module
  2. Register at Amadeus for Developers and create an app with Flight Offers Search and Flight Create Orders
  3. Enter grant type, client ID and client secret under Modules in the admin, with Dev mode on
  4. Search flights on your site and look for the Amadeus logo under the Book now button
  5. Apply for production keys, replace the sandbox ones and switch Dev mode to production
Dev mode
Development
Endpoint
travel.api.amadeus.com/v2/
c1 · grant_type
client_credentials
c2 · client_id
••••••••••7Kq2
c3 · client_secret
••••••••••
Read the setup guide

Request flow

What happens on each Amadeus search

The same sequence runs in development and production; only the keys and the Dev mode setting change.

  1. Authenticate

    Your client ID and secret are exchanged for an access token.

  2. Search

    Flight Offers Search returns fares for the route, dates and passengers.

  3. Display

    Offers appear with your markup, next to results from other connected suppliers.

  4. Order

    Flight Create Orders books the selected offer with the traveller details.

  5. Record

    The booking is stored in your admin and the confirmation is emailed.

Where Amadeus fits

Your Amadeus account, other flight APIs and custom work

The Amadeus module is one of several flight connectors, and each runs on its own credentials in the same search.

  • Your Amadeus Enterprise account

    Amadeus issues production keys after reviewing your use case, company registration and website, and you accept its commercial terms.

  • Other flight connectors

    Add Duffel, Kiwi or other flight suppliers from the integrations directory and compare their fares in one result list.

  • Other endpoints and APIs

    A regional Amadeus endpoint or an API the module does not use yet can be added as custom development work.

Flight suppliers you can connect:

  • Seeru
  • Amadeus
  • Duffel
  • Google Flights
  • Kayak
  • Kiwi
  • Mystifly
  • PKfare
  • Sabre
  • TBO Holidays
  • Travelport
See every integration

Back office

Run Amadeus bookings from the same admin

Once the keys are in, Amadeus fares follow the rules you already use for every other flight supplier.

  • Flight markups

    Add fixed or percentage markups so Amadeus fares show your selling price.

  • Bookings list

    Amadeus bookings sit with traveller details and status in the flights bookings screen.

  • B2B agents

    Agents search and book Amadeus fares in the agent portal with their own rates.

  • Payments

    Travellers pay through the gateways you have enabled, or agents from their wallet.

  • Keys on your server

    Credentials are saved in your own self-hosted admin, not on a shared platform.

  • Support tickets

    Open a ticket at app.phptravels.com if a connection or booking needs our help.

Compare

Coding against Amadeus yourself vs the PHPTRAVELS module

Both use the same Amadeus account. The difference is how much your team writes and maintains around it.

TaskDirect API buildPHPTRAVELS
AuthenticationDirect API buildToken requests and renewal written by your developersPHPTRAVELSHandled by the module from three admin fields
Search resultsDirect API buildOffer data mapped to your own results pagePHPTRAVELSOffers shown in the existing flights search
BookingDirect API buildTraveller forms and order calls built from scratchPHPTRAVELSCreate Orders wired to checkout and payment
Test and liveDirect API buildSeparate configuration for each environmentPHPTRAVELSOne Dev mode switch
Markups and bookingsDirect API buildA back office to design and buildPHPTRAVELSIncluded in the flights admin
Setup stepsDirect API buildWritten and kept current by your teamPHPTRAVELSPublished guide on docs.phptravels.com

Use cases

Who switches on the Amadeus module

  • Online travel agencies

    Public flight search on Amadeus content, with your markup and checkout.

  • B2B agent networks

    Sub-agents book Amadeus fares through your portal under your rates.

  • Travel management companies

    Corporate bookers search Amadeus fares on a platform you host and control.

Why PHPTRAVELS

A connector you can read, change and host

  • Source code included

    Self-hosted under a commercial licence, so developers can extend the Amadeus module.

  • Documented setup

    Every step, field and error cause is written up on docs.phptravels.com.

  • 24 languages

    Show Amadeus fares in your markets' languages, including right-to-left.

  • B2C and B2B

    One installation for your public site and your agent portal.

FAQ

Amadeus connector questions

What teams ask while setting up the Amadeus module.

Talk to sales

It is a ready-made flights module. You create an app at Amadeus for Developers, enter its credentials in the admin, and Amadeus offers appear in your flight search with bookings created through Flight Create Orders.

The Amadeus module is available with the Enterprise plan, a one-time payment of listed on the pricing page. Your Amadeus account and its commercial terms are separate and agreed with Amadeus.

A grant type of client_credentials, a client ID and a client secret. Amadeus issues sandbox keys when you create an app and production keys after approving your production request.

The module uses travel.api.amadeus.com/v2/. Some regions have a different endpoint or parameters, so check your account first; other endpoints can be added as custom development work.

Both, depending on the APIs enabled in your Amadeus app. Flight Offers Search gives results, and Flight Create Orders must be enabled for bookings.

The documented connector is for flights. Amadeus is also listed as a stays supplier, but its setup guide is not published yet, so ask our team about hotel scope.