a35ceeb59faf

latestOpenAPI 3.1.0AGPL-3.0raw.githubusercontent.com2026-08-1267112242.2 KB
Auth

Current user

Return current authenticated user and merchant context.

get/auth/me

Response

Current user

user_idstring
emailstring
merchant_idstring
rolestring
email_verifiedboolean
is_super_adminboolean

This user's email is on the platform super-admin roster (may enter any merchant by ID).

is_super_admin_viewboolean

The current session is a super-admin viewing another merchant's dashboard.

Example response

{
  "user_id": "user_123",
  "email": "operator@example.com",
  "merchant_id": "merchant_demo",
  "role": "admin",
  "email_verified": true
}