Channel Management
Add Channel Whitelist
Add users to channel whitelist
POST
Overview
Add users to channel whitelist. Whitelisted users have special privileges and can bypass certain restrictions.Request Body
Required Parameters
Channel ID
Channel type
1- Personal channel2- Group channel
Response Fields
Operation status, returns
"ok" on successStatus Codes
| Status Code | Description |
|---|---|
| 200 | Whitelist operation successful |
| 400 | Request parameter error |
| 403 | No management permission |
| 404 | Channel does not exist |
| 500 | Internal server error |
Whitelist Mechanism
Special Privileges
Whitelisted users enjoy the following special privileges:| Privilege | Description | Use Cases |
|---|---|---|
| Bypass Mute | Can speak during channel-wide mute | Administrators, important users |
| Priority Access | Priority access during high traffic | VIP users, moderators |
| Rate Limit Exemption | Exempt from standard rate limits | Trusted users, bots |
Permission Hierarchy
Whitelist position in the permission system:- Administrator permissions > Whitelist > Regular member permissions
- Blacklist > Whitelist (Blacklist has higher priority)
- System users > Whitelist
Use Cases
VIP User Management
Grant VIP Privileges:Moderator Management
Moderator Whitelist System:Event-Based Whitelist Management
Dynamic Whitelist for Events:Whitelist vs Blacklist Relationship
Priority Rules
Conflict Resolution
| Situation | Result | Description |
|---|---|---|
| In both blacklist and whitelist | Blacklist takes effect | Blacklist has higher priority |
| Only in whitelist | Whitelist privileges apply | Normal whitelisted user |
| Only in blacklist | Blacklist restrictions apply | Normal blacklisted user |
| In neither list | Regular user permissions | Default permission handling |
Implementation Example
Best Practices
- Clear Criteria: Establish clear criteria for whitelist inclusion
- Regular Review: Periodically review whitelist members and remove inactive users
- Documentation: Document reasons for adding users to whitelist
- Graduated Privileges: Implement different levels of whitelist privileges
- Conflict Resolution: Clearly define how blacklist/whitelist conflicts are resolved
- Notification: Inform users when they are added to or removed from whitelist
- Audit Trail: Maintain logs of all whitelist operations for accountability

