Getting started
Every ITT service is a JSON API. You authenticate with two headers, send a POST with a JSON body, and read the status field of the response.
Get your keys
You need an
apikeyand asecretecode. Ask your account manager to issue them for your account. Keep both on your server; never ship them to a browser.Send your first request
Search flights with the two headers and a JSON body. Use the cURL, JavaScript, PHP or Python tab on the Flight search page.
Read the response
Every call returns HTTP 200. Check
status:successmeans the call worked,failedmeans readreasonfor what to fix. See Errors.Create a booking
Follow a service's booking workflow from search to ticket. Each workflow page links every step to its endpoint.
Next
- Authentication for the header details
- Environments for base URLs
- Conventions for the envelope and path rules