REST Endpoints
The full set of public REST endpoints. Base URL: https://api.certilayer.net.
Endpoints
/v1/ingestSubmit a raw behavioral event batch for scoring. Served by the ingestion gateway.
/v1/session/:session_idFetch the stored HCS result and verdict for a previously scored session.
/v1/demo/live-scoreCompute a live HCS score from a real 34-dimensional feature vector — used by the public demo.
/v1/org/usageCurrent plan, sessions used this billing month, and the plan's session limit.
/v1/support/ticketsCreate a support ticket linked to your organization.
/v1/leadsCapture a marketing lead — used by the pricing page and chat widget.
/auth/registerStart account creation. Returns an OTP-required state, not a session.
/auth/loginStart login. Returns an OTP-required state before issuing tokens.
/auth/refreshRotate an access/refresh token pair.
/auth/logoutRevoke the current refresh token.
/healthLiveness check. Returns 200 if the service is up.
Ingesting a session
Most integrations never call /v1/ingest directly — the SDK handles batching and flush intervals for you. Direct calls are useful for server-side scoring or testing.
curl -X POST https://api.certilayer.net/v1/ingest \
-H "X-API-Key: certilayer_live_sk_xxx" \
-H "Content-Type: application/json" \
-d '{
"session_id": "550e8400-e29b-41d4-a716-446655440000",
"sdk_type": "web",
"captured_at": "2026-08-07T12:00:00Z",
"signals": [],
"features": [0.0, 0.0]
}'Checking a result
curl https://api.certilayer.net/v1/session/550e8400-e29b-41d4-a716-446655440000 \
-H "X-API-Key: certilayer_live_sk_xxx"{
"session_id": "550e8400-e29b-41d4-a716-446655440000",
"hcs": 0.7424,
"m3_score": 0.8991,
"verdict": "human_verified"
}X-API-Key header. See Authentication for key types and where each one is safe to use.