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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;added_at&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;ids&quot;:&quot;\u003cstring\u003e&quot;,&quot;member_ids&quot;:&quot;\u003cstring\u003e&quot;}