channels

Create a channel

Create a new channel.

Permissions

If creating a public channel, create_public_channel permission is required. If creating a private channel, create_private_channel permission is required.

post/api/v4/channels

Request body

team_idstring required

The team ID of the team to create the channel on

namestring required

The unique handle for the channel, will be present in the channel URL

display_namestring required

The non-unique UI name for the channel

purposestring

A short description of the purpose of the channel

headerstring

Markdown-formatted text to display in the header of the channel

typestring required

'O' for a public channel, 'P' for a private channel

Response

Channel creation successful

idstring
create_atinteger

The time in milliseconds a channel was created

update_atinteger

The time in milliseconds a channel was last updated

delete_atinteger

The time in milliseconds a channel was deleted

team_idstring
typestring
display_namestring
namestring
headerstring
purposestring
last_post_atinteger

The time in milliseconds of the last post of a channel

total_msg_countinteger
creator_idstring

Changes