> For the complete documentation index, see [llms.txt](https://rezi-1.gitbook.io/rms-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rezi-1.gitbook.io/rms-guide/rezi-api/user/get-user-userid.md).

# GET /user/:userID

Return user information

This endpoint will return the [user object](/rms-guide/rezi-api/user/user-object.md) for the specific **userID** you specified.

## Get user infos

<mark style="color:blue;">`GET`</mark> `https://open-api.rezi.ai/v1/user/:userID`

#### Path Parameters

| Name                                     | Type   | Description |
| ---------------------------------------- | ------ | ----------- |
| userID<mark style="color:red;">\*</mark> | String | User ID     |

#### Headers

| Name                                             | Type   | Description                                                                                                                                                |
| ------------------------------------------------ | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Authentication<mark style="color:red;">\*</mark> | String | <p>"Bearer PRIVATE\_TOKEN\_API\_KEY" <br>Authentication token to secure and track down your usage. Use this specific format with your Private API key.</p> |

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

```javascript
{
   "status": "success",
   "data": {
        "userID": "123456789abc",
        "email": "charlebloomberg@gmail.com",
        "createdAt": "1655271138076",
        "lastSeen": "1655271138076"
   } 
}
```

{% endtab %}

{% tab title="500: Internal Server Error " %}

```javascript
{
    // Response
}
```

{% endtab %}

{% tab title="401: Unauthorized Token is not authorized" %}

```javascript
{
    "code": 401,
    "message": "Jwt verification fails"
}
```

{% endtab %}

{% tab title="204: No Content no user found" %}

<pre class="language-javascript"><code class="lang-javascript">{
    "status": "No content",
<strong>    "message": "user not found"
</strong>}
</code></pre>

{% endtab %}
{% endtabs %}
