Overview
Get the list of system user IDs, used to identify special built-in user accounts in the system.Response Fields
Status Codes
| Status Code | Description |
|---|---|
| 200 | Successfully retrieved system user ID list |
| 500 | Internal server error |
System User Types
Common System Users
| User ID | Purpose | Description |
|---|---|---|
system | System Messages | Used for system-generated messages and notifications |
admin | Administrator | System administrator account |
bot | Bot Services | Automated bot services and AI assistants |
notification | Notifications | Push notifications and alerts |
webhook | Webhook Integration | External system integrations |
Use Cases
Message Filtering
Filter System Messages:Permission Management
Check System User Permissions:UI Customization
Special Display for System Messages:Analytics and Reporting
Separate System vs User Activity:Bot Integration
Identify Bot Messages:Best Practices
- Caching: Cache system user IDs to avoid repeated API calls
- Regular Updates: Periodically refresh the system user list
- Error Handling: Handle cases where system users might change
- UI Distinction: Clearly distinguish system messages from user messages
- Permission Checks: Always verify system user permissions before granting special access
- Logging: Log interactions with system users for audit purposes
Security Considerations
- Access Control: Ensure only authorized applications can access system user information
- Rate Limiting: Implement rate limiting to prevent abuse
- Audit Logging: Log all requests to track system user ID access
- Validation: Validate system user IDs before using them in operations

