Documentationv1

Build with Lectern

REST API, webhooks, SSO and bulk-import for the schools and partners building on top of Lectern. Plain English - with curl.

Hello, world

List learners with a single request

Every Lectern resource works the same way: a versioned REST URL, a bearer token, and consistent JSON. Pagination is cursor-based, errors are predictable, idempotency is on by default.

  • Versioned via the Lectern-Version header
  • Bearer-token auth, scoped per integration
  • Cursor pagination · idempotent writes
  • Webhook signing with HMAC-SHA256
Read the quickstart
cURLNodePython
Copy
$ curl https://api.lectern.school/v1/learners \
    -H "Authorization: Bearer sk_live_…" \
    -H "Lectern-Version: 2026-01-01"
Response200 OK
application/json
{
  "data": [
    {
      "id": "lrn_8aJ4F",
      "name": "Sipho Dlamini",
      "grade_level": "10",
      "class": "10A",
      "school_id": "sch_lectern_demo"
    }
  ],
  "has_more": false
}

Building something interesting?

We’d love to hear about it - and help where we can.

Talk to engineering