> For the complete documentation index, see [llms.txt](https://w3auth.devzstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://w3auth.devzstudio.com/connect-api/user-details.md).

# User details

If you want to obtain the user's details and are using an external backend. To obtain user information, such as their basic profile, wallet address, and custom profile data, perform the following API request.

<mark style="color:blue;">`GET`</mark> `/api/console/connect/get_user_details`

#### Query Parameters

| Name                                       | Type   | Description                                                                                       |
| ------------------------------------------ | ------ | ------------------------------------------------------------------------------------------------- |
| api\_key<mark style="color:red;">\*</mark> | String | Your API Key                                                                                      |
| user\_id                                   | String | w3auth user id. You can get it from the JWT token.                                                |
| wallet\_address                            | String | Users wallet address. You need to pass user\_*id or the wallet address to perform the operatiion* |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
   "data":{   
    "id": "0b812090-5fe7-4867-9176-9bb2c963b510",
    "name": "John Doe",
    "nonce": null,
    "created_at": "2022-07-20T06:18:39.000Z",
    "email": "john@example.com",
    "kyc_verified": false,
    "discord_username": null,
    "telegram_username": null,
    "twitter_username": null,
    "is_blocked": false,
    "last_login": null,
    "kyc_processed_id": null,
    "note": "Sample note",
    "user_address": [
      {
        "user_address_id": "5911128c-44e3-4315-9ffe-42da1c6f66a1",
        "user_id": "0b812090-5fe7-4867-9176-9bb2c963b510",
        "wallet_address": "0x000000000000000000000000000000000000dEaD",
        "chain": "eth"
      }
    ],
    "profile": [
      
    ]
   
   }
}
```

{% endtab %}

{% tab title="400: Bad Request " %}

```javascript
{
    "error": "Invalid API Key"
}
```

{% endtab %}
{% endtabs %}
