Skip to main content
GET

Overview

Get the whitelist user list for a specified channel, returning all user IDs in the whitelist.

Query Parameters

string
required
Channel ID
integer
required
Channel type
  • 1 - Personal channel
  • 2 - Group channel

Response Fields

array
required
List of whitelisted user IDs
string
User ID

Status Codes

Use Cases

Whitelist Management Dashboard

Display Whitelist Members:

Permission Checking System

Check User Whitelist Status:

Whitelist Analytics

Analyze Whitelist Patterns:

Best Practices

  1. Regular Monitoring: Regularly check whitelist membership for accuracy
  2. Access Control: Ensure only authorized users can view whitelist information
  3. Caching: Cache whitelist data to improve performance for frequent checks
  4. Analytics: Use whitelist data for channel management insights
  5. Documentation: Document the purpose and criteria for whitelist membership
  6. Privacy: Respect user privacy when displaying whitelist information
  7. Performance: Optimize whitelist queries for channels with large member counts