provider usergroups GET
/usergroups.list @utdk/slack
/usergroups.list usergroups_list
List all User Groups for a team
- include_users query
- Include the list of users for each User Group.
- boolean
- token query required
- Authentication token. Requires scope: `usergroups:read`
- string
- include_count query
- Include the number of users in each User Group.
- boolean
- include_disabled query
- Include disabled User Groups.
- boolean
Try it
Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import slack from '@utdk/slack';
await slack.usergroupsList()