Conversations

Conversations Invite

POST
/conversations.invite

Invites users to a channel.

Authorization

slackAuth channels:write, groups:write, im:write, mpim:write
AuthorizationBearer <token>

In: header

Scope: channels:write, groups:write, im:write, mpim:write

Header Parameters

token?string

Authentication token. Requires scope: conversations:write

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

Value in

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

Request Body

application/x-www-form-urlencoded

channel?string

The ID of the public or private channel to invite user(s) to.

users?string

A comma separated list of user IDs. Up to 1000 users may be listed.

Response Body

application/json

application/json

curl -X POST "https://example.com/conversations.invite" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{  "channel": null,  "ok": "True"}