Get User Object

Get user Object

GET https://api.discord.wf/v1/users/:id

This endpoint gives the public info of a user from Discord. A token is not required but it's recommended (not providing a token will uses the "public" tokens, so it can be ratelimited.) A user get cached for 12 hours, and get refreshed for the next request.

Path Parameters

Name
Type
Description

id

integer

ID of the requested user.

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?