slack-api-docs icon indicating copy to clipboard operation
slack-api-docs copied to clipboard

Document emoji add endpoint

Open G-Rath opened this issue 6 years ago • 5 comments

According to the comments of #28, /api/emoji.add is an endpoint that can be used for adding emojis.

However, this endpoint isn't documented anywhere!

G-Rath avatar Jan 24 '19 20:01 G-Rath

This is an internal endpoint that only works with Slack internal tokens (xoxs...), but not with any normal token (user, bot. legacy). You can fetch internal tokens from the browser, but that's a hack and not recommended. So since it can not really be used by any Slack app there is not much point in documenting it, unless Slack opened this endpoint up for normal tokens.

ErikKalkoken avatar Sep 08 '19 11:09 ErikKalkoken

Agreed. No sense in this (at least for me) until an approach with different auth is added, as suggested in #95

jonmcoe avatar Sep 08 '19 22:09 jonmcoe

It would be nice to be able to bulk load emojis, That's how I plan on using it.

davidbitton avatar Dec 24 '19 17:12 davidbitton

@davidbitton something like the project below can help you for isolated bulk uploads.

https://github.com/smashwilson/slack-emojinator/blob/master/upload.py

It works well. The downside is you have to take short lived personal authentication (xoxs) from you browser session. So you couldn't really make a chatbot, a web app that does image resizing for joy x etc

jonmcoe avatar Jun 25 '20 07:06 jonmcoe

@jonmcoe i'll check it out. thanks

davidbitton avatar Jun 25 '20 17:06 davidbitton