Admin

Admin Emoji Add

POST
/admin.emoji.add

Add an emoji.

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 removed. Colons (:myemoji:) around the value are not required, although they may be included.

url*string

The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best.

Response Body

application/json

application/json

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