Technical detail for operators and integrators: rate limits, gateway opcodes, configuration keys, startup validation, OAuth endpoints, and infrastructure versions. For the product overview, see Features.
Enforced per route, per user, and per IP with configurable burst windows. Defaults below; operators can tune them.
api_prefix = /api/v1Connect to the WebSocket gateway at /gateway (not /ws). Server-side cache management broadcasts RATCHET_UPDATE (opcode 50) when a channel key rotates.
Key sources are resolved from an environment variable, an HSM/TPM vault, or a local keyring, in that order of preference.
PLEXICHAT_SYSTEM_KEYPLEXICHAT_MEDIA_KEYserver.hosttlsvoice.sfu_backend=aiortcchannel_ratchet_encryptionOn boot the server validates every configured KEK and refuses to start on a weak key. Bounds: 32–64 bytes, entropy ≥ 7.0 bits/byte, weak-pattern blocklist, passphrases via Argon2/PBKDF2, true-random only.
code_challenge with code_challenge_method=S256 to GET /auth/oauth/{provider}/login.code_verifier to POST /auth/oauth/{provider}/callback.redirect_uri must match the allow-list exactly (only trailing slashes are normalized).HttpOnly plexichat_oauth_state cookie is set at login and must match the callback state.GET /media/proxy?url={url}.GET /api/v1/media/attachments/{filename}.GET /users/{id}/presence (relationship-gated; strangers get 404).*, users.*) are rejected. Use real scopes such as users.force_username_change, reports.action, and servers.edit./gatewayGET /api/v1/readyGET /api/v1/health