I'm writing a script that posts automated messages as me. I having a hard time finding my user token. Do I have to create an app?
I'm writing a script that posts automated messages as me. I having a hard time finding my user token. Do I have to create an app?
Yes, you have to create an app in order to generate a user token. You can create an app from here (https://api.slack.com/apps). Add the necessary scopes from the OAuth & Permissions page and install the app. If your app is posting messages you'll need to request the chat:write scope, if you're posting messages as yourself you'll also need chat:write:user. After you install the app you'll find your user token (xoxp) on the OAuth & Permissions page.