Integrations
Last changed 29 November 2026.
If your school already runs its own ground school, we do not want to replace it. We want what it teaches to land against the syllabus here, so that progress, the training record and the nightly check all see one student rather than two halves of one.
The short version. The chief instructor makes a key in Connections and ticks what it may do. Your system reads the syllabus and the roster, tells us once which of its ids mean which of ours, and then posts a line each time somebody finishes a ground module. If you would rather not keep asking whether anything happened, add a webhook and we will tell you.
What this is not
It is not a learning system. There is no course content here, no video and no question bank, and there should not be — that is a product you already have. It is also not LTI. LTI 1.3 is the standard for a learning system launching into another application's screens, which is a different shape of integration; if you need it, say so and we will talk about it as its own piece of work.
Getting a key
Connections on the school desk, which only the chief instructor can
add to. A key looks like fo_live_… and is shown once. It names
its school, so there is no school id anywhere in the API: a key cannot ask
about a school it was not made for.
The two that matter here:
| Scope | What it opens |
|---|---|
| training.read | The syllabus and who is on it. |
| training.write | Recording that a ground or sim lesson was completed. |
There are four more — books.read, records.read,
roster.read and audit.read — for bookkeeping and
records exports.
Four reads and one write
GET /v1/machine/self
What this key is and what it carries. Your first call, and the one that tells whoever set it up that it works.
GET /v1/machine/training/courses?source=moodle
Every course the school teaches, lesson by lesson, with each lesson's code,
title, kind and — at a Part 141 school — which stage it belongs to. Every
lesson carries recordable, which is the one question your
system has about it: may I write a completion against this?
source is whatever you call your system. It is your own
namespace and nothing more; lower-cased, letters, digits, dots, dashes and
underscores.
GET /v1/machine/training/students?source=moodle
Who is on a course and how far along. Names, because a system that cannot
say who it is teaching is no use. Email addresses only if the key
also carries roster.read — that scope's whole promise
is "the roster, without contact details", and handing out addresses under a
training scope would quietly break it.
POST /v1/machine/training/links
"Your id X is our row Y." Said once, kept for ever, and after that you can talk in your own ids.
curl -X POST https://api.checkrideops.com/v1/machine/training/links \
-H "authorization: Bearer fo_live_…" \
-H "content-type: application/json" \
-d '{"source":"moodle","kind":"student","yourId":"user-88","id":412}'
kind is student, course or
lesson. The same id of yours pointing at two different rows of
ours is refused rather than quietly repointed: that is a bug on your side
and hiding it would not help you.
POST /v1/machine/training/completions
The one write.
curl -X POST https://api.checkrideops.com/v1/machine/training/completions \
-H "authorization: Bearer fo_live_…" \
-H "content-type: application/json" \
-d '{
"source": "moodle",
"yourId": "quiz-7-user-88",
"student": { "yourId": "user-88" },
"lesson": { "code": "G-01" },
"outcome": "complete",
"note": "Scored 92%.",
"completedAt": "2026-04-02 14:00:00"
}'
yourId is your id for this completion and it is what makes the
call safe to retry: send the same one twice and the second is refused rather
than written. Name the student and the lesson by your id, by ours, or — for
a lesson — by its code, which is the thing your course documents are
probably already written in.
What the write cannot do
This is the part worth reading twice.
- Not a flight lesson. What makes a flight lesson real here is the Hobbs reading, the flight record and an instructor's signature. A grade arriving without them would make the record say an aeroplane flew when nothing in it says which aeroplane or for how long.
- Never a stage check. 14 CFR 141.37 is entirely about who may conduct one — designated in writing, approved by the Flight Standards office, not the student's own instructor, not whoever recommended them. A key holds no designation and cannot hold one.
- Not over an instructor's grade. If an instructor has sat with the student and graded the lesson, a module finishing afterwards does not quietly replace it.
Ground and sim lessons it can record, and what it writes names the key that wrote it and the system it came from. No person is invented for the machine: the record says where the grade came from, which is what an inspector asks.
Being told when something happens
Polling is the other way to do this and it is worse for both of us: you ask every few minutes whether anything happened and the answer is almost always no. Add a webhook in Connections and pick what you want:
| Event | When |
|---|---|
| enrollment.created | Somebody is put on a course. |
| lesson.graded | A lesson is graded, here or by you. |
| enrollment.ended | They graduate, stop, or transfer out. |
The body is JSON and always the same shape:
{ "event": "lesson.graded",
"at": "2026-04-02 14:03:11",
"school": 12,
"data": { … } }
Checking the signature
Every request carries checkride-signature, which looks like
t=1800000000,v1=<64 hex characters>. The hex is
HMAC-SHA256 over the exact string t + "." + body, keyed with
the signing secret you were shown once when you added the webhook.
The timestamp is signed, not merely sent, and you should check it.
A signature over the body alone can be replayed for ever: anybody who saw
one delivery could send it again next year and it would verify. Refuse a
t more than a few minutes old.
import hmac, hashlib, time
def ours(body: bytes, header: str, secret: str) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
if abs(time.time() - int(parts["t"])) > 300:
return False
want = hmac.new(secret.encode(), f'{parts["t"]}.'.encode() + body, hashlib.sha256)
return hmac.compare_digest(want.hexdigest(), parts["v1"])
Answer 2xx and we are done. Anything else and we try again — five times over about two hours, and then the delivery is left on the school's own screen, because a silent drop is the failure where a school believes its system is in step and it is not. An address that fails twenty times in a row is given up on until somebody turns it back on.
Your url has to be https and has to be on the internet. We will
not post to localhost or to a private address: the body carries
a student's name, and a url pointing back inside our own network would make
your integration a way to ask our infrastructure questions on your behalf.
Rate, size and honesty about what is here
Everything above is live today. What is not here yet: LTI, a push of flight records out to a learning system, and anything that would let an outside system touch money. If one of those is what you need, write to us — some of it is work we would do as its own module, and some of it we will tell you we are not going to build.
Something wrong on this page? It is the page a developer at your school will read at nine in the evening with no one to ask. If a sentence here sent you the wrong way, that is our mistake and we would like to hear about it.