canonical: https://jentic.com/apis/schooltracs.com/schooltracs

# SchoolTracs Public API

The SchoolTracs Public API connects your own software to a SchoolTracs tuition or activity centre, covering students, leads, lessons, courses, enrolments, staff, and rooms. It marks attendance against a lesson, schedules and cancels make-up lessons, and creates or cancels enrolments. On the finance side it reads invoices, receipts, and order items, changes an invoice's due date, and voids an invoice. Every key is bound to one organisation and one centre, and list endpoints share the same filter, sort, sparse-fields, and include query tools.

## For AI agents

Manage a SchoolTracs centre's students, leads, lessons, enrolments, and attendance, and read or adjust its invoices and receipts.

## Scope

Does not take card payments, run video classes, or host course content for learners. Use for managing a SchoolTracs centre's students, lessons, enrolments, and billing records only.

## Capabilities

- Mark a student's attendance on a lesson with codes such as P for present or A for absent
- Schedule or cancel a make-up lesson that moves a student to another lesson
- Enrol a student in a lesson or course, and update or cancel the enrolment
- Push web enquiries into SchoolTracs as leads with one create-or-update call
- Create and update students, courses, lessons, fees, products, rooms, and staff members
- Read invoices, receipts, and order items, change an invoice dueDate, or void an invoice
- Write and edit journal notes about a student, optionally tied to a lesson

## Use cases

### Front-desk agent marking attendance and make-ups

A centre's front-desk assistant agent handles the daily register without a developer wiring SchoolTracs by hand. Through Jentic it searches for 'mark attendance for a lesson', loads the SchoolTracs attendance operation with its input schema, and records each student's code against the lesson while the X-Api-Key is injected at call time. When a student is absent, the agent schedules a make-up into another lesson with the student's customerId and the target toActivityId.

Example prompt: PATCH `/activities/{id}/attendance` with customerId and attendance set to A, then POST `/activities/{id}/makeup` with customerId and toActivityId for the replacement lesson

### Web enquiry to lead capture

A centre's website enquiry form sends each submission straight into SchoolTracs instead of an inbox. The lead endpoint creates a new lead from the enquiry, or updates the existing lead when an id is sent, so follow-up calls happen from one list. A FREE plan key can still write leads and students, which covers this flow.

Example prompt: POST /leads with the enquiry's name, contact1Name, contact1Phone, and contact1Email, then GET `/leads/{id}` to confirm the record

### Timetable display screen

A lobby screen shows tomorrow's lessons, rooms, and teachers. It lists lessons with filter[date] set to tomorrow and include set to embed related records, then lists rooms for the centre. Responses carry a meta.links.next URL, so the screen follows pagination until it is null.

Example prompt: GET /activities with filter[date] set to tomorrow's date in YYYY-MM-DD format, and GET /facilities for the centre's rooms

### Invoice follow-up and accounting sync

On a PAID plan, a finance process reads invoices and receipts to reconcile them with the centre's accounting system. It filters invoices by dueDate or dueAmount to find unpaid ones, moves a due date with the invoice PATCH, and voids an invoice issued in error. Receipts are never deleted; reversals show up through filter[reversed].

Example prompt: GET /invoices with filter[dueDate] for last month and include set to customer, then PATCH `/invoices/{id}` with a new dueDate for one invoice

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/activities` | List lessons |
| PATCH | `/activities/{id}/attendance` | Mark attendance |
| POST | `/activities/{id}/makeup` | Schedule a make-up lesson |
| POST | `/enrollments` | Create an enrolment |
| GET | `/customers` | List students |
| POST | `/leads` | Create or update a lead |
| GET | `/invoices` | List invoices |
| POST | `/invoices/{id}/void` | Void an invoice |

## Key resources

- **Students (customers)** — Student records with contact, billing, and app-connection fields
- **Lessons (activities)** — Timetabled lessons with attendance marking and make-up scheduling
- **Enrolments** — A student's place in a lesson or course, with confirm and cancel actions
- **Leads** — Enquiries created or updated from web forms and other intake
- **Invoices and receipts** — Billing records with due-date changes, voiding, and reversal tracking

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 60 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 47 / 100
  - Developer Experience & Jentic Compatibility: 70 / 100
  - AI-Readiness & Agent Experience: 51 / 100
  - Agent Usability: 93 / 100
  - Security: 50 / 100
  - AI Discoverability: 71 / 100
- **View full report:** https://jentic.com/apis/schooltracs.com/schooltracs/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring SchoolTracs by hand means sending the X-Api-Key header, learning its bracketed filter[field] and fields[table] query syntax, following meta.links.next for paging, and pacing calls under per-plan limits. Through Jentic you install once, import SchoolTracs from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** SchoolTracs puts the record id in the URL path (`/activities/{id}/attendance`, `/invoices/{id}/void`), so a rule can bound your agent to chosen operations and, where needed, specific records. You choose the operations it may call, so ones like voiding an invoice or cancelling an enrolment are not included unless you add them.
- **Credential handling:** Your SchoolTracs key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'mark attendance for a lesson' or 'list overdue invoices', and Jentic returns the matching SchoolTracs operation with its input schema, including the filter parameters, so the agent builds the query correctly.

## Related APIs

- **Pike13 API** — Client scheduling and attendance for studios and activity businesses
- **Mindbody** — Class booking and client management for fitness and wellness studios
- **Xero Accounting** — Accounting ledger for invoices, payments, and contacts

## FAQ

### What authentication does the SchoolTracs Public API use?

Per its OpenAPI spec, the SchoolTracs Public API authenticates with an API key sent in the X-Api-Key header. You create the key under Settings, Integration, API access, and each key is bound to one organisation and one centre. Through Jentic the key is stored by your own instance and attached to each call, so the agent never sees it.

### Can I mark attendance with the SchoolTracs Public API?

Yes. PATCH `/activities/{id}/attendance` takes a required customerId and attendance code, with enum values such as P, A, and L, plus an optional remark. To move an absent student, POST `/activities/{id}/makeup` schedules a make-up into another lesson by toActivityId.

### What are the rate limits for the SchoolTracs Public API?

The OpenAPI spec states plan-based limits: a FREE centre gets 20 requests per minute and a PAID centre gets 120 requests per minute, with separate daily and monthly caps. Historical pulls are capped at 5 per minute on every plan. The spec's info section lists the full table.

### Is there a SchoolTracs MCP server?

You don't need an MCP server to give your agent SchoolTracs. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent calls the lesson, enrolment, and invoice operations on demand without another server's tool definitions loaded into its context.

### How do I list tomorrow's lessons through Jentic?

Search Jentic for 'list lessons for a date', load the GET /activities operation, and call it with filter[date] set to tomorrow in YYYY-MM-DD format. Follow meta.links.next in the response until it is null to collect every page. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the SchoolTracs Public API?

Yes. Write a rule that allows only GET /activities and PATCH `/activities/{id}/attendance`, so a register agent can see the timetable and mark attendance but cannot touch invoices, enrolments, or student records. Every call it makes is logged.

### What can a FREE SchoolTracs plan key do through the API?

The spec says a FREE key can read most resources but can only write students and leads, and cannot read invoices, receipts, order items, or journal entries. Lessons are limited to a rolling window around today, and the customer list returns a reduced field set.
