admin_conversations_create
POST
/admin.conversations.create https://slack.com/api
Create a public or private channel-based conversation.
Parameters
header Header Parameters
| Name | Type |
|---|---|
token
required
Authentication token. Requires scope: | string |
Request Body
application/x-www-form-urlencoded
required
{
description?: string;
is_private: boolean;
name: string;
org_wide?: boolean;
team_id?: string;
}
description?: string;
is_private: boolean;
name: string;
org_wide?: boolean;
team_id?: string;
}
Responses
200 application/json
Typical success response
{ channel_id?: DefsChannelId ;ok: DefsOkTrue ; }
default application/json
Typical error response
{ error: "feature_not_enabled" | "name_taken" | "restricted_action" | "team_not_found" | "invalid_team" | "invalid_name" | "could_not_create_channel" | "team_id_or_org_required";ok: DefsOkFalse ; }