Get User Avatar
Get User Avatar
GET
https://api.discord.lu/v1/user/:id/avatar
This endpoint returns the avatar of the requested user id returns the avatar of a user with avatar or returns the default avatar for this user also accepts .gif and .png at the end of the path (before the Query Parameters)
Path Parameters
Name
Type
Description
id
string
ID of the cake to get, for free of course.
Query Parameters
Name
Type
Description
size
integer
change the size of the image, same as discord (does not works if the user have the default avatar), default: 256
animated
boolean
returns the avatar as gif if available (ending with .gif also works), default: false
Last updated
Was this helpful?