School integrations
A read-only API for school-management platforms to look up students, fee structures, and payment status — without ever getting blanket access to every school on Sendjoor.
Test and live
School data is real data about real children, so it follows the same environment rule as everything else: a live key reads the live schools that approved you; a test key reads only the sandbox database, which holds no real schools in production. Build against the response shapes below, then use a live key — after your verification is approved — once a school has approved your integration.
Authorization model
A developer gets access to zero schools by default. To read one school's data:
- From Dashboard → Integrations, request access to a specific school id, naming which scopes you need.
- That school's own owner reviews the request from their own Sendjoor account and approves it — optionally narrowing the scopes, never widening them.
- Once ACTIVE, your API key can read that one school — and only that school — for the approved scopes.
- The school owner can revoke or suspend access at any time; API access stops immediately.
Important: every /v1/schools/* call returns 404 Not Found — never 403 Forbidden — for a school id that doesn't exist, a school you have no integration with, or a revoked/suspended integration. This is deliberate: it means the error response itself never tells you whether a given school id is real, only whether you can currently read it.
GET /v1/schools/:schoolId
Scope: SCHOOLS_READ.
{
"id": "...",
"name": "Bright Future School",
"slug": "bright-future",
"status": "ACTIVE",
"feeDataSource": "NATIVE"
}GET /v1/schools/:schoolId/students
Scope: STUDENTS_READ. Paginated (page/limit), filters: search (name/reg. no.), classLevel, admissionStatus.
{
"items": [
{ "id": "...", "regNo": "S001", "name": "Ada Okafor", "classLevel": "JSS1",
"enrollmentCategory": "NEW", "admissionStatus": "ACCEPTED", "createdAt": "..." }
],
"total": 1, "page": 1, "limit": 25, "pageCount": 1
}Deliberately minimized — never returns guardian contact details, KYC data, or any field not shown above.
GET /v1/schools/:schoolId/students/:studentId
Scope: STUDENTS_READ. Same fields as above, plus active.
GET /v1/schools/:schoolId/fees
Scope: FEES_READ. Defaults to the school's currently active term; pass termId for another. Paginated, filter by classLevel.
{
"items": [
{ "id": "...", "termId": "...", "classLevel": "JSS1", "name": "Tuition",
"itemType": "TUITION", "audience": "BOTH", "amountKobo": 5000000,
"isCompulsory": true, "dueDate": null }
],
"total": 1, "page": 1, "limit": 25, "pageCount": 1
}GET /v1/schools/:schoolId/students/:studentId/payment-status
Scope: PAYMENTS_READ. Optional termId (defaults to the active term).
{
"studentId": "...",
"termId": "...",
"amountDueKobo": 5000000,
"amountPaidKobo": 2000000,
"amountOutstandingKobo": 3000000,
"status": "PARTIALLY_PAID",
"paymentReference": "ch_...",
"lastTransactionAt": "2026-10-01T09:00:00.000Z",
"updatedAt": "2026-10-01T09:00:00.000Z"
}status is one of OWING, PARTIALLY_PAID, PAID, CANCELLED, or REFUNDED — a stable public vocabulary mapped from the school's internal obligation status, not a 1:1 passthrough of it.