# Avatars

## Archive and retrieve user avatar

<mark style="color:blue;">`GET`</mark> `https://img.discord.wf/avatars/:user_id/:user_avatar.png`

**This endpoint is designed for web pages and uses client-side redirection.**\
\
This endpoint returns the archived avatar of a user.\
\
This can be used then user infos are not refreshed in real time and you need to display a user's avatar.\
Then replacing Discord's cdn by our service, we do a backup of the avatars to avoid dead avatar links and will always be available \
(except if the user asks deletion on our Discord server: <https://discord.gg/wqzwseg>)

#### Path Parameters

| Name         | Type    | Description                                     |
| ------------ | ------- | ----------------------------------------------- |
| user\_avatar | string  | Avatar ID of the user you want the avatar from. |
| user\_id     | integer | ID of the user you want the avatar from.        |

#### Query Parameters

| Name | Type    | Description                                            |
| ---- | ------- | ------------------------------------------------------ |
| size | integer | Image size can be any power of two between 16 and 4096 |

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

```
```

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zaptoinc.gitbook.io/discord-archive/archive/about/avatars.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
