v1

latestOpenAPI 3.1.02026-07-17220132.6 KB
channel

Creates a new channel in Slack.

Creates a new channel in Slack, which can be either public or private.

post/createChannel

Request body

Response

Successful response

idstring required

The ID of the channel.

namestring required

The name of the channel.

is_channelboolean required

Indicates if the object represents a channel.

is_groupboolean

Indicates if the object represents a private channel.

is_imboolean

Indicates if the object represents a direct message conversation.

createdinteger required

A Unix timestamp indicating when the channel was created.

creatorstring required

The ID of the user who created the channel.

is_archivedboolean

Indicates if the channel is archived.

is_generalboolean

Indicates if the channel is the default "general" channel.

unlinkedinteger

The number of members that have been removed from the channel

name_normalizedstring

The channel name, but with any special characters replaced.

is_sharedboolean

Indicates if the channel is shared with other workspaces.

is_ext_sharedboolean

Indicates if the channel is part of an external shared connection.

is_org_sharedboolean

Indicates if the channel is shared with the entire organization.

pending_sharedstring[]

A list of team IDs that have been invited to the channel but have not yet joined

is_pending_ext_sharedboolean

Indicates if the conversation is ready to become an external shared channel but needs approval

is_memberboolean

Indicates if the calling user is a member of the channel.

is_privateboolean required

Indicates if the channel is private.

is_mpimboolean

Indicates if the object represents a multi-person direct message.

topicobject

An object containing the channel's topic information.

purposeobject

An object containing the channel's purpose information.

num_membersinteger

The number of members in the channel.