/admin.conversations.create
POST
/admin.conversations.create
admin.conversationsadmin
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://slack.com/api/admin.conversations.create' \
--header 'token;' \
--data-urlencode 'is_private=' \
--data-urlencode 'name='
Response Response Example
200 - response
{
"channel_id": "C12345",
"ok": true
}
Request
Header Params
token
stringÂ
required
admin.conversations:write
Body Params application/x-www-form-urlencoded
description
stringÂ
optional
is_private
stringÂ
required
true
, creates a private channel instead of a public channelname
stringÂ
required
org_wide
stringÂ
optional
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 channelteam_id
stringÂ
optional
org_wide=true
.Responses
Modified at 2023-08-15 05:39:45