Create new custom emoji

Create new custom emoji.

URLRequires AuthHTTP Method

/api/v1/emoji-custom.create

yes

POST

Uploading a File

Arguments

ArgumentExampleRequiredDescription

emoji

Any image file

Required

The image file to use as the new custom emoji, as form data.

name

my-custom-emoji

Required

The name of the new custom emoji.

aliases

emoji-alias

Required

The alias of the new custom emoji.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -F "emoji=@my-custom-emoji.png" \
     -F "name=my-custom-emoji" \
     -F "aliases=emoji-alias" \
     http://localhost:3000/api/v1/emoji-custom.create

Example Result

{
    "success": true
}

Change Log

VersionDescription

0.74.0

Added

Last updated

Rocket.Chat versions receive support for six months after release.