Documentation
Guides, API reference and events for eLearning.
On this page
Rules shared by every R&D Copilot API are in the Developer guide.
Get started
- Overview: Connect your staff directory, assign training, and read back completion and certificate records.
- Quickstart: Assign a course in your test company and find the enrolment it creates.
- Authentication: Get client credentials, request a token and call the eLearning API with it.
- Sandbox and live: Build and test against a test company, then move the same calls to your live company.
- Go-live checklist: Check tenant access, assignments and webhook recovery before connecting live HR data.
Concepts
- Users and groups: Users are the learners in your company, and groups are the membership lists used for assignment.
- Courses, lessons and paths: A course contains lessons, and a path brings courses together for one assignment.
- Assignments and statuses: Read the status together with the due date, completion date and revision.
- Completion, scores and certificates: Progress counts finished lessons, while the score measures the latest quiz attempt.
- Content packages: A course package carries a course ID, title and ordered lessons: readings, checklists and a quiz.
Guides
- Sync users from HR: Keep learner IDs stable when people change teams or names.
- Assign by rule: Apply a rule such as assigning onboarding when HR adds someone to the New hires group.
- Track progress: Write learner actions against the assignment revision and read back the resulting progress.
- Issue and renew certificates: Read the certificate after completion and retain the old record when issuing a renewal assignment.
- Import a course package: Import a course made of readings, a checklist and a quiz, then confirm it in the catalogue.
- Embed the course list: Render the course catalogue inside your own staff portal with a server-side API call.
Reference
- Errors: The error object of the eLearning API and the codes that say what went wrong.
- Idempotency and concurrency: Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
- Pagination: Lists come in pages. Follow the cursor until it is empty.
- Limits: The limits of the eLearning API, with their values and what happens over them.
- Versioning: The version is in the path. Additions keep it; a change that could break a caller gets a new one.
- Changelog: Version history of the eLearning API contract.
API reference
- Users: Read and synchronize learner records from your staff directory.
- Groups: Read groups and replace their membership when staff move.
- Courses: Find courses and learning paths, or import a package of readings, checklists and quizzes.
- Assignments: Assign training to a group, find learner records and send reminders.
- Progress: Start an assignment, record lessons and quiz attempts, and read progress.
- Certificates: Read certificates together with their issue and validity dates.
- Reports: Read counts for completion, overdue work and expiring certificates.
- Event delivery: Inspect event delivery, register an endpoint and replay parked events.
- Operations: A request that changes data is accepted once and answered with an operation result you can read again.
Events
- Event envelope: Every eLearning event has the same envelope; only
datachanges with the type of the event. - Event catalogue: Use assignment and certificate events to keep the training record in your HR system current.
- Subscriptions: Register an HTTPS endpoint and eLearning sends your events to it, each one signed.
- Verify signatures: Every delivery is signed. Check the signature on the raw body before you trust the event.
- Delivery and retries: An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.
- Replay: Send a parked event again once your endpoint is ready to take it.