0

I've read a lot about scopes for Slack OAuth flow here:

Some methods are deprecated, some should work, for others - no good documentation or examples. But still don't know which scopes should I use for my app if I want:

  • do auth flow for user;
  • create own channel for integration (like Sentry, JIRA, GitHub and others do);
  • push messages to that channel.

After all these documentation I can't find complete list of what I need and be sure that it will work.

Questions:

  • which scopes should I use?
  • can I set them like admin,channels,bot or be more specific channels:join,channels:manage,...

Examples:

  • I used channels:write,conversations but got following error:
Invalid permissions requested
Invalid scope: channels:write,conversations
  • I used channels:manage but it's asking about existing channels only.
wowkin2
  • 4,058
  • 2
  • 16
  • 45

1 Answers1

0

You can try to use: channels:read,groups:read,channels:manage,chat:write from this tutorial.

In response you'll get following: chat:write,im:write,channels:read,channels:history,pins:read,reactions:read,users:read,channels:manage,incoming-webhook,groups:read

Not sure if they are enough for you, but looks like should work.

wowkin2
  • 4,058
  • 2
  • 16
  • 45