# Retrieve an account (other)

Endpoint: GET /v1/accountsOther/{id}
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 (other) record

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `id` (string)
    Unique identifier for the account
    Example: 1009e8cb-497b-49ae-ac87-e083e42078d2

  - `employeeId` (string)
    Identifier of primary employee that this account belongs to
    Example: 72d0347a-2663-4ef5-b1c5-df39163f1603

  - `otherAppId` (string)
    The ID of the app associated with this account
    Example: 2a2197de-ad2c-47e4-8dcb-fb0f04cf83e0

  - `email` (string)
    The email address used to log into the account
    Example: john.hill@example.com

  - `loginMethods` (object)

  - `loginMethods.passwordLogin` (boolean, required)
    Whether or not this account has been logged into with a password
    Example: true

  - `loginMethods.oidcLogin` (string, required)
    The identity provider that was used to do an OIDC login on this account. This is `null` if no OIDC login has been performed.
    Example: GOOGLE_WORKSPACE

  - `loginMethods.samlLogin` (string, required)
    The identity provider that was used to do a SAML login on this account. This is `null` if no SAML login has been performed.
    Example: OKTA

  - `loginMethods.fedCmLogin` (string, required)
    The identity provider that was used to do a FedCM login on this account. This is `null` if no FedCM login has been performed.
    Example: GOOGLE_WORKSPACE

  - `creationTimestamp` (integer)
    When the account was first observed, formatted as a UNIX timestamp (in seconds)
    Example: 1698064423

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

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 404:

  - `404` (unknown)
    Account (Other) Not Found

