> 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-v2-objects/user-avatar.md).

# User Avatar Object

#### id :

the user's id.

#### avatar :

the user's avatar hash. (can be null if none)

#### username :

the user's username.

#### discriminator :

the user's 4-digit discord-tag.

#### avatarurl :

the user's direct avatar url.\
if the user doesn't have an avatar, it gives the default avatar with the correct color.\
if the avatar is archived, it gives the avatar archive url, otherwise it gives the discord avatar url.
