Read the signed in user
Any signed in user. Returns the caller’s id, email, name, role, and branch. The branch comes from the session, so it needs no lookup and cannot be pointed at another till.
GET
/api/v1/auth/meAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Responses
200
The caller
user_idstringrequiredemailstringrequiredfull_namestringrequiredrolestringrequiredbranch_idstringrequiredbranch_namestringrequired401
Not authenticated
detailstringrequired