Orthomentor API Documentation

A simple guide for developers and tutors to interact with the Orthomentor backend system securely.

Overview

The Orthomentor API allows authorized users (Students, Tutors, Admins) to access and manage learning materials, users, and analytics programmatically. All requests must be authenticated with a valid API key or token.

Base URL: https://api.orthomentor.com/v1

Authentication

Use your generated API token from your Orthomentor dashboard to authorize requests. Include the token in your request headers as shown below:

curl -X GET https://api.orthomentor.com/v1/user/profile \ -H "Authorization: Bearer YOUR_API_TOKEN"

Endpoints

🎓 Student APIs

  • GET /students – Fetch all student profiles.
  • GET /students/:id – Get details of a specific student.
  • POST /students/progress – Update course progress.

👩‍🏫 Tutor APIs

  • GET /tutors – Retrieve tutor list.
  • POST /tutors/upload – Upload new videos, blogs, or podcasts.
  • GET /tutors/analytics – View tutor revenue and performance analytics.

🧑‍💼 Admin APIs

  • GET /admin/overview – Platform summary and total revenue.
  • GET /admin/users – Manage all users and roles.
  • DELETE /admin/user/:id – Remove a user account.

Example Response

{ "status": "success", "data": { "id": "stu_001", "name": "Rahul Kumar", "role": "Student", "courses_enrolled": 4, "progress": "75%" } }

📘 For more advanced API integrations, please contact our dev team at devsupport@orthomentor.com.