Skip to main content

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 ValueDescription
hotel.contentGrant retrieve hotel content
hotel.searchGrant search hotel rates
hotel.bookingGrant book hotel rates
flight.searchGrant 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"
}