Get current user
Get the authenticated user, including their available teams and theme.
OAuth scopes
- platform:read
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/v1/auth/me
curl https://access.scalar.com/v1/auth/me \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"uid": "UakgbKJ5m9gl0JDMbcJqL",
"createdAt": 1735689600,
"updatedAt": 1735689600,
"email": "alex@example.com",
"theme": "default",
"activeTeamId": "GakgbKJ5m9gl0JDMbcJqL",
"hasGithub": true,
"teams": [
{
"uid": "UakgbKJ5m9gl0JDMbcJqL",
"name": "Acme API",
"imageUri": "https://example.com/alex.png"
}
]
}