TokenRequest
client_id stringrequired
A public identifier from Wego for your app.
client_secret stringrequired
A secret identifier from Wego for your app.
grant_type stringrequired
Supported: client_credentials
.
Possible values: [client_credentials
]
scope stringrequired
A space-delimited list of the scopes that your app is requesting access to.
Enum Value | Description |
---|---|
hotel.content | Grant retrieve hotel content |
hotel.search | Grant search hotel rates |
hotel.booking | Grant book hotel rates |
flight.search | Grant search flight prices |
Possible values: [hotel.content
, hotel.search
, hotel.booking
, flight.search
]
TokenRequest
{
"client_id": "abc123",
"client_secret": "secret",
"grant_type": "client_credentials",
"scope": "hotel.search"
}