Emoji

Admin Emoji Add Alias

POST
/admin.emoji.addAlias

Add an emoji alias.

Authorization

slackAuth admin.teams:write
AuthorizationBearer <token>

In: header

Scope: admin.teams:write

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

token*string

Authentication token. Requires scope: admin.teams:write

name*string

The name of the emoji to be aliased. Colons (:myemoji:) around the value are not required, although they may be included.

alias_for*string

The alias of the emoji.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.emoji.addAlias" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'token=string&name=string&alias_for=string'
{  "ok": "True"}