Obtains the current user information.

Retrieves the current user's details and roles. This endpoint serves as the initial access point for login attempts using Basic Authentication. Upon successful authentication, the endpoint returns a JSESSIONID cookie and a wbat header. These must be retained and included in all subsequent requests to maintain session state and authorization. Important: Include both the wbat header and JSESSIONID cookie in all subsequent endpoint requests to ensure continued access and session management.

Cookie Params
Headers
string
required

The wbat header required for authorization in subsequent requests.

Response

Response body
object
string

The username of the current user

string

The time zone of the user

string

The locale setting of the user

string

The language preference of the user

boolean

Indicates if the user can see their own information

boolean

Indicates if the user can authorize actions for themselves

object | null

Employee details, if applicable

Has additional fields
roles
array of objects
roles
object
string

The role assigned to the user

object | null

Password alert details, if applicable

Has additional fields
boolean

Indicates if the user's password has expired

Language
Credentials
:
URL
Choose an example:
application/json