Slack App, token for Web API

混江龙づ霸主 提交于 2020-05-09 09:28:08

问题


For our Slack workspace I am building an app that will use the Web API to send and update messages.

However, while the app is installed in our workspace I cannot find the token needed to authenticate my Web API requests.

How can I authenticate an App to the Web API ?

Thanks


回答1:


There are three ways to get a token.

  1. During the installation process to a workspace your app will receive the newly created token from the API, which you should store for later use.

  2. After installation you can look up the token in the admin window for your app (only for "internal integrations", under "Oauth & Permissions")

  3. You can create a legacy token for your workspace. (Those are not linked to the app, but to the user though. Also they should only be used for testing)



来源:https://stackoverflow.com/questions/50617387/slack-app-token-for-web-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!