Documentación

Todo lo que necesita para integrar y operar CaptchaCore. Si tiene prisa, bastan el inicio rápido y un vistazo a la respuesta de verify.

Todos los capítulos

Lo esencial en breve

1 · Incluir el widget
<script src="https://src-eu.captchacore.eu/widget/captchacore-v2.min.js"
        data-service-url="https://api.captchacore.eu"
        data-site-key="cc_pub_…" async defer></script>

<form data-captchacore="interactive" method="post">
    <div data-captchacore-widget></div>
</form>
2 · Comprobar el token
POST https://api.captchacore.eu/api/v2/verify
X-CaptchaCore-Key: cc_sec_…

{ "token": "…", "form_type": "contact" }
Respuesta
{ "valid": true, "decision": "allow", "risk_score": 8, "confidence": 0.94 } Procese el formulario con normalidad.

valid también es false en step_up. No trate step_up como block: detalles.