Create and regenerate API tokens

Note: This article is about legacy custom integrations, 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 update these tokens periodically.

Create a new token

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

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


Re-issue a token

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

Note: You can only create and regenerate tokens for yourself. You're unable to create tokens for other members. 


Regenerate the token of a bot user

Custom bot users

  1. Visit the Legacy custom integrations page at my.slack.com/apps/manage/custom-integrations.
  2. Next to the bot user you'd like to change, 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 workspaces on free and paid plans.

Related Articles

Recently Viewed Articles