Skip to main content

Slack: Generate API Token

Steps to generate the API Access Token

  1. Go to the Slack website. Sign in to your account.

alt text

  1. Click the Your Apps link in the top right corner of the page, and then click Create an App. The Create an app dialog appears.

alt text

  1. In the Create an app dialog, click From scratch. The Name app & choose workspace dialog appears.

alt text

  1. In the Name app & choose workspace dialog, enter the following field details: a. App Name: Enter the name of the app you want to create. b. Pick a workspace to develop your app in: Select the workspace in which you want to create your app.

alt text

  1. Click Create app. The Basic Information page appears.

alt text

  1. Navigate to Features  OAuth & Permissions.

alt text

  1. In the Scopes page, click Add an OAuth scope and select the required scope(s) for both Bot and User tokens.

alt text

  1. Scroll up to the OAuth Tokens for Your Workspace section, and then click Install to Workspace.

alt text

  1. Review the scopes your app is requesting and click Allow.

alt text

  1. Once authorized, you will see a new OAuth Access Token under the OAuth Tokens for Your Workspace section. This is your User OAuth token.

alt text

  1. Copy the token and store it securely in your app.