Admin

Admin Conversations Create

POST
/admin.conversations.create

Create a public or private channel-based conversation.

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

name*string

Name of the public or private channel to create.

description?string

Description of the public or private channel to create.

is_private*boolean

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

org_wide?boolean

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

team_id?string

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

Response Body

application/json

application/json

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