---
title: "Get login as data"
method: GET
path: "/api/v1/users/loginAsData"
tags: ["Users"]
---

# Get login as data

`GET /api/v1/users/loginAsData`

Returns a paginated list of users that can be impersonated (excludes anonymous and default users)

## Query parameters

- `filter` string
- `page` integer
- `per_page` integer

## Response `200`

User list retrieved successfully

- ResponseEntityListUserView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` User[]
    - `modificationDate` string, date-time
    - `actualCompanyId` string
    - `passwordExpired` boolean
    - `recipientAddress` string
    - `recipientInternetAddress` string
    - `multipleRecipients` boolean
    - `female` boolean
    - `recipientId` string
    - `timeZoneId` string
    - `anonymousUser` boolean
    - `companyId` string
    - `resolution` string
    - `refreshRate` string
    - `defaultUser` boolean
    - `recipientName` string
    - `userRole` Role
      - `id` string
      - `name` string
      - `description` string
      - `roleKey` string
      - `parent` string
      - `editPermissions` boolean
      - `editUsers` boolean
      - `editLayouts` boolean
      - `locked` boolean
      - `system` boolean
      - `roleChildren` string[]
      - `fqn` string
      - `dbfqn` string
      - `user` boolean
    - `languageId` string
    - `fullName` string
    - `locale` object
      - `script` string
      - `variant` string
      - `unicodeLocaleAttributes` string[]
      - `unicodeLocaleKeys` string[]
      - `displayLanguage` string
      - `displayScript` string
      - `displayCountry` string
      - `displayVariant` string
      - `displayName` string
      - `country` string
      - `extensionKeys` string[]
      - `iso3Language` string
      - `iso3Country` string
      - `language` string
    - `timeZone` object
      - `dstsavings` integer
      - `rawOffset` integer
      - `id` string
      - `displayName` string
    - `passwordExpirationDate` string, date-time
    - `failedLoginAttempts` integer
    - `agreedToTermsOfUse` boolean
    - `deleteInProgress` boolean
    - `passwordEncrypted` boolean
    - `favoriteActivity` string
    - `favoriteBibleVerse` string
    - `lastLoginIP` string
    - `deleteDate` string, date-time
    - `passwordReset` boolean
    - `smsId` string
    - `aimId` string
    - `icqId` string
    - `msnId` string
    - `ymId` string
    - `favoriteFood` string
    - `favoriteMovie` string
    - `favoriteMusic` string
    - `dottedSkins` boolean
    - `roundedSkins` boolean
    - `greeting` string
    - `loginDate` string, date-time
    - `loginIP` string
    - `layoutIds` string
    - `comments` string
    - `additionalInfo` object
    - `middleName` string
    - `nickName` string
    - `birthday` string, date-time
    - `firstName` string
    - `lastName` string
    - `male` boolean
    - `createDate` string, date-time
    - `userId` string
    - `skinId` string
    - `lastLoginDate` string, date-time
    - `emailAddress` string
    - `active` boolean
    - `password` string
    - `modified` boolean
    - `new` boolean
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `401` — Unauthorized - authentication required
- `403` — Forbidden - insufficient permissions
- `500` — Internal server error

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
