Invite channel members
POST {{baseUrl}}/chat/channels/:channelId/members
Invites members that are in a user's contact list to a channel. A channel can have one or multiple members. The maximum number of members that can be added at once with this API is 5.
Scope: chat_channel:write
Note: This API only supports user-managed OAuth app
Rate Limit Label: Medium
Request Body
{"members"=>[{"email"=>"<email>"}, {"email"=>"<email>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"added_at":"\u003cdateTime\u003e","ids":"\u003cstring\u003e","member_ids":"\u003cstring\u003e"}