Migrate
From hCaptcha
Swap the widget and the verify call.
- Create a site and copy its keys.
- Replace
<div class="h-captcha" data-sitekey="...">with<div class="botbar-widget" data-sitekey="...">and hCaptcha's script withhttps://api.example.com/v1/api.js. - Read
botbar-responseinstead ofh-captcha-responseand post it tohttps://api.example.com/v1/siteverify. Both APIs returnsuccessanderror-codes, so most server code only changes its URL and field name.