Create and regenerate API tokens

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

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

Create a new token

  1. In a web browser on your desktop, visit the Legacy Tokens page at api.slack.com/custom-integrations/legacy-tokens.
  2. Scroll to find the Team and User that you'd like to create a token for.
  3. Click Create token.

Test tokens are just for you. Treat them as you would a password. Never share test tokens with other users or applications.


Re-issue a token

  1. In a web browser on your desktop, visit the Legacy Tokens page at api.slack.com/custom-integrations/legacy-tokens.
  2. Scroll to find the Team and User that you'd like to re-issue a token for.
  3. Click Re-issue token. (You may see Request token if your team has the Admin-Approved Apps feature turned on.)

Note: You may only create and regenerate tokens for yourself. You can't create tokens for other users. 


Regenerate the token of a bot user

Custom bot users

  1. Visit Legacy custom integrations page at my.slack.com/apps/manage/custom-integrations.
  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.


Hubot or Lita integrations

  1. Visit the App Directory at my.slack.com/apps/manage.
  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.

Note: Only the person who set up the bot can regenerate the token.

Who can use this feature?
  • By default, all members except for Guests can use this feature.
  • Available to teams on free and paid plans.

Related Articles

Recently Viewed Articles