Relative Content

Tag Archive for slackslack-api

Can you export a slackbot you created so someone else can use the same permissions and setup?

I am creating a slackbot for the first time, and it is going to run locally on my own workspace. Is there a way to export a slackbot with all it’s permissions and setup so you can share it with another workspace? I’m wanting to have a colleague set it up on their computer, so they can play around and add different permissions to their own version of this slackbot. Can it only be distributed via link in the manage distribution tab?

slack api for huddle

I did some research and I can see there is almost nothing for developers to use regarding Huddles in slack api.
But… I have found next two links so I see possibilities and questions are raising:

How do I mention groups in the body of an email sent to slack channel?

I’m trying to tag a group in the body of an email sent to a Slack channel email address (sent using an external API). I looked around and apparently, it cannot be done unless it’s a Slack message (and not an email).
Just wanted to check here before I look for alternative solutions.

How to programatically get and manage user tokens in a distributable slack app?

I am building a slack app that I am planning to distribute to multiple organizations / workspaces. I use the bot token that I get using the Slack Oauth2 flow (https://api.slack.com/authentication/oauth-v2) . The bot token has the correct scopes and lets me do things on the workspace. I have some features that need a user token, for example, setting reminders for a user, which needs a user token. This is set when the user does some interaction with the app, like installing it for the first time or opening the home page or a button click. How do I obtain the user token, how do I store / reuse them?