Amadeus · JSON Structure

Authorization Amadeus Oauth2 Token Structure

The token response

Type: object Properties: 9
TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Authorization Amadeus Oauth2 Token Structure is a JSON Structure definition published by Amadeus, describing 9 properties. It conforms to the https://json-structure.org/draft/v0/schema meta-schema.

Properties

type username application_name client_id token_type access_token expires_in state scope

Meta-schema: https://json-structure.org/draft/v0/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/v0/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/authorization-amadeus-oauth2-token-structure.json",
  "title": "AmadeusOAuth2Token",
  "description": "The token response",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The access token issued by the authorization server."
    },
    "username": {
      "type": "string",
      "description": "The user who requested the access_token"
    },
    "application_name": {
      "type": "string",
      "description": "The application which is requested the access_token"
    },
    "client_id": {
      "type": "string",
      "description": "The client_id is a public identifier for apps"
    },
    "token_type": {
      "type": "string",
      "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"
    },
    "access_token": {
      "type": "string",
      "description": "Access tokens are a String which applications use to make API requests on behalf of a user."
    },
    "expires_in": {
      "type": "integer",
      "format": "int64",
      "description": "The lifetime in seconds of the access token"
    },
    "state": {
      "type": "string",
      "description": "The state"
    },
    "scope": {
      "type": "string",
      "description": "Scope is a mechanism in OAuth 2.0 to limit an application's access to a user's account"
    }
  }
}