I\'ve been trying to get a list of all \"groups\" in my Slack team. However, even with admin privs, groups.list
only provides the groups that the token owner\'s
slacks privacy policy does not support this.
The most fundamental privacy principle we follow is that by default, anything you post to Slack is private to your team. That is, viewing the messages and files shared within a specific team requires authentication as a member of that team.
The company's upcoming paid Plus plan will include an optional feature called Compliance Exports, which will let administrators access their team's communications, encompassing public and private messages.
which is the closest thing to getting access to private channels from which you are not part of, but will require a written letter...here for more details