Secure Messaging API (monolith mode)