provider admin.conversationsadmin POST /admin.conversations.create
@utdk/slack /admin.conversations.create
admin_conversations_create
Create a public or private channel-based conversation.
token header required
Authentication token. Requires scope: `admin.conversations: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.

adminConversationsCreate
POST/admin.conversations.create
Create a public or private channel-based conversation.

Input

Description of the public or private channel to create.

required

When `true`, creates a private channel instead of a public channel

required

Name of the public or private channel to create.

When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel

The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`.

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.adminConversationsCreate()