Documentation
Hosted Flow
Use the hosted UI path when you want the smallest integration surface first.
when to use it
- You want a working flow before building a custom frontend.
- You want captcha.cc to handle challenge presentation.
- You still want server-side proof redemption with your secret key.
sequence
- Create a challenge.
- Render the challenge image and collect the answer.
- Call
POST /v1/verifyto receive a proof token. - Send that proof token to your server.
- Call
POST /v1/siteverifyonce with your secret key.
await fetch("https://captcha.cc/v1/siteverify", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
secret_key,
proof_token
})
});