Create and regenerate API tokens

Note: This article mentions legacy components, an older method of adding integrations to your workspace. For the newest platform features, like message buttons and the Events API, visit Building Slack apps.

API tokens can be created for both members and bot users. For added security, it’s a good idea to rotate these tokens periodically.

Legacy test tokens

Note: It’s no longer possible to create new legacy test tokens. If you need new tokens to interact with the Slack API, create a Slack app instead.

Re-issue a token

Members can only regenerate tokens for themselves. Test tokens are just for you, so be sure to treat them as you would a password. Never share tokens with other users or applications.

  1. From your desktop, visit the auth.revoke page at to revoke your token.
  2. Then, visit the Legacy Tokens page at
  3. Scroll to find the workspace and user that you'd like to re-issue a token for.
  4. Click Re-issue token. (You may see Request token if your workspace has the Approved Apps feature enabled.)

Note: API tester tokens are quite powerful and it is a best practice to revoke them if they are not being used. Slack will automatically revoke old tokens if they remain unused for long periods of time.

Bot user tokens

Regenerate custom integration bot user tokens

  1. Visit the Legacy custom integrations page from your desktop at
  2. Click  Edit configuration next to the bot user you'd like to change.
  3. On the configuration page, click Regenerate below the current token. This is the new token you can use anywhere you need it.

Regenerate Hubot or Lita integration bot tokens

The person who set up the bot can regenerate the token using the instructions below:

  1. Visit the App Directory at on your desktop.
  2. Click  Edit configuration next to the integration.
  3. On the configuration page, click Regenerate below the current token. This is the new token you can use anywhere you need it.

Internal app tokens

Only the creator or collaborators can reinstall an app to their workspace. Here's how:

  1. Visit Your apps at
  2. Click on an app. 
  3. In the Install App section, click Reinstall App. Your new tokens will appear at the top of the page.

External app tokens

  1. Visit an app’s page in the Slack App Directory.
  2. Click Remove App at the bottom of the page.
  3. Complete the steps to reinstall the app.  

Note: If the Approved Apps feature is turned on, only a Workspace Owner or a member who can manage apps can reinstall an external app.

Who can use this feature?
  • All members, except guests (default)
  • Free, Standard, Plus, and Enterprise Grid plans