Links

Get Username Suggestion

Gets a suggestion for a new username for the user.
HTTP Method
URL
Requires Auth
GET
/api/v1/users.getUsernameSuggestion
yes

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
http://localhost:3000/api/v1/users.getUsernameSuggestion

Example Response

{
"result": "rocket.cat",
"success": true
}

Change Log

Version
Description
0.65.0
Added
Last modified 2mo ago
Rocket.Chat versions receive support for six months after release.