Secure Your LMS & Student Chats with HIVE API
Integrate our safe, real-time AI content moderation and engagement APIs into your custom school platforms, learning systems, or community hubs. Protect students, teach digital citizenship, and award points programmatically.
Everything You Need for Positive Digital Spaces
You don't need HIVE's social interface to get the power of HIVE. Power your proprietary software with our robust API modules.
AI Safety scanner (MaaS)
Intercept toxic language, cyberbullying, misinformation, or explicit content. Check all user-submitted text inside your LMS and block threats before they go live.
- 0.1s latency execution
- Strict K-12 tuned filters
- Prohibited domain blocks
Teachable Rephrase Options
Don't just punish—educate. When the AI blocks an entry, it returns specific positive rephrase examples (Options A & B) tailored exactly to what the student meant to say.
- Dynamic tone correction
- Encouraging feedback
- Ready-to-render UI text
Gamification Points Sync
Award HIVE experience points and keep student streaks alive when they achieve milestones inside your third-party applications or assignment modules.
- Consolidated district leaderboards
- Instant level-up notifications
- Webhook trigger delivery
Teachable Moments, Built directly into Your Product
Standard content filters simply reject posts, leaving students confused and frustrated. The HIVE API intercepts and turns every mistake into an educational opportunity.
Before: The Standard Block
"Post Blocked: Your content violated the terms of service." (Frustrates students, limits active learning).
After: HIVE Teachable Moments
"Hold on, Bee! Let's think before we post..." (AI explains why it was hurtful and offers specific rephrase suggestions).
Hold on, Bee! Let's think before we post. 🐝
Our safety scanner noticed this post might be perceived as exclusionary or hurtful to a classmate.
Can we rephrase this to focus on encouragement?
- • Option A: "Congrats to Sarah for joining the track team!"
- • Option B: "Excited to see the track team compete this season."
Designed by Developers, for Developers
Integrate our RESTful API endpoints in minutes. Copy a snippet and test with mock payloads.
Endpoint Details
Scans text content against HIVE's 5 core safety categories. Bypasses standard email restrictions and yields rephrase actions immediately.
{
"isSafe": false,
"flaggedCategories": ["toxicity"],
"violationDetails": {
"reason": "be perceived as exclusionary or hurtful to a classmate",
"rephraseFocus": "focus on encouragement"
},
"teachableMoment": {
"message": "Hold on, Bee! Let's think before we post. 🐝\nOur safety scanner noticed this post might be perceived as exclusionary or hurtful to a classmate...",
"suggestions": {
"optionA": "Congrats to Sarah for joining the track team!",
"optionB": "Excited to see the track team compete this season."
}
}
}Developer Integration Guide
A comprehensive guide to authenticating, intercepting messages, rewarding digital citizenship points, and managing FERPA/COPPA compliant school environments.
Guide Chapters
1. Authentication & Authorization
HIVE protects commercial API access via cryptographically signed Bearer tokens. All requests must carry an authorized header string. To support multiple separate environments, we provide separate keys:
2. Moderation & Teachable Rephrasing
The `POST /v1/moderation/scan` endpoint inspects chat, comments, or post bodies. If a violation is caught, HIVE intercepts the payload and automatically drafts two positive alternatives (Options A & B) that retain the user's positive intention without the toxic phrasing.
Request Schema Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| content | string | Yes | The raw text body submitted by the student (max 4,000 characters). |
| studentId | string | Yes | Unique, non-PII identifier of the posting student. Use hashing to protect privacy. |
| context | string | No | Type of platform environment (e.g., `lms_assignment`, `group_chat`, `forum`). |
Core Threat Tiers
3. Gamification Points Sync
Keep your students engaged by syncing their HIVE digital citizenship scores with third-party software actions. When students complete helpful actions, assignments, or complete peer reviews inside your LMS, reward them programmatically.
{
"studentId": "std_65f29910",
"pointsDelta": 25,
"reason": "Completed peer collaboration assignment",
"category": "collaboration"
}4. Webhooks & Bullying Alerts
Receive real-time HTTP POST alerts at your configured destination URL whenever critical events trigger on HIVE. Use this to notify educators, lock account actions, or trigger local administrative support.
Fires if a student registers multiple safety infractions inside your platform within a 24-hour window, bypassing standard sandbox exceptions.
5. K-12 Privacy: COPPA & FERPA Standard Hashing
HIVE is fully built for school environments. We highly recommend hashing student identifiers (e.g. email, database primary keys) to **SHA-256** prior to sending payloads to the HIVE API.
Manually Provisioned API Access
To ensure safety limits, all commercial keys are explicitly configured and isolated by our engineering team.