For platforms
Do Not Connect API
Authenticated endpoint platforms call at signup to check whether a phone number belongs to a minor on the Safegen Do Not Connect register. Self-serve test keys are available immediately; production register access requires an authorised production key.
Create integration test accountPOST
/api/checkRequest
curl -X POST https://child-social-media-check.vercel.app/api/check \
-H "Authorization: Bearer sg_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "fixture:match"
}'Response
{
"listed": true,
"blockRequested": true,
"action": "reject",
"checkedAt": "2026-07-02T04:15:00.000Z"
}listed— whether the number is on the active register (null for fixture:unknown).blockRequested— whether the parent requested platforms block this number.action—rejectwhen listed with a block request, otherwiseallow(orunknownfor inconclusive fixtures).
Integrate at signup
// At signup, before creating the account
const res = await fetch("https://child-social-media-check.vercel.app/api/check", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${process.env.SAFEGEN_API_KEY}`,
},
body: JSON.stringify({ countryCode: "+61", phone: signupPhone }),
})
const { action } = await res.json()
if (action === "reject") {
return denySignup("This number is registered as belonging to a minor.")
}