Skip to main content
GET
Get current user info

Overview

Get information about the currently authenticated user, including their tenants and roles.

Authorization

  • User must be authenticated with a valid Bearer token

Response Details

Returns:
  • User profile information
  • List of tenants the user belongs to
  • Role in each tenant
  • Activity status

Use Cases

  • Verify authentication status
  • Get user’s tenant list for tenant selection
  • Check user’s role before performing actions
  • Display user profile information

Example Usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

User information with tenants

user
object
tenants
object[]