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

  1. Create a challenge.
  2. Render the challenge image and collect the answer.
  3. Call POST /v1/verify to receive a proof token.
  4. Send that proof token to your server.
  5. Call POST /v1/siteverify once 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
  })
});