Actions60
- User Actions
- Channel Actions
- Accept Invite
- Add Members
- Add Moderators
- Archive
- Ban User
- Create
- Delete
- Delete File
- Delete Image
- Demote Moderators
- Disable Slow Mode
- Enable Slow Mode
- Get Config
- Hide
- Invite Members
- Mark Read
- Mark Unread
- Mute
- Mute Status
- Pin
- Query Channels
- Query Members
- Reject Invite
- Remove Members
- Send Action
- Send File
- Send Image
- Show
- Stop Watching
- Truncate
- Unarchive
- Unban User
- Unmute
- Unpin
- Update
- Watch
- Message Actions
- Moderation Actions
Channel → Invite Members
AI-generatedSummary
Invite specified users to join an existing Stream Chat channel defined by its type and ID.
Inputs
- Channel Type — Type of the channel, such as 'messaging' (1-on-1), 'team' (group), or 'livestream' (broadcast). Defaults to 'messaging'.
- Channel ID (required) — Unique identifier of the channel to invite members to (e.g., 'general', 'random').
- Members (required) — Comma-separated list of user IDs to invite to the channel (e.g., 'john_doe,jane_smith'). No spaces around commas.
Output shape
a single JSON object
Returns the response from the Stream Chat API after inviting members to the channel. The output includes details about the invitation operation and the channel state as returned by the API.
Examples
Example 1: Invite two users john_doe and jane_smith to the 'team-alpha' team channel
Set Channel Type to 'team', Channel ID to 'team-alpha', and Members to 'john_doe,jane_smith'