אפשר רק למשתמשים שאינם מנהלים לשלוח הודעות פרטיות

Yes, you would indeed have to lock the trust level.

Due to the way Discourse is designed, all functionality is available via the API.