provider admin.conversationsadmin POST /admin.conversations.invite
@utdk/slack /admin.conversations.invite
admin_conversations_invite
Invite a user to a public or private channel.
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.

adminConversationsInvite
POST/admin.conversations.invite
Invite a user to a public or private channel.

Input

required

The channel that the users will be invited to.

required

The users to invite.

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