Skip to content
Gancio
Search
⌘
Ctrl
K
Main Navigation
Instances
Changelog
Blog
Appearance
Menu
Return to top
Get current user
GET
/api/user
Get current authenticated user.
Authorizations
bearerAuth
Bearer token using a JWT
Type
HTTP (Bearer)
Responses
200
400
401
The authenticated user.
Content-Type
application/json
Schema
JSON
JSON
{
"id"
:
1
,
"email"
:
"example@gancio.org"
,
"role"
:
"user"
}
GET
/api/user
Playground
Authorization
bearerAuth
Try it out
Samples
Powered by
VitePress OpenAPI