Skip to content

Get current user

GET
/api/user

Get current authenticated user.

Authorizations

bearerAuth

Bearer token using a JWT

Type
HTTP (Bearer)

Responses

The authenticated user.

application/json
JSON
{
  
"id": 1,
  
"email": "example@gancio.org",
  
"role": "user"
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI