---
title: "Get unity user details"
method: GET
path: "/backend/{gatewayname}/v1/user/{unityuserid}"
---

# Get unity user details

`GET /backend/{gatewayname}/v1/user/{unityuserid}`

## Request

- Base URL: `https://api.unity.smallcase.com`
- URL: `https://api.unity.smallcase.com/backend/{gatewayname}/v1/user/{unityuserid}`
- Auth: none required

Use this API to fetch the existing Unity user. It will retrieve the journey status of every associated loan to help you stay updated with all the journey flows.

## Path parameters

- `gatewayname` string, required
- `unityuserid` string, required

## Headers

- `x-gateway-secret` string, required
- `x-gateway-authtoken` string, required

## Response `200`

200

- object
  - `data` object
    - `userId` string
    - `lender` string: Active lender for the user (kept for backwards compatibility; use the per-loan lender for routing).
    - `opaqueId` string: Optional | Your system identifier for the Unity user, as passed to Create unity user when the user was created. Empty string if none was set.
    - `flags` object
      - `isPanVerified` boolean: User has verified the PAN via a vendor OTP flow (RTAs / MFC).
      - `isPanLocked` boolean: User is in a binding contract (funds pledged / active loan) against this PAN.
    - `loans` object[]
      - `lid` string
      - `status` string: Internal book-keeping flag: ACTIVE, INACTIVE, CLOSED, ARCHIVED.
      - `productType` string: lamf for LAMF + LAS; pl for personal loan.
      - `assetType` string: MUTUALFUND (LAMF) or STOCKS (LAS).
      - `lender` string
      - `flowId` string
      - `createdAt` string
      - `purpose` string: LOAN_APPLICATION, LOAN_APPLICATION:TOP_UP, or RENEWAL.
      - `isDefault` boolean: true for the loan that currently owns the servicing dashboard for its asset class.
      - `loanStatus` string: Journey marker you render: PRE_SUBMITTED, SUBMITTED, DISBURSED, CLOSED.
    - `nudges` object: Server-computed cross-asset nudges. topup may contain "las" or "lamf".
      - `topup` string[]
  - `message` string
  - `code` integer

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/smallcase/apis/sib-lsp.md) - [All operations](https://skmtc.dev/smallcase/apis/sib-lsp/llms.txt) - [OpenAPI document](https://skmtc.dev/smallcase/apis/sib-lsp/revisions/e943c44c35f5?raw)
