Sabre · Example Payload

Sabre Get Auth Token Example

TravelGDSAirlinesHotelsCar RentalBooking

Sabre Get Auth Token Example is an example object payload from Sabre, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.sabre.com/v2/auth/token",
    "headers": {
      "Content-Type": "application/x-www-form-urlencoded",
      "Authorization": "Basic {base64(client_id:client_secret)}"
    },
    "body": "grant_type=client_credentials&client_id={client_id}&client_secret={client_secret}"
  },
  "response": {
    "status": 200,
    "body": {
      "access_token": "T1RLAQLKkVBb5N9xFQNg...",
      "token_type": "Bearer",
      "expires_in": 604800
    }
  }
}