LeaderOS API
  • 👋Getting Started
    • Introduction
    • Authentication
  • 🔐Auth
    • Login
    • Register
    • Sessions
  • 🧑‍🦱Users
    • Profiles
    • Roles
    • Tickets
    • Orders
  • 🛍️Store
    • Listing
    • Products
    • Categories
    • Buy
    • Donations
  • 🍏Bazaar
    • Player Storages
    • Servers
  • 🚨Support
    • Tickets
    • Messages
    • Categories
    • Quick Answers
  • 🪙Credits
    • Show Credits
    • Add Credits
    • Remove Credits
    • Send Credits
    • Set Credits
  • 👍Vote
    • Vote Links
  • 🎮Discord
    • Users
    • Settings
    • Roles
Powered by GitBook
On this page
  1. Discord

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",
    "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"
        }
    ]
}
{
    "status": false,
    "error": "USER_NOT_FOUND",
    "message": "User not found!"
}
PreviousDiscordNextSettings

Last updated 4 months ago

🎮