Get User Avatar
Query Parameters
Example Call
With userId
:
With username
:
Response
You will get the user avatar image or a redirect to the image URL.
Change Log
Last updated
Rocket.Chat versions receive support for six months after release.
HTTP Method | URL | Requires Auth |
---|---|---|
Key | Example Value | Description |
---|---|---|
Version | Description |
---|---|
GET
/api/v1/users.getAvatar
no
userId
*
or username
*
BsNr28znDkG8aeo7W
or bobsmith
The ID or username of the user.
0.50.0
Added