# Users

## Get user by Discord user id

<mark style="color:blue;">`GET`</mark> `https://yourwebsite.com/api/integrations/discord/users/<discord-user-id>`

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

```json
{
    "id": "1",
    "username": "demo",
    "realname": "demo",
    "email": "demo@gmail.com",
    "credit": "350.00",
    "avatar": "https://minotar.net/helm/LeaderOS/128.png",
    "isVerified": "1",
    "authStatus": "0",
    "creationIP": "1.1.1.1",
    "creationDate": "2022-09-15 09:54:08",
    "discordUserID": "477886791769391124",
    "roles": [
        {
            "id": "1",
            "name": "Admin",
            "slug": "admin",
            "discordRoleID": "127886791769391123",
            "expiryDate": "1000-01-01 00:00:00"
        },
        {
            "id": "2",
            "name": "VIP",
            "slug": "vip",
            "discordRoleID": "317886791769391123",
            "expiryDate": "2023-08-30 10:30:45"
        }
    ]
}
```

{% endtab %}

{% tab title="404: Not Found User not found" %}

```json
{
    "status": false,
    "error": "USER_NOT_FOUND",
    "message": "User not found!"
}
```

{% endtab %}
{% endtabs %}
