Get current user
GET
/v1/auth/meFeatures
Get the authenticated user, including their available teams and theme.
Input0
Your API key, sent as
Authorization: Bearer YOUR_SCALAR_ACCESS_TOKEN.Sent from your browser straight to the API — never to Docsbook, never stored.Output8
Responses
200Default Response
400Bad request
401No auth
403Forbidden
404Not found
422Invalid payload
500Uncaught error
Example input
curl 'https://access.scalar.com/v1/auth/me' \
-H 'Authorization: Bearer YOUR_SCALAR_ACCESS_TOKEN'Example output
{
"uid": "<uid>",
"createdAt": 0,
"updatedAt": 0,
"email": "<email>",
"theme": "<theme>",
"activeTeamId": "<activeTeamId>",
"hasGithub": true,
"teams": []
}