Amadeus · Schema

AmadeusOAuth2Token

The token response

TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Properties

Name Type Description
type string The access token issued by the authorization server.
username string The user who requested the access_token
application_name string The application which is requested the access_token
client_id string The client_id is a public identifier for apps
token_type string token_type is a parameter in Access Token generate call to Authorization server, which essentially represents how an access_token will be generated and presented for resource access calls
access_token string Access tokens are a String which applications use to make API requests on behalf of a user.
expires_in integer The lifetime in seconds of the access token
state string The state
scope string Scope is a mechanism in OAuth 2.0 to limit an application's access to a user's account
View JSON Schema on GitHub

JSON Schema

authorization-amadeus-oauth2-token-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/authorization-amadeus-oauth2-token-schema.json",
  "title": "AmadeusOAuth2Token",
  "description": "The token response",
  "type": "object",
  "properties": {
    "type": {
      "description": "The access token issued by the authorization server.",
      "type": "string",
      "example": "string-value"
    },
    "username": {
      "description": "The user who requested the access_token",
      "type": "string",
      "example": "Sample Name"
    },
    "application_name": {
      "description": "The application which is requested the access_token",
      "type": "string",
      "example": "Sample Name"
    },
    "client_id": {
      "description": "The client_id is a public identifier for apps",
      "type": "string",
      "example": "12345"
    },
    "token_type": {
      "description": "token_type is a parameter in Access Token generate call to Authorization server, which essentially represents how an access_token will be generated and presented for resource access calls",
      "type": "string",
      "example": "string-value"
    },
    "access_token": {
      "description": "Access tokens are a String which applications use to make API requests on behalf of a user.",
      "type": "string",
      "example": "string-value"
    },
    "expires_in": {
      "description": "The lifetime in seconds of the access token",
      "type": "integer",
      "format": "int64",
      "example": 1
    },
    "state": {
      "description": "The state",
      "type": "string",
      "example": "string-value"
    },
    "scope": {
      "description": "Scope is a mechanism in OAuth 2.0 to limit an application's access to a user's account",
      "type": "string",
      "example": "string-value"
    }
  },
  "example": {
    "type": "amadeusOAuth2Token",
    "username": "myuser@mydomain.com",
    "application_name": "My Application",
    "client_id": "Hs0sNkpTXeu0t2Hw2rLITofK8QELGdfsf",
    "token_type": "Bearer",
    "access_token": "f8XgboI1oKyNw7w23bnnAbFANidfgC",
    "expires_in": 1799,
    "state": "approved",
    "scope": ""
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/authorization-amadeus-oauth2-token"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.