Developer API Reference

Connect with the GlaceLearn network, programmatically sync class schedules, and leverage AI endpoints.

Platform Endpoints

POST /api/contact-handler.php

Submit a contact form inquiry or corporate training partnership request.

Request Payload (Form Data)
name (string, required) | email (string, required) | subject (string, required) | message (string, required) | attachment (file, optional)
Response Preview
{
  "success": true,
  "message": "✅ Contact inquiry submitted successfully! Our team will respond shortly."
}
POST /api/match-tutor.php

Query our AI-powered matchmaking algorithm to find optimal verified tutor recommendations.

Request Payload (JSON)
interests (string, required) | budget (numeric, required) | speed (string: 'Fast' or 'Thorough') | language (string)
Response Preview
{
  "success": true,
  "matches": [
    {
      "name": "Dr. Elizabeth Chen",
      "match_score": 96,
      "reasons": ["Expert in your field", "Fits within hourly budget"],
      "pricing": 45.00,
      "rating": 4.95
    }
  ]
}

Frequently Asked Questions

Our platform uses a real-time scoring matrix analyzing your learning speed, budget, preferred language, and subject interests. It calculates a match index against all verified tutor profiles to surface your best fit instantly.

Inside the Live Classroom, Smart Attendance uses your camera to place a bounding box over your face and verifies your active presence — awarding streaks and +50 XP automatically.

Yes! Use the Tutor Battle comparison widget or book a free 15-minute Doubt Room consultation to evaluate any tutor before committing.

Payments are processed via Razorpay with 256-bit SSL encryption. GlaceLearn never stores your card details on our servers.