Create a channel
POST
/chat/users/{userId}/channels
Chat Channels
Scopes:
chat_channel:write
or chat_channel:write:admin
Medium
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://api.zoom.us/v2/chat/users//channels'
响应示例响应示例
201 - response
{
"id": "id8977ullamco",
"jid": "nisi73624365536st",
"name": "Happy Channel",
"type": 1
}
请求参数
Path 参数
userId
string
必需
Body 参数multipart/form-data
members
array [object {1}]
可选
email
string <email>
必需
name
string
可选
<= 128 字符
type
enum<integer>
可选
1
: Private channel. In this type of channel, members must be invited to join a channel.2
: Private channel with members that belong to one Zoom account. Members in this channel should be invited and the members should be from the same organization.3
: Public channel. Anyone can search for this channel and join the channel.4
: New chat. This is an instant channel which can be created by adding members to a new chat.枚举值:
123
返回响应
修改于 2024-04-24 09:06:48