LearnHub Africa API
Build amazing integrations with our RESTful API
API Documentation Coming Soon
We're working on comprehensive API documentation to help developers integrate LearnHub Africa into their applications. Get early access by joining our developer program.
RESTful API
Access courses, users, and enrollments
Secure OAuth 2.0
Industry-standard authentication
Webhooks
Real-time event notifications
Official SDKs Coming Soon For:
Join Developer Beta Program
Getting Started
Quick start guide to integrate LearnHub Africa API into your application.
https://api.learnhubafrica.com/v1
Authentication
Secure your API requests with OAuth 2.0 authentication.
POST /oauth/token // Request Body { "grant_type": "client_credentials", "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET" }
API Endpoints
/courses
Retrieve a list of all available courses
/users/:id
Get user profile information
/enrollments
Enroll a user in a course
Error Codes
| Code | Description |
|---|---|
200 |
Success |
400 |
Bad Request |
401 |
Unauthorized |
404 |
Not Found |
500 |
Internal Server Error |
Rate Limits
API rate limits to ensure fair usage for all developers.