Get User Avatar

Query Parameters

Example Call

With userId:

curl http://localhost:3000/api/v1/users.getAvatar?userId=BsNr28znDkG8aeo7W

With username:

curl http://localhost:3000/api/v1/users.getAvatar?username=bobsmith

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.