channels

Create a direct message channel

Create a new direct message channel between two users.

Permissions

Must be one of the two users and have create_direct_channel permission. Having the manage_system permission voids the previous requirements.

post/api/v4/channels/direct

Request body

string[] required

Response

Direct 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

No recorded changes to this endpoint across all 1 revision of this API.