User
Get the authenticated user
Changed onReturns the caller's own identity, read from the verified access-token claims. Profile fields (email, name, country) appear only when the token carries them.
get/v1/user
Request
- Base URLhttps://api.wego.com
- Auth
- OAuth 2Authorization codehttps://auth.wego.com/user-auth/v2/users/oauth/authorizeToken URLhttps://auth.wego.com/user-auth/v2/users/oauth/token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
The caller's identity claims.
Changes
- warning
added the new
rates_require_hotel_searchenum value to theresponse property for the response status - warning
added the new
rates_require_hotel_searchenum value to theresponse property for the response status
- warning