> For the complete documentation index, see [llms.txt](https://zaptoinc.gitbook.io/discord-archive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zaptoinc.gitbook.io/discord-archive/api-v1/users/get-avatar.md).

# Get User Avatar

## Get user Avatar

<mark style="color:blue;">`GET`</mark> `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 | <p>Changes the size of the image, same as discord (does not works if the user have the default avatar), <br>default: 128</p> |

{% tabs %}
{% tab title="200 " %}
{% code title="" %}

```
```

{% endcode %}
{% endtab %}
{% endtabs %}
