Developers
API reference
Use the CultLMS REST API and webhooks to integrate with your existing systems.
Every object in CultLMS — institutes, batches, courses, tests, attempts and students — is available through a REST API.
Coming soon. The REST API and webhooks ship with CultLMS Cloud. Today, automate with the CLI — every command works in scripts and CI.
Authentication
Create an API key in Settings → API keys and send it as a bearer token:
curl https://api.cultlms.com/v1/batches \
-H "Authorization: Bearer $CULTLMS_TOKEN"
Self-hosted installs serve the same API at https://your-domain/api/v1.
Example: list attempts for a test
curl "https://api.cultlms.com/v1/tests/neet-mock-12/attempts?limit=50" \
-H "Authorization: Bearer $CULTLMS_TOKEN"
Webhooks
Subscribe to events in Settings → Webhooks. Each request is signed with an X-CultLMS-Signature header (HMAC-SHA256).
| Event | Fired when |
|---|---|
student.enrolled | A student joins a batch |
attempt.submitted | A test attempt is submitted |
assignment.graded | A teacher releases a grade |
payment.captured | A Razorpay payment succeeds |
Rate limits
600 requests per minute per key on Cloud. Self-hosted installs set their own limits.