post
/chat/users/{userId}/channels/{channelId}/members
A channel can have one or multiple members. Use this API to invite members that are in a user’s contact list to a channel. The maximum number of members that can be added at once with this API is 5.
Scope: chat_channel:write:admin
Rate Limit Label: Medium
For an account-level OAuth app, this API can only be used on behalf of a user who is assigned with a role that has Edit permission for Chat Channels.
Authorization
oauth2 - authorizationCode
Request Parameters
2 Path Parameters
Request Body
1 Example
Schema
members
array[object]
Members of a channel. You can invite up to a max number of 5 members with a single API call.
Responses
HTTP Status Code: 201
Members invited to the channel.
1 Example
Schema
ids
array[string]
Member Ids of the members.
added_at
string
The date and time at which the member(s) are added to the channe.
1 validation
Send a Test Request
POST
Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
userId
channelId
$$.env
1 variable not set
oauth_access_token