问题
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.
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.
After installation you can look up the token in the admin window for your app (only for "internal integrations", under "Oauth & Permissions")
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