Conversations

Admin Conversations Invite

POST
/admin.conversations.invite

Invite a user to a public or private channel.

Authorization

slackAuth admin.conversations:write
AuthorizationBearer <token>

In: header

Scope: admin.conversations:write

Header Parameters

token*string

Authentication token. Requires scope: admin.conversations:write

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

user_ids*string

The users to invite.

channel_id*string

The channel that the users will be invited to.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.conversations.invite" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'user_ids=string&channel_id=string'
{  "ok": "True"}