Get User Object

Get User Object

GET https://api.discord.lu/v1/user/:id

This endpoint gives the info of a user from Discord. A token is not required but it's recommended (not providing a token will use the "public" tokens, so it can be ratelimited.)

Path Parameters

Name
Type
Description

id

string

ID of the cake to get, for free of course.

Query Parameters

Name
Type
Description

token

string

Uses your own discord bot token if the user is not cached.

{
    "id":"181482416748232705",
    "username":"Zapto",
    "avatar":"a_1fe4a3209e9bdd3e2c452a2d79200999",
    "discriminator":"0001",
    "public_flags":131712
}

Last updated

Was this helpful?