Developers

Build on Klasstack as your school backend.

Your own developers, or the vendor you hire, can run your school website, parent portal or mobile app on the same records the dashboard uses. One API, one set of keys, your data only.

What the API is

Klasstack runs your school records: students, classes, results, fees, messaging. The API puts those records behind a stable HTTP interface at https://api.klasstack.com/v1 so you can build your own front end on top of them and keep using the Klasstack dashboard at the same time.

It is headless, not multi-school. Every key belongs to one school and can only ever reach that school data. There are no standalone developer accounts: a developer is either the school own staff or a vendor the school has invited.

How to get a key

  1. Open the Developer section

    It lives inside your school dashboard, alongside the rest of the settings. School admins have access by default, and an admin can invite an outside vendor as a Developer member who sees only this section.

  2. Turn on multi-factor authentication

    MFA is mandatory for everyone holding developer access. You will be asked to enrol before you can create an app, and again when you approve anything risky.

  3. Create an app and take your test keys

    Name the app, tick the services it needs and the read or write access for each, and your test keys are issued immediately. Build the whole integration against them at no cost.

  4. Go live

    A live key needs the school KYC approved and an admin to switch the app live, with an MFA re-check. The key is shown once, so store it in your server secret manager right away.

Open your school dashboard to find the Developer section, or read the authentication guide first.

Your first request

Paste this, swap in your test key, and you have a working call. A test key answers from the documented example, so it works before the school is live and it is never billed.

Request
curl https://api.klasstack.com/v1/school \
  -H "Authorization: Bearer ks_test_sk_your_key_here"
Response
{
  "data": {
    "id": 14,
    "name": "Springfield Academy",
    "subdomain": "springfield",
    "city": "Lekki",
    "state": "Lagos",
    "currency": "NGN"
  },
  "meta": { "request_id": "req_01HZY8N2Q0K3M4P5R6S7T8U9V0", "cost": 0 }
}

The guides