Pinter
ENID
Authentication
View as Markdown

Get Current Authenticated User Profile

GET/api/identity/me

Overview

Retrieves full user identity profile, active role level (1=Superadmin, 2=Manager/L2, 3=User/L3), assigned role groups, and active context.

Authentication & Headers

  • Auth: Bearer Token (Authorization: Bearer <token>)
  • Required Header: API-Version: 1

Responses

200 Current user profile information

400 Bad Request - The request parameters or headers are invalid (e.g. unsupported API-Version).

401 Unauthorized - Missing, invalid, or expired JWT Bearer token.

403 Forbidden - Insufficient role permissions or resource access denied by RBAC policy.

404 Not Found - The requested resource ID was not found.

422 Unprocessable Entity - Schema validation failed for request payload or parameters.

Example

curl -X GET "$PINTER_URL/api/identity/me" \
  -H "Authorization: Bearer $ACCESS_TOKEN"