auth

Return the currently authenticated user

Reads the JWT from the Authorization header and returns the decoded user plus their organization memberships.

get/auth/me

Request

  • Base URL: https://api.onplana.com/api
  • URL: https://api.onplana.com/api/auth/me
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Response

Current user and org list

idstring uuid required
emailstring email required
namestring required
role'ADMIN' | 'MANAGER' | 'MEMBER' required

System-level role

Changes