DocsInteractive API Docs/api/v1/security/captcha-verify
get

/api/v1/security/captcha-verify

Verifies whether the user-entered captcha code matches the generated one. Returns status: "match" (correct), "miss" (wrong code), or "expired-token" (token no longer valid).

Endpoint Info
Base URLapi.bizkithub.com
AuthBearer Token
Methods1
Authentication Required

This endpoint requires a valid API key passed as a query parameter or Bearer token.

Get your API key

Parameters

2 query parameters

tokenstringrequired

Captcha token returned by the /captcha endpoint.

codestringrequired

User-entered captcha code.

Example Request

JavaScript fetch

const response = await fetch("https://api.bizkithub.com/api/v1/security/captcha-verify?token=mfuunpqsqa1rw8ft&code=NU3BX", {
  method: "GET",
  headers: {
    "Content-Type": "application/json"
  }
});

const data = await response.json();
console.log(data);
get

Example Response

200Success
{
  "token": "mfuunpqsqa1rw8ft",
  "code": "NU3BX",
  "status": "match"
}

cURL

Command line example

curl -X GET "https://api.bizkithub.com/api/v1/security/captcha-verify?token=mfuunpqsqa1rw8ft&code=NU3BX" \
  -H "Content-Type: application/json"

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key