
If your app is installed, users will be sent directly to a conversation with your bot user or workspace app. If your app is not marked for distribution and not yet installed, users will be sent to the app directory. If your app is marked for distribution but not installed yet, users will be directed to your app's profile in the App Directory.

Use the method to obtain the ID of the workspace your app is currently installed in.

When no team is provided or the user is not signed in, users will be sent to their default team or asked to sign in. Useful when you know which workspace the user should be sent to. team - the team ID belonging to a target workspace.It can also be found while managing your app by inspecting the URL and looking for the alphanumeric ID beginning with A, like A123456. Find your Slack app's ID by preserving the app_id field received when using oauth.token. If invalid, users will be sent to the App Directory instead. app - your application's unique ID, such as A1BES823B.When linking to a direct message, the app_redirect URL accepts two parameters: Whether you want to send users to a conversation directly after you receive an access token using OAuth or you simply want to link from your website or from within a message, send them to a URL like this: Slack apps with bot users or workspace apps can send users right into a conversation with your app.Ĭombine this feature with channel creation or installation and provide a guided onboarding experience. Opening a direct message with your app or bot Swiftly send users back to work during the installation process by redirecting them to a conversation with your app or bot using app_redirect.

