> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User Details

> This endpoint retrieves detailed information about a user

### Params

<ParamField path="userId" type="string" required>
  The unique user identifier
</ParamField>

### Response

<ResponseField name="success" type="boolean">
  Indicates whether the call was successful
</ResponseField>

<ResponseField name="userId" type="string">
  The unique user identifier
</ResponseField>

<ResponseField name="firstName" type="string">
  User's first name
</ResponseField>

<ResponseField name="lastName" type="string">
  User's last name
</ResponseField>

<ResponseField name="email" type="string">
  User's email address
</ResponseField>

<ResponseField name="status" type="string">
  User account status: `pending`, `active`, `suspended`, or `closed`
</ResponseField>

<ResponseField name="phoneNumber" type="string">
  User's phone number with country code
</ResponseField>

<ResponseField name="walletAddress" type="string">
  Associated blockchain wallet address
</ResponseField>

<ResponseField name="createdAt" type="string">
  ISO 8601 timestamp when the user account was created
</ResponseField>

<ResponseField name="updatedAt" type="string">
  ISO 8601 timestamp when the user account was last updated
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request GET 'https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/users/3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>'
  ```

  ```js Javascript theme={null}
  const response = await fetch('https://stablecoin-api.sandbox.getmeru.com/api/v1/cards-program/users/3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
      'api-key': '<api-key>'
    }
  });

  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "userId": "3ddd0e5b-6276-4b48-b756-c1fcc9a2efd1",
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.com",
    "status": "active",
    "phoneNumber": "+15551234567",
    "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
    "createdAt": "2024-01-15T10:00:00Z",
    "updatedAt": "2024-01-15T10:30:00Z"
  }
  ```
</ResponseExample>

### Error Responses

<ResponseExample>
  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized. Please check your authentication credentials."
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "User not found."
  }
  ```
</ResponseExample>
