Skip to main content
Use member management when your app needs to add users to a channel or remove users from a channel. Channel type, membership rules, and moderator permissions can still determine whether a request is accepted by the server.

Platform Surface

Parameters

Add Members

Add members when an existing channel should include additional users. For conversation channels, prefer the conversation creation APIs when creating the conversation membership for the first time.

Remove Members

Remove members when users should no longer participate in the channel. If the user is currently viewing the channel, update the route or composer state after removal succeeds.

Implementation Notes

Bulk Input

All platforms accept a list of user IDs, so use one call for a small batch instead of looping one user at a time.

Channel Rules

Some channel types or roles can reject member changes. Treat failures as server authority, not as local state to override.

Current User

Use join and leave APIs when the current user is entering or exiting a channel themselves.

Member State

Query members after add or remove operations when your UI needs confirmed membership, role, or banned-state data.

Join and Leave

Let the current user join or leave a channel.

Query Members

Retrieve and filter channel membership.

Role Management

Assign channel roles to members.