# List all employees who are using an account

Endpoint: GET /v1/accounts/{id}/usedBy
Version: v1
Security: x-api-key

## Security:

  - `x-api-key` (unknown)
    apiKey in header x-api-key

## Path parameters:

  - `id` (string, required)
    Unique identifier for the account

## Query parameters:

  - `limit` (integer)
    Used for pagination. Number of objects to return.

  - `offset` (integer)
    Used for pagination. Number of objects to skip. Cannot be set when `nextToken` is also set.

  - `nextToken` (string)
    Used for pagination. Token to be used for the next request. Cannot be set when `offset` is also set.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `result` (array)

  - `result.employeeId` (string)
    Identifier of the employee has access to this account
    Example: bf4cf562-7830-41ac-80e3-d261da1c9bb9

  - `result.lastUsedTimestamp` (integer)
    When the account was last used by an employee, formatted as a UNIX timestamp (in seconds)
    Example: 1698669223

  - `result.passwordManuallyTyped` (boolean)
    Whether the password was manually typed (or a password manager was used) on the last login. This value is `null` if password authentication is not used
    Example: true

  - `paging` (object)

  - `paging.moreResults` (boolean)
    Whether there are more results available
    Example: true

  - `paging.next` (string)
    Start of the next page that can be used as the `offset` for the next request
    Example: 501

  - `paging.nextToken` (string)
    Start of the next page that can be used as the `nextToken` for the next request.
    Example: 0b9972aa-fe8d-4095-82d3-2e13cf3cfd43

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 422:

  - `422` (unknown)
    The requested page of results is larger than the 1MB response size limit. Lower the `limit` parameter.

