Get Started

Safety API for platforms

Always Safety is the source of truth for safety rules. Your app or website calls the Safety API instead of keeping its own copy of the rules.

Always Safety is a guide to the rules around safe follow-up: privacy, children and young people, and emails and texts. It is not legal advice, and it does not cover charity reporting or governance. Each ministry remains responsible for its own legal advice and decisions.
A ministry app or website calls the Always Safety API, which uses the rules register and the check-up. Your app or websiteasks for the rules Always Safetykeeps them up to date The current rulesand a check-up
Instead of every ministry app keeping its own copy of the rules, it asks Always Safety for the current ones.
What's live. The register and the check-up are live and free at https://alwaysfoundation.org/api/v1/safety/register and /api/v1/safety/check. The signed-in endpoints and webhooks below are in the open-source Always Platform code; the hosted API at https://api.alwaysfoundation.org is not yet open to builders, so run Always Platform yourself if you need them now.

Public endpoints

No sign-in. Open to any website (CORS). They take organisation facts only and store nothing.

At alwaysfoundation.org/api today: register and check. The versions and changes calls come with the hosted API.

CallReturns
GET /v1/safety/registerThe latest published register (or the marked draft), with an ETag. Send If-None-Match to get 304 when nothing changed.
GET /v1/safety/register/versions{ versions: [{ version, status, publishedAt, summary }] }
GET /v1/safety/register/{version}One version. It never changes.
GET /v1/safety/changesWhat changed between versions, newest first
POST /v1/safety/checkA check-up from a profile and answers. Nothing is stored.

Check-up request

POST /v1/safety/check
content-type: application/json

{"profile":{"countries":["AU","NZ"],"states":["NSW"],"collectsPersonalInfo":true,
  "worksWithChildren":true,"sendsEmailOrSms":true,"acncRegistered":true},
 "answers":{"wwcc-register":"yes"}}

countries takes AU, US, CA, GB, EU and NZ. Choose Australia and you need at least one state. Questions you leave out read as no, and a profile without countries means Australia. The profile questions in the register say which questions apply to which countries.

Answers use yes, no, unsure or not_applicable, keyed by the evidence ids in the register.

Check-up response

{"asOf":"2026-11-24T00:00:00.000Z","registerVersion":"2026.11.1","registerStatus":"draft",
 "summary":{"required":12,"met":3,"attention":1,"check":7,"upcoming":1},
 "items":[{"obligationId":"…","area":"child_safety","title":"…","summary":"…",
   "strength":"required","status":"met","missing":[],"unanswered":[],
   "law":[{"name":"…","url":"…"}],"guidance":"…"}],
 "watching":[{"obligationId":"…","title":"…","summary":"…"}],
 "notice":"…"}

The numbers above are illustrative. status is met, attention, check or upcoming.

Signed-in endpoints

Sign in as an admin of your organisation, or use an API token with the safety scope.

CallWhat it does
GET /v1/safety/profile and PUTYour organisation's profile and answers
PUT /v1/safety/answersSave answers to evidence questions
GET /v1/safety/assessmentYour live assessment
GET /v1/safety/assessmentsYour quarterly assessments
POST /v1/safety/assessments/{id}/approveApprove a quarterly assessment. A signed-in person only; tokens can't approve.

Webhooks for rule changes

Register an endpoint with POST /v1/webhooks (body { url, events }). Deliveries are CloudEvents 1.0, signed with always-signature: v1=<hmac> over <always-timestamp>.<body>.

EventWhenData
always.safety.register.publishedA new register version is publishedVersion, status, summary and the list of changed obligations
always.safety.obligations.affectedA change affects an obligation that applies to your organisationRegister facts and IDs only, never people

Earlier names

Paths under /v1/compliance/, the compliance scope and the always.compliance.* events still work, so nothing you've built breaks. Responses on the old paths carry a Deprecation header pointing to the new path. Move to the safety names when you next ship.

Policy settings

Example only. Policy settings are coming and are not in the API yet. The field names below show the intended shape and may change.
{
  "minimumAge": 13,
  "guardianConsentUnder": 15,
  "under18Access": ["respond", "connect"],
  "jurisdictions": ["AU-NSW", "NZ"],
  "messaging": { "under18": "none", "quietHours": "20:00-08:00" }
}

Each ministry chooses its settings, with its own legal advice. These guardrails stay fixed whatever the settings:

  • No AI on young people's information.
  • Nobody under 18 is sent to messaging, marketing or other connected tools.
  • Webhooks carry IDs only, never names or contact details.

Your data

A partner platform doesn't need to send any member's personal information to Always Safety to use the check-up, the rules register or the guardrails. It works on policy settings, organisation facts and IDs. Any sharing of personal information needs the ministry's written approval and a stated purpose.

The engine is also in the open-source @always/core package as assess(), and the MCP connector has safety_obligations and safety_check tools for AI assistants.

Before you build on it

  • It's free and open source. The code is Apache-2.0 and the register is CC BY 4.0. It comes with no warranty, so test it in your own product before you rely on it.
  • Check with your lawyers. The register is a draft guide, not legal advice. Have someone qualified where you operate check the rules your product shows, and how it handles personal details.
  • Check the technology. Review the code, your dependencies and your security settings yourself, especially code written quickly or with AI help: secrets in code, missing access checks, and personal details in logs are the usual problems.
  • Tell us what you find. Report bugs and wrong or missing rules as GitHub issues. Report security problems privately to admin@alwaysfoundation.org, as SECURITY.md explains.

For platforms

Build your ministry app or website on top of Always Safety, a module of Always Platform, instead of building your own rules. Always Safety is the source of truth for the obligations register, rule changes, the check-up and the guardrails.

Why plug in

  • One source of truth. Your product uses the same register and check-up as every other ministry platform.
  • Changes reach everyone at once. When a rule changes or the check-up improves, every platform that plugs in gets it.
  • No personal information needed. The check-up, register and guardrails work on policy settings, organisation facts and IDs.

Use the register today

The register is live as open data under CC BY 4.0, covering six regions in draft. Download register.json, or run the same engine in your own code with assess() from the open-source @always/core package.

Embed the check-up

<script type="module" src="https://alwaysfoundation.org/sdk/v0/safety-widget.js"></script>
<always-safety-check accent="#5B67D8"></always-safety-check>

Set accent to your brand colour and listen for the always-safety-result event to see the totals. Nothing is stored, and there are no cookies or tracking. Set api to use your own copy of Always Platform.

Call it from your own code

See the Safety API for endpoints, auth, request and response shapes, and the webhook events for rule changes.

Guardrails in your code

import { ageGuard, requireConsent, personalDataProblems, spamActProblems } from '@always/sdk';

if (!ageGuard(person.ageBand).aiAllowed) skipAi();
requireConsent(person.consent, 'connect.church');    // throws without consent
personalDataProblems(notificationText);              // [] when there are no emails or phone numbers
spamActProblems({ consented, sender, unsubscribeUrl, body });

These run in your own code, so no one's details leave your platform. Some guardrails can't be configured:

  • No AI on young people's information.
  • Nobody under 18 is sent to messaging, marketing or other connected tools.
  • Webhooks carry IDs only, never names or contact details.

Your data

A partner platform doesn't need to send any member's personal information to Always Safety to use the check-up, the rules register or the guardrails. It works on policy settings, organisation facts and IDs. Any sharing of personal information needs the ministry's written approval and a stated purpose.

Before you build on it

  • It's free and open source. The code is Apache-2.0 and the register is CC BY 4.0. It comes with no warranty, so test it in your own product before you rely on it.
  • Check with your lawyers. The register is a draft guide, not legal advice. Have someone qualified where you operate check the rules your product shows, and how it handles personal details.
  • Check the technology. Review the code, your dependencies and your security settings yourself, especially code written quickly or with AI help: secrets in code, missing access checks, and personal details in logs are the usual problems.
  • Tell us what you find. Report bugs and wrong or missing rules as GitHub issues. Report security problems privately to admin@alwaysfoundation.org, as SECURITY.md explains.

Talk to us to be among the first on the hosted API.