provider usergroups POST /usergroups.create
@utdk/slack /usergroups.create
usergroups_create
Create a User Group
token header required
Authentication token. Requires scope: `usergroups:write`
string

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.

usergroupsCreate
POST/usergroups.create
Create a User Group

Input

A comma separated string of encoded channel IDs for which the User Group uses as a default.

A short description of the User Group.

A mention handle. Must be unique among channels, users and User Groups.

Include the number of users in each User Group.

required

A name for the User Group. Must be unique among User Groups.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.usergroupsCreate()