Skip to main content

flight-ndc-gateway-navitaire 21.3

Last updated: 17-Sep-2026
Recent changes: Merge branch 'feature/NSK-77814-ndc-api-key-registration-docs' into 'main' NSK-77814 Doc update Closes NSK-77814 See merge request api-program/apigee/flight/newskies-apis/flight-ndc-gateway-navitaire!35

Get Started

This guide walks you through the steps to make your first request to the NDC Gateway API.

Prerequisites

Before you begin, make sure you have:

  1. An API key. You must be a registered developer on the developer.tui portal; register for the API product flight-ndc-gateway-navitaire. Once approved, the API key is available under your App's Consumer Key.
  2. New Skies agent credentials. These are provided by your TUI business partner. For questions or resets, contact api.flightproduction@tui.com.
  3. IP whitelist (production only). Production access requires the caller's IP to be whitelisted. See the API Description for details.

For a complete overview of the enrollment process, see the API Description page.

API URLs

Environment Base URL Notes
Playground https://playground.api.tui/flight/ndc Non-production. No IP whitelist required.
Production https://prod.api.tui/flight/ndc IP whitelist required.

Both environments require an API key and JWT token authentication.

Step 1 — Authenticate

The NDC Gateway uses two layers of authentication:

  • API key (x-apikey header): identifies the application. Required on every request.
  • JWT token (Authorization header): authenticates the New Skies agent session. Obtained via the Auth endpoint.

To obtain a JWT token, send a POST request to the Auth endpoint with the New Skies credentials encoded as Basic authentication.

How to encode your credentials:

Combine the credentials in the format <domain>\<username>:<password> and Base64-encode the result.

For example, with domain EXT, agent MyAgent, and password MyPassword:

EXT\MyAgent:MyPassword   Base64-encoded to   RVhUXE15QWdlbnQ6TXlQYXNzd29yZA==

Authentication request:

curl --location 'https://playground.api.tui/flight/ndc/x3/ndc/api/Selling/r3.x/Auth' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-apikey: {YourApiKey}' \
--header 'Authorization: Basic {Base64EncodedCredentials}' \
--data '{
  "grant_type": "client_credentials"
}'

Response (simplified):

{
  "token": "eyJhbGciOiJSUzI1NiIs...",
  "expires": "2026-04-21T14:30:00Z",
  "roleCode": "NDCB",
  "organizationCode": "X3",
  "domainCode": "EXT"
}

Save the token value; it is required for all subsequent requests.

Step 2 — Make your first NDC request

With a valid token, any NDC endpoint can be called. A good starting point is AirShopping, which searches for available flights.

All requests after authentication must include these headers:

Header Value Description
x-apikey {YourApiKey} Your API key from the developer portal
Authorization Bearer {token} The JWT token from Step 1
Content-Type application/json Request body format

Example — Search for flights (AirShopping):

curl --location 'https://playground.api.tui/flight/ndc/x3/ndc/api/Shopping/r3.x/v21.3/AirShopping' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-apikey: {YourApiKey}' \
--header 'Authorization: Bearer {token}' \
--data '{
  ...your AirShopping request body...
}'

For the full request/response schema, see the Reference documentation.

Step 3 — Explore the NDC workflow

With authentication and flight search working, continue to the NDC Workflow page for the full booking flow, from searching flights to creating and modifying orders.

Summary

  1. Register on developer.tui to obtain an API key.
  2. Obtain New Skies agent credentials.
  3. Call POST /Auth with Basic authentication to obtain a JWT token.
  4. Include the token and API key on all subsequent requests.
  5. Start with AirShopping to search for flights.

Need help?

  • API key or portal issues: register at developer.tui. See the Getting started guide for the full registration and onboarding steps.
  • New Skies credentials: contact api.flightproduction@tui.com.
  • IP whitelist requests (production): contact api.flightproduction@tui.com.

For any other support requests, contact api.flightproduction@tui.com.

About us

TUI is one of the world’s leading tourism groups. The broad portfolio gathered under the Group umbrella consists of strong tour operators, 1,600 travel agencies and leading online portals, five airlines with around 150 aircraft, over 400 hotels, 16 cruise liners and many incoming agencies in all major holiday destinations around the globe.

 

TUI Group logo

Contact

Login to your account