REST API & Webhook

Connect OMC Learning to your systems

Assign courses, read progress and verify certificates through the REST API, with webhooks pushing the events that matter back to you in real time.

POST /api/v1/enrollments
# Assign a course to an employee from your HR system
curl -X POST https://learning.omc/api/v1/enrollments \
  -H "Authorization: Bearer <api_key>:<secret>" \
  -H "Content-Type: application/json" \
  -d '{
    "user_email": "somchai@company.co.th",
    "course_code": "CRS-0001",
    "due_at": "2026-12-31"
  }'

# Response
{
  "ok": true,
  "data": {
    "enrollment_id": 1042,
    "status": "assigned",
    "progress_percent": 0
  }
}
REST API & Webhook

Connect OMC Learning to your systems

Use the REST API to create users, assign courses, read progress and verify certificates — and receive the events that matter through webhooks, every one of them signed.

  • HR SystemNew joiners are created and assigned onboarding courses automatically.
  • CRM / Agent PlatformUnlock an agent's permissions once they pass the training and hold the certificate.
  • Dealer PortalPull each dealer's training status into your own portal.
  • Mobile App / IntranetShow courses and a user's progress inside your own app.
user.created enrollment.created course.completed exam.passed certificate.issued certificate.revoked
Endpoints

The main endpoints

Every endpoint is bound to the organization that owns the API key, and cannot reach across organizations.

MethodPathDescription
POST /api/v1/users Create a user in the organization
GET /api/v1/users List users, with search and paging
GET /api/v1/courses List published courses
POST /api/v1/enrollments Assign a course to a learner
GET /api/v1/users/{id}/progress A user's learning progress
GET /api/v1/certificates The organization's certificates
GET /api/v1/certificates/{code}/verify Check a certificate
The API is available when your organization's plan includes it. API , and the secret is shown once, at creation.

Ready to start developing your people?

Create your organization on OMC Learning and start building your first course straight away.