Migrate
From Turnstile
A script-tag swap and a new verify URL.
- Create a site and copy its keys.
- Swap the script;
turnstile.render,.cf-turnstileelements and thecf-turnstile-responsefield keep working:
<script src="https://api.example.com/v1/api.js?compat=turnstile" async defer></script>- Point your server at
https://api.example.com/turnstile/v0/siteverifywith your new secret.
The response has every Turnstile field, plus score, security_level and agent.