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) with status and detail, and sometimes errors or problems. See Errors.
  • Lists are plain arrays, except people and enrollments, which are paged with limit and offset. See Conventions.

Download openapi.json

Resources

Type to search guides and every endpoint.