Slack App, token for Web API

前端 未结 1 482
我寻月下人不归
我寻月下人不归 2020-12-22 01:11

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 fi

相关标签:
1条回答
  • 2020-12-22 01:30

    There are two ways to get a token for the Slack API.

    1. You can install your app within the admin window for your app (under "Oauth & Permissions"). This will create a token that you then can access directly (e.g. copy & paste to your app). Note that this only works if you plan to use your app within you own workspace only.

    2. You can implement an installation process using OAuth 2.0. During installation to a workspace your app will receive the newly created token from the API, which you should store for later use. This works with any Slack workspace, not just your own.

    0 讨论(0)
提交回复
热议问题