POST
/admin.emoji.addAliasAdd an emoji alias
Adds an alias for an existing custom emoji. Provide the emoji name and the alias_for value to associate the alias with its target emoji.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Form data defining an emoji alias. token, name, and alias_for are required.
tokenstringrequired
Authentication token. Requires scope: `admin.teams:write`
namestringrequired
The name of the emoji to be aliased. Colons (`:myemoji:`) around the value are not required, although they may be included.
alias_forstringrequired
The alias of the emoji.
200Returns an object containing `ok: true` when the emoji alias is added.
okbooleanrequired
defaultReturns an object containing `ok: false` when the emoji alias cannot be added.
okbooleanrequired
Error handling
token, name, and alias_for are required. Use a token with the admin.teams:write scope, and identify the emoji being aliased with name.