---
title: "Fetch all users"
method: GET
path: "/restapi/json/v1/user"
tags: ["Users"]
---

# Fetch all users

`GET /restapi/json/v1/user`

## Request

- Base URL: `https://Hostname:Port`
- URL: `https://Hostname:Port/restapi/json/v1/user`
- Auth: API key in header `AUTHTOKEN`
- TypeScript: <https://skmtc.dev/manageengine/apis/pam360-rest-api/docs/restapi/json/v1/user/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetches all users in PAM360 with optional filtering, search, and pagination support.

## Headers

- `orgName` string

## Response `200`

List of users

- GetUsersResponse
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `Details` UserDetails[]
      - `hostName` string: Host name of the user machine.
      - `role` string: Role assigned to the user (e.g., Administrator, Privileged Administrator).
      - `orgName` string: Name of the organization the user belongs to.
      - `isApiUser` boolean: Indicates if the user is an API user.
      - `isSuperAdmin` boolean: Indicates if the user has super admin privileges.
      - `userName` string: Username of the user.
      - `isTfaEnabled` boolean: Whether two-factor authentication (TFA) is enabled for the user.
      - `userId` integer: Unique ID assigned to the user.
      - `isWebAccessEnabled` boolean: Whether the user has access to the web interface.
      - `isAddonAccessEnabled` boolean: Whether addon access is enabled for the user.
      - `authtokenAccessValidity` string: Expiry date and time of the user's authentication token.
      - `authtokenAccessValidityInDays` integer: Validity of the authentication token in days.
      - `isUserLocked` boolean: Whether the user account is currently locked.
      - `dateCreated` string, date-time: Timestamp when the user was created.
      - `trustScore` string: Trust score of the user, if applicable.
      - `isHostNameValidationEnabled` boolean: Indicates whether hostname validation is enabled for the user.
      - `location` string: Location of the user.
      - `department` string: Department the user belongs to.
      - `isMobileAccessEnabled` boolean: Indicates if the user can access PAM360 from mobile devices.
      - `email` string: Email address associated with the user.
    - `numberOfRowsFetched` integer: Number of user records fetched in the response.
    - `totalRows` integer: Total number of users available.
    - `name` string: Operation identifier.

---

[API](https://skmtc.dev/manageengine/apis/pam360-rest-api.md) - [All operations](https://skmtc.dev/manageengine/apis/pam360-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/manageengine/apis/pam360-rest-api/revisions/44a47abb4bdb?raw)
