Skip to main content
POST
create a conversation channel

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Information of conversation channel to be created

userIds
string[]
required
Maximum array length: 10
Maximum string length: 50
isDistinct
boolean
default:true
displayName
string
Maximum string length: 100
avatarFileId
string
Maximum string length: 50
metadata
object
tags
string[]
Maximum array length: 10
Maximum string length: 100

Response

Channels Information

channels
object[]
channelUsers
object[]

List of users in channel with membership and role. Normally, it will return only caller as user. However, it will return all users in conversation channel. For ban/unban events, it will return banned users.

messagePreviews
object[]

Depends on messagePreviewId. if null will be empty array.

messageFeedsInfo
object[]

Depends on messagePreviews. if empty array will be empty array.

users
object[]
files
object[]