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

# Avatar

avatars are cool yk

This page is about the "avatar" functions that the proxy provides. The page below introduces you to "promises" which is what is used to handle success and errors with the API.

{% content-ref url="/pages/zxDgxLEmSnCZtoYGdyKR" %}
[Introduction to Promises](/rbxproxy/introduction/introduction-to-promises.md)
{% endcontent-ref %}

### getOutfits

{% hint style="success" %}
This method does not require authorization!
{% endhint %}

This function finds the outfits of the specified user and can be loaded using [this function Roblox provides.](https://developer.roblox.com/en-us/api-reference/function/Players/GetHumanoidDescriptionFromOutfitId)

**Sample code**: (provides the outfits from the Roblox profile)

```lua
client.avatar:getOutfits(1):andThen(function(response)
    print(response)
end):catch(warn)
```

#### Arguments:

| Type    | Name   |
| ------- | ------ |
| integer | userId |

#### Returns: *(this is an example of a successful return from the code above)*

```lua
{
    {
        ["id"] = 19461896,
        ["isEditable"] = true,
        ["name"] = "Roblox"
    }
}
```

### getAvatarInfo

{% hint style="success" %}
This method does not require authorization!
{% endhint %}

This method returns current avatar information on the specified user (it also includes emotes, animations, and asset information)

**Sample code**: (provides the avatar from the Roblox profile)

```lua
client.avatar:getAvatarInfo(1):andThen(function(response)
    print(response)
end):catch(warn)
```

#### Arguments:

| Type    | Name   |
| ------- | ------ |
| integer | userId |

**Returns**: {}
