I made a new Slack App, got both my user token and bot token, and now my app can post messages as me. But what if I want this app to post messages as someone else from my team? How to get their token? Or where they can find it?
Asked
Active
Viewed 2.2k times
1 Answers
6
Tokens in slack can only be retrieved from the your slack apps OAuth page. This cannot be done via the API. If you want to send the messages as another user what you need to do is:
- Create the a slack app using the users account.
- Assign the relevant permissions to the app.
- Install the app to your work space.
- Fetch the generated tokens from the OAUTH and permissions section.

Aage
- 5,932
- 2
- 32
- 57

Caleb Njiiri
- 1,563
- 1
- 11
- 20