Get User Avatar
Get user Avatar
GET
https://api.discord.wf/v1/users/:id/avatar
This endpoint is designed for web pages and uses client-side redirection. This endpoint returns the avatar of the requested user id returns the avatar of a user if the user have one 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 | integer | ID of the requested user. |
Query Parameters
Name | Type | Description |
---|---|---|
animated | boolean | Returns the avatar as gif if available (ending with .gif also works), default: false |
size | integer | Changes the size of the image, same as discord (does not works if the user have the default avatar), default: 128 |
Last updated