GET /v1/user
Returns the caller’s own identity, read from the verified access-token claims. Profile fields (email, name, country) appear only when the token carries them.
Operation ID: getCurrentUser
Responses
| Status | Description |
|---|---|
200 |
The caller’s identity claims. |
401 |
Missing or invalid bearer token. |
429 |
Rate limit exceeded; retry after the Retry-After seconds. |
Example
curl -s -H "Authorization: Bearer $TOKEN" \
"https://api.wego.com/v1/user"