Users

Get user by Discord user id

GET https://yourwebsite.com/api/integrations/discord/users/<discord-user-id>

{
    "id": "1",
    "username": "demo",
    "realname": "demo",
    "email": "demo@gmail.com",
    "credit": "350.00",
    "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"
        }
    ]
}

Last updated