Docs API reference
API reference
All 124 endpoints and every payload, generated from the API's own OpenAPI contract.
Base URL
Every endpoint lives under /api/v1 on your deployment's host. Examples use $API for that origin, for example export API=https://lms.example.com.
Authenticating
Server-to-server calls send an API key; a signed-in person sends a login token.
X-API-Key: nbl_ab12cd34.<secret>
Authorization: Bearer <access token>The tenant is always taken from the credential. See the Authentication guide.
Conventions at a glance
- JSON everywhere. Send
Content-Type: application/json; the only exception is file upload (multipart/form-data). - Ids are UUIDs. Timestamps are ISO 8601 in UTC.
- No nulls. A field with no value is omitted from responses.
- Errors are problem details (
application/problem+json) withstatusanddetail, and sometimeserrorsorproblems. See Errors. - Lists are plain arrays, except people and enrollments, which are paged with
limitandoffset. See Conventions.
Resources
Authentication & tenantsSign in, API keys, and creating tenants.7 endpointsCourses & versionsCreate, version and publish courses.10 endpointsSections, lessons & blocksThe content tree inside a draft course.13 endpointsQuestion banksReusable questions with immutable versions.9 endpointsQuizzes (assessments)Build quizzes from questions and pools.9 endpointsCertificate designsTemplates for certificates.7 endpointsFilesUpload and manage images, video and documents.5 endpointsProducts & rolesWhat you sell, and what each kind of learner gets.6 endpointsCustomers, licenses & membersOrganizations, seats, invitations and who belongs where.13 endpointsLearners & peopleYour users, their courses and their progress, by your own ids.14 endpointsEnrollments & progressWho is taking what, and how far along they are.4 endpointsGradingThe manual grading queue and attempt review.3 endpointsCertificatesIssued certificates, PDFs and public verification.5 endpointsWebhooks & eventsGet told when things happen.6 endpointsLearner APIWhat a signed-in learner does, for building your own front end.13 endpointsData modelsEvery payload shape and its constraints.Reference