Slack Dynamic OAuth2 Account

In this article


You can use this account type to connect Slack Snaps with data sources that use Dynamic OAuth2 accounts using either a Bot User Token (Bot Token) or a User Token.


Valid Slack app that provides the following details:

See Start building Slack apps for details about creating an app. Once you install the app in your workspace, you can find these tokens in the<appid>/oauth? page, where <appid> is your application ID, which is populated in the browser's address bar after installing your app.


  • Bot Tokens do not work with the Search, Channel Operations, and Workspace Operations Snaps.
  • User Tokens can perform all actions on individual workspaces, but the Enterprise Grid-based operations require User Tokens of a Slack Enterprise Admin or Owner.

Known Issues


Account Settings

You can create a Slack Dynamic OAuth2 account for a Bot User or a generic user.

ParameterData TypeDescriptionDefault ValueExample 

Required. Specify a unique label for the account.

Access TokenString/Expression

Required. Copy the value in Bot User OAuth Access Token or OAuth Access Token from the OAuth & Permissions section<App_ID>/oauth? and paste it into this field. <App_ID> corresponds to the Slack App you created for your Slack workspace.

Updating Scopes for your app

When you update the list of Scopes for your Slack app in the OAuth Tokens & Redirect URLs section of the app, you must click Re-install app to ensure that the latest set of scopes take effect.

Access Tokens

By default, Slack tokens do not expire. If you have an Enterprise Admin account, you can set an expiry duration for your app's user token.

See Revoke All OAuth Tokens to learn more about revoking all your OAuth tokens, if required.

Header authenticatedCheck boxSelect this check box to specify that Slack uses the bearer header authentication.Not SelectedSelected

Configuring Redirect URLs for your app

While creating the Slack app, you must configure a Redirect (callback) URL for Slack to verify and authorize the communication between the app and your SnapLogic environment.

  1. Open<app_ID>/oauth? in your browser, where <app_ID> is the 11-character alphanumeric identifier (starting with 'A') for your Slack app.
    For example, You must log in to the site if you do not have a valid session running beforehand.

  2. In the left navigation, navigate to Features > OAuth & Permissions, and then scroll down to the Redirect URLs section.

  3. Click Add New Redirect URL.

  4. Enter the redirect URL in the following format: https://<SnapLogic_pod_name>/api/1/rest/admin/oauth2callback/slack, where <SnapLogic_pod_name> corresponds to the domain of your SnapLogic environment such as

    Slack app with REST Snap Pack

    If you intend to use your Slack app with the REST Snap Pack, add the Redirect URL: https://<SnapLogic_pod_name>/api/1/rest/admin/oauth2callback/rest in addition to the slack Redirect URL that you added in Step 4.

  5. Click Add, and click Save URLs.

Revoke All OAuth Tokens

You can revoke all the OAuth tokens that you generated for your app if you want to revoke the various access permissions provided to your app's users.

  1. Open<YOURAPPID>/oauth? in your browser, or select OAuth & Permissions from your app's Features section from the left navigation.

  2. Scroll down to the Revoke All OAuth Tokens section, and click Revoke Tokens.
    This revokes all the OAuth tokens from your app. You must repeat the Token Generation process if you want to generate new tokens.



Authentication failed

You have entered an incorrect token.

Verify that you have copied the correct token value for the account and the application has the required access privileges. 

Snap Pack History

 Click here to expand...


Snap Pack Version 




Enhanced the Slack - Send Message Snap with User Emails option for the Target Type dropdown list to send messages on Slack app using the user’s email.



Upgraded with the latest SnapLogic Platform release.
4.27main12833StableUpgraded with the latest SnapLogic Platform release.
4.26main11181 LatestUpgraded with the latest SnapLogic Platform release.
4.25 Patch425patches10994Latest

Improved the error messages in the Channel Operations Snap where the Snap fails with Null Pointer Exception when the account reference provided is invalid.

4.25main9554StableNo updates made.
4.24main8556StableNo updates made.




Initial release of the Snap Pack with the following Snaps and Accounts:

See Also