Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (31 sloc) 1 KB

Emoji Custom create

Create new custom emoji.

URL Requires Auth HTTP Method
/api/v1/emoji-custom.create yes POST

Uploading a File

Arguments

Argument Example Required Description
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

Version Description
0.74.0 Added
You can’t perform that action at this time.