Messaging and collaboration

Channels and threads

Organize conversations with public channels, private groups, and direct messages. Use threads to keep side discussions out of the main channel.

  • Use unlimited public and private channels
  • Reply in threads to contain side conversations
  • Pin important messages for the channel
  • Send messages with file attachments and full history
  • Create channels with channel_type (text, voice, or category) and set read_receipts_enabled

Rich messages

Send formatted messages, links, images, and files. React to messages, reply in context, and collaborate without switching tools.

  • Use Markdown to format messages
  • Preview links inline with unfurling
  • React with emoji for quick feedback
  • Attach files with automatic metadata
  • Read receipts show read_by as ReaderInfo objects with id, username, and avatar_url
  • Delete messages in bulk with POST /channels/{id}/messages/bulk-delete (up to 100 messages)
  • Track read position with GET /channels/{id}/messages/last-read

Presence and notifications

See who is online and get notified when it matters. Push notifications keep your team informed without constant checking.

  • View real-time online status for each member
  • Get notified on mentions
  • See typing indicators for active conversations
  • Receive push notifications in mobile browsers
  • Call GET /users/{id}/presence — returns 404 if you do not share a server or friendship with the target
Voice and media

Voice calls and stage channels

Talk to your team in real time. Use voice channels for calls and stage channels for presentations where speakers present and attendees listen.

  • Make high-quality audio and video calls
  • Use stage channels for town halls and presentations
  • Control speaker and listener roles
  • Rely on low-latency delivery with aiortc as the default SFU (configure voice.sfu_backend to use mediasoup or janus)

File sharing and media

Share files, images, and videos on your own infrastructure. Plexichat scans and validates media for safety.

  • Store media with S3-compatible backends (RustFS, AWS S3)
  • Proxy external images through GET /media/proxy?url={url} to reduce SSRF risk
  • Serve attachments at GET /api/v1/media/attachments/{filename}
  • Upload avatars and server icons with role-based permissions

Custom expressions

Let your team personalize communication with custom avatars, server icons, and emoji. Control availability by role.

  • Set custom user avatars and server icons
  • Manage custom emoji sets
  • Configure role-based media permissions
  • Review media uploads in the audit log
Identity and access control

Secure accounts

Protect accounts with strong authentication. Track every active session for each user.

  • Authenticate with token-based sessions
  • View every active session per user
  • Require TOTP two-factor authentication
  • Apply IP-based security rules

Roles and permissions

Control who can see and do what. Set policies at the server and channel level.

  • Create hierarchical roles with configurable permissions
  • Set channel-level access control
  • Follow moderator and admin workflows
  • Enforce permissions on every action — the server rejects wildcard scopes such as * and users.* when you create or update a role (HTTP 400)

Moderation and safety

Keep your community safe with reporting, automated rules, and full admin visibility.

  • Report users and messages
  • Configure automated moderation rule sets
  • Review all activity in the admin dashboard
  • Track security events in the audit trail
Privacy and compliance

Real message deletion

When you delete a message, it stays deleted. On licensed installs, the server rotates encryption keys so devices that previously had access cannot recover deleted content.

  • Restore no deleted messages — even from devices that held the key
  • Revoke access automatically on key rotation for lost or stolen devices
  • Prevent former employees from reading exports made before removal
  • Use standard encryption with client-managed cache on the free tier

Encryption key management

Keep encryption keys on your infrastructure. The server validates key strength at startup and refuses to start with weak keys.

  • Use hardware-backed keys with TPM 2.0 when available
  • Configure environment-based keys for container deployments (PLEXICHAT_SYSTEM_KEY)
  • Migrate keys automatically when you switch sources
  • Catch weak or compromised keys at startup

Data export and GDPR compliance

Export all user data in a single bundle. Users can request their own export from settings, and admins can trigger exports for compliance requests.

  • Export messages, files, sessions, and audit log entries
  • Request your data from the user settings screen
  • Review export requests with full admin visibility
  • Configure retention policies and export formats
Developer tools and integrations

REST API

Extend Plexichat by calling every feature through a versioned API with interactive docs.

  • Send requests to /api/v1 (configure with api_prefix)
  • Browse interactive docs at /docs (Swagger) and /redoc
  • Read static docs at /docs/api
  • Validate all requests against schemas such as ChannelCreateRequest.channel_type and MessageResponse.read_by

Webhooks

Connect Plexichat to your workflow. Configure webhooks to fire on events and push data to any HTTP endpoint.

  • Create and manage webhooks per channel or server
  • Edit webhooks with PATCH /webhooks/{id}
  • Rotate webhook tokens with POST /webhooks/{id}/regenerate
  • Track delivery status and retry deliveries

Bots and OAuth

Automate tasks with bot accounts and integrate with identity providers. Bots use dedicated API tokens and can respond to slash commands.

  • Create bot accounts with dedicated tokens
  • Configure OAuth for SSO — send code_challenge with code_challenge_method=S256 to GET /auth/oauth/{provider}/login; send code_verifier to POST /auth/oauth/{provider}/callback
  • Include redirect_uri from the exact allow-list (trailing-slash normalization only; no prefix or substring match)
  • Rely on the plexichat_oauth_state HttpOnly cookie binding to prevent login CSRF
  • Update many user settings with PUT /settings/bulk
Artifacts and productivity

Artifacts are persistent, shareable content attached to conversations: collaboratively edited code, live whiteboards, and voice-call recordings with transcripts. Availability depends on server configuration and, where noted, a commercial license key.

Collaborative code editor

Edit code and documents together in real time. Use syntax highlighting for dozens of languages and let the server enforce file-history and size limits.

  • Edit with multiple users and real-time sync
  • Use syntax highlighting for Python, JavaScript, TypeScript, Go, Rust, SQL, YAML, HTML, CSS, Markdown, and JSON
  • Enable the editor with artifacts.editor.enabled
  • Use the editor on the free tier — no license key required

Collaborative whiteboard Commercial

Draw and brainstorm on a shared canvas that persists operations for replay. Support up to 50 concurrent participants.

  • Draw on a real-time multi-user canvas
  • Replay operation history
  • Enable the whiteboard with the artifacts_whiteboard license feature
  • Configure with artifacts.whiteboard.enabled

Voice recording and transcription Commercial

Record voice calls and transcribe them into searchable text. Choose from local Whisper, OpenAI Whisper API, or Azure Speech.

  • Record calls when artifacts.voice.allow_recording is enabled
  • Transcribe automatically with speaker diarization
  • Select the provider: local Whisper, OpenAI, or Azure Speech
  • Enable transcription with the voice_transcription license feature
PlexiSuite — work together on the same documents

PlexiSuite brings spreadsheets and file vaults into the same permission model as your chat. No separate accounts and no data leaves your server. Both products require the plexisum and plexistash license features.

PlexiSum — collaborative spreadsheets Commercial

Build and share workbooks from a conversation. A bounded viewport keeps large sheets fast, and a formula engine enforces dependency caps on your server.

  • Manage workbook, sheet, column, and row metadata on the server
  • Use formulas, freeze panes, validations, conditional formatting, and comments
  • Set range-level permissions plus workbook sharing and grants
  • Use snapshots, revision history, and CSV/XLSX import and export
  • Collaborate in real time over the gateway (opcodes 64–67) with idempotent replay and conflict recovery
  • Store workbook files as .plexisum blobs in your media storage
  • Enable with the plexisum license feature

PlexiStash — Drive-like vault Commercial

Organize files, links, and notes into collections with granular sharing. Plexichat stores metadata and authorization on your server and keeps file bytes in your media storage.

  • Manage items, collections, tags, and immutable version history
  • Issue short-lived one-time download tickets that are re-checked on redeem
  • Grant and revoke explicit access, plus pin and favorites
  • Separate metadata discovery from binary access
  • Clean up expired tickets and deleted items in the background
  • Include Stash in DSAR export and erasure flows and audit events
  • Enable with the plexistash license feature
Self-hosted configuration and licensing

Configure every artifact feature on your infrastructure. Use environment variables to override the server YAML, and use a license key to unlock premium features.

Config-driven features

Set these keys in the artifacts block of your server YAML or with environment variables:

  • ARTIFACTS_ENABLED — master switch for artifacts
  • ARTIFACTS_EDITOR_ENABLED — in-app code editor
  • ARTIFACTS_WHITEBOARD_ENABLED — collaborative whiteboard
  • ARTIFACTS_VOICE_ALLOW_RECORDING — voice call recording
  • ARTIFACTS_VOICE_TRANSCRIPTION_ENABLED — call transcription
  • ARTIFACTS_VOICE_TRANSCRIPTION_PROVIDER — transcription backend
  • ARTIFACTS_DEFAULT_RETENTION_DAYS — artifact lifetime
  • artifacts.plexisum.enabled and artifacts.plexistash.enabled — PlexiSuite availability

License key gating

Unlock premium features with a commercial license key at deploy time. The server checks license features at runtime and explains why a feature is unavailable:

  • artifacts — master artifact feature (gates the whole subsystem)
  • artifacts_whiteboard — multi-user whiteboard
  • voice_transcription — automatic transcription
  • plexisum — collaborative spreadsheets (PlexiSum)
  • plexistash — Drive-like vault (PlexiStash)
  • Set ARTIFACTS_LICENSE_FEATURES (comma-separated) to pass license features
  • Features without a license gate (editor, voice recording) require only configuration
Infrastructure and operations

Database and caching

Build on proven storage. PostgreSQL provides durability, Valkey keeps sessions fast, and S3-compatible storage scales your media.

  • Store data in PostgreSQL 18-alpine
  • Cache and manage sessions with Valkey 9.1.1
  • Configure connection pools for scale
  • Use your own external storage

Monitoring and health

Monitor your deployment with health checks and telemetry. Admins get full visibility into system status.

  • Check readiness at GET /api/v1/ready
  • Run deep health checks at GET /api/v1/health
  • Connect to the WebSocket gateway at /gateway
  • Review telemetry, performance metrics, admin logs, and rate-limit status

Startup validation

Validate configuration on every boot. Plexichat catches misconfigurations early with clear error messages.

  • Run self-tests for core endpoints
  • Validate configuration at startup
  • Validate request schemas for all API calls
  • Start with safe defaults that work out of the box
Gateway opcodes and intents

Gateway opcodes

Connect to /gateway and handle the opcodes your client needs. Plexichat includes artifact and workbook opcodes for real-time collaboration.

  • 50 RATCHET_UPDATE — per-channel ratchet key rotation notifications
  • 60 ARTIFACT_SUBSCRIBE and 61 ARTIFACT_UNSUBSCRIBE — subscribe to artifact updates
  • 62 ARTIFACT_OP and 63 ARTIFACT_SYNC — send and synchronize artifact operations
  • 64 SUM_SUBSCRIBE and 65 SUM_UNSUBSCRIBE — subscribe to PlexiSum workbook updates
  • 66 SUM_OP and 67 SUM_SYNC — send and synchronize workbook operations

Gateway intents

Declare the events your gateway connection wants to receive. Include the intents you need when you identify.

  • 20 ARTIFACTS and 21 SUMS — receive artifact and workbook events (included by default)
  • Privileged intents: GUILD_MEMBERS, GUILD_PRESENCES, and MESSAGE_CONTENT
  • Configure intents alongside heartbeat, compression, and rate-limit settings in your gateway client

Configuration keys

Check config_defaults.py before you change server configuration. Use these canonical keys:

  • server.host, server.port, server.reload — server binding (not api.*)
  • api_prefix (for example /api/v1) — API prefix (not api.prefix)
  • tls — TLS settings (not api.ssl)
  • voice.sfu_backend = aiortc — default SFU (not mediasoup)
  • Base image: Python 3.14
Rate limits

Traffic policy

Plexichat enforces rate limits per route, per user, and per IP with configurable burst windows. These are configurable defaults (authoritative: server config.yaml / src/config_defaults.py); update limits in config and your reverse proxy — do not rely on hard-coded values.

  • Global: 25,000 requests per 60 seconds, burst 5,000
  • User: 10,000 requests per 60 seconds, burst 2,500; 300,000 per hour; 5,000,000 per day
  • IP: 5,000 requests per 60 seconds, burst 1,500; 150,000 per hour; 1,000,000 per day
  • Customize per-route limits for webhooks, media uploads, and other endpoints
Enterprise Commercial

Core self-hosting stays free. A license key unlocks the marked capabilities; the free tier returns a no-op or read-only path.

The core platform is free to self-host. A commercial license unlocks additional capabilities. The free tier continues to work — paid features return a no-op or read-only path instead of blocking.

Cross-instance federation (PlexiJoin) Commercial

Connect multiple Plexichat servers so users on different instances can communicate. Keep each organization's data under its own control.

  • Link servers with outbound federation connections
  • Approve or deny incoming federation requests
  • Monitor connection health and traffic
  • Resolve conflicts for federated data automatically

SSO, bots, and advanced moderation Commercial

Integrate with your identity provider, build bots at scale, and enforce advanced moderation rules. Export audit logs to your SIEM.

  • Integrate SSO and SAML with your identity provider
  • Run bot accounts with higher rate limits for automation at scale
  • Configure custom roles and advanced AutoMod rule sets
  • Export audit logs in SIEM-compatible formats

Server-managed encryption Commercial

On licensed installs, the server owns the encryption key cache. When you delete a message, the key rotates and the content becomes permanently unreadable — even for devices that held the previous key.

  • Manage keys on the server to prevent offline retention
  • Make hard deletes final and verifiable
  • Prevent departing employees from reading historical exports
  • Fall back seamlessly if you downgrade the license
These capabilities require a commercial license key. Contact [email protected] for pricing, OEM terms, or air-gapped support.