Skip to content
BursaryDocs

Receiving change events

Bursary sends an HTTPS POST to your endpoint for each change to an institution that passes your filters. You register the endpoint in the developer console.

Add your HTTPS URL in the console. It starts as pending and receives nothing yet. The console shows the endpoint’s signing secret once, and there is no way to show it again. Store it where your handler can read it.

If you lose the secret, delete the endpoint and register it again.

When you choose Verify in the console, Bursary sends your endpoint a signed POST:

{ "type": "endpoint.verification", "challenge": "…", "sentAt": 1756800000 }

Check the signature as in step 3, then answer any 2xx with a JSON body that echoes the challenge:

{ "challenge": "…" }

The endpoint is then active. You can verify again at any time, for example after moving your handler, and verifying also turns a disabled endpoint back on.

Each delivery carries three headers. The verification request carries the event and signature headers only.

x-bursary-event: institution.accreditation.updated
x-bursary-delivery: 019fd39c-00c4-7000-9f21-6b0c5a2e4d90
x-bursary-signature: t=1756800000,v1=<hex>

v1 is an HMAC-SHA256, in lowercase hex, of <t>.<raw body>, keyed with your signing secret. t is the send time in Unix seconds.

Compute it over the raw bytes you received, before parsing. JSON that you parse and serialize again won’t produce the same bytes. In Node:

import { createHmac, timingSafeEqual } from 'node:crypto';
export function verify(rawBody, signatureHeader, secret, toleranceSeconds = 300) {
if (typeof signatureHeader !== 'string') {
return false;
}
const parts = Object.fromEntries(signatureHeader.split(',').map((part) => part.split('=')));
const sentAt = Number(parts.t);
if (!Number.isFinite(sentAt) || Math.abs(Date.now() / 1000 - sentAt) > toleranceSeconds) {
return false;
}
const expected = createHmac('sha256', secret).update(`${sentAt}.${rawBody}`).digest();
const received = Buffer.from(parts.v1 ?? '', 'hex');
return received.length === expected.length && timingSafeEqual(received, expected);
}

Rejecting an old t stops someone from replaying a request they captured. Choose a tolerance that fits your clock.

Bursary checks its sources once a day, and at 08:00 UTC turns the day’s changes into deliveries. Each delivery waits about five minutes before it is sent, so that if you fetch the institution on receipt, you normally get the record after the change.

A change reaches your endpoint when its severity is at or above your floor and your tier includes its event.

Severity Meaning
routine Expected, scheduled, or administrative
watch Worth knowing. The default floor
warning Something is going wrong
severe Act on this

The default floor, watch, leaves out routine accreditation renewals, which are most accreditation actions.

Event Tier
institution.correction.issued Every tier, including Developer
institution.accreditation.updated Startup
institution.title_iv_eligibility.changed Startup
institution.closed Startup
institution.hcm.changed Growth
institution.title_iv_volume.declined Growth
institution.composite_score.updated Growth
institution.letter_of_credit.changed Growth
institution.program_review.published Growth
institution.fine.imposed Growth
institution.ownership.changed Growth
institution.name.changed Growth

Bursary doesn’t send five of these yet: institution.title_iv_eligibility.changed, institution.composite_score.updated, institution.letter_of_credit.changed, institution.program_review.published, and institution.fine.imposed. You can choose them now, and they start arriving when Bursary begins sending them.

Today institution.ownership.changed is sent when the cash monitoring list reports a different institution type for a school, such as a for-profit that became a nonprofit.

You can also choose which events an endpoint receives. Your choice narrows what your tier includes.

  • Choosing nothing means every event your tier includes, now and in the future. New event types reach you automatically.
  • Choosing a list means only those events. New event types don’t reach you until you add them.
  • Choosing an event above your tier is allowed. It starts arriving when you upgrade.
  • Changing the list affects future changes only. Nothing is sent again for the past.

institution.correction.issued goes to every active endpoint, whatever your tier, floor, or event list. It retracts something Bursary told you, and it goes to every endpoint, including ones that never received the original. data.supersedes names the change it replaces, so you can find and undo it by that id.

{
"id": "019fd39c-00d2-7000-a61e-3b9f4c0d7e25",
"type": "institution.accreditation.updated",
"dispatchedAt": "2026-09-02T08:00:00.000Z",
"data": {
"changeId": "019fd39c-00b1-7000-8a3f-0d2f4c9d1e77",
"changeType": "accreditation_action",
"supersedes": null,
"severity": "warning",
"observedAt": "2026-09-01T22:14:03.118Z",
"effectiveAt": "2026-08-15T00:00:00.000Z",
"field": null,
"previousValue": null,
"currentValue": null,
"summary": "…",
"subject": { "sourceId": "dapip", "key": "…", "name": "…" },
"institution": {
"id": "019fd39c-0098-7070-9cc9-359d3ed6ce29",
"name": "Alabama A & M University",
"city": "Normal",
"state": "AL",
"zip": "35762",
"control": 1,
"level": 1,
"closedAt": null
}
}
}
  • data.institution is the institution the change is attached to. It carries id, name, city, state, and zip, plus control, level, and closedAt from Startup up. It has no identifiers or contact fields. Fetch the record for more.
  • data.subject is what the change was about. For a branch campus’s accreditation action, subject names the campus and institution names the parent. Show subject so a campus’s probation doesn’t read as the whole institution’s.
  • field, previousValue, and currentValue name a single value that moved, such as an accreditation’s status. They are null on a change that isn’t one value moving, such as the accreditor’s action above, which summary describes.
  • data.supersedes is on every event. It is null except on a correction.
  • observedAt is when Bursary saw the change, and effectiveAt is when the publisher says it happened.

A delivery doesn’t count against your monthly allowance. Fetching the record afterward does.

  • id, in the body, identifies the event. A retry or a replay repeats it, so deduplicate on it.
  • x-bursary-delivery, in the headers, identifies one attempt. Quote it to support about a specific request.

The body is fixed when the event is dispatched. A retry hours later sends the same bytes, and a replay of an old delivery shows what Bursary said then.

Anything other than a 2xx within 5 seconds is a failure. Bursary tries six times over about five hours, waiting 10, 20, 40, 80, and then 160 minutes between attempts. A delivery that fails all six is exhausted. The console keeps its payload and your last response, and you can replay it from there.

Twenty exhausted deliveries in a row disable the endpoint. Verify it again in the console to turn it back on.

When an attempt fails, Bursary keeps the first 4 KB of your response and shows it in the console, so put the useful part of an error message first.

  • Answer 2xx within 5 seconds. Queue the work instead of doing it before you answer.
  • Verify the signature over the raw body before parsing.
  • Deduplicate on id. A delivery can arrive more than once.
  • Check data.supersedes on every event, not only on corrections.
  • Ignore event types you don’t handle instead of failing. New types get added, and a handler that fails on them gets the endpoint disabled.