Endpoints
The public validation API lives under /api/v1/ and authenticates with an
API key (X-API-Key header). Two endpoints cover the whole signup-protection
workflow: check an email, and check your own usage.
| Endpoint | Method | What it does |
|---|---|---|
/check/ | POST | Validate an email (and optionally an IP) → decision, risk_score, signals, reasons |
/status/ | GET | Health check — confirms the API is reachable and your key is valid |
/usage/ | GET | Current billing-cycle usage stats for your key |
Endpoint schema notes for all three:
- All requests and responses are JSON over HTTPS.
- Authentication is the
X-API-Keyheader — see the authentication guide. JWT is accepted only by the internal dashboard and is not part of the public API. - Every successful response includes
"success": true.
Error codes
| Status | Meaning |
|---|---|
400 | Invalid request body or parameters |
401 | Missing or invalid API key |
402 | No active subscription — choose a plan to activate the API key |
403 | API key does not have permission (inactive or not owned) |
429 | Per-second rate limit exceeded (slow down and retry) |
Integrate defensively: fail open in your own code on any non-200 response
from /check/ — let the signup through (or challenge it) rather than
breaking your form when validation is unreachable.
Versioning
The API is versioned by path (/api/v1/). Version v1 only ever receives
additive changes — new optional fields, new response fields — never
breaking ones. signals and decision are the stable contract;
reasons text is informational and may change as we tune detection.
Quota vs rate limit (common confusion)
- Per-second rate limit →
429 Too Many Requests. Slow down and retry after a second. - Monthly quota → never an error. Past your plan limit,
/check/returns a normal200allow payload with the headerX-ShildMatrix-Quota: exceededso your signups keep flowing.