BizKitHub
DokumentacePrůzkumník APISecurity/api/v1/security/captcha-verify
getSecurityVeřejné API v1

/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).

securitygetApiV1SecurityCaptcha-verify

Parametry

2 v query

Parametry v query

· 2
tokenstringPovinné

Captcha token returned by the /captcha endpoint.

Příkladmfuunpqsqa1rw8ft
codestringPovinné

User-entered captcha code.

PříkladNU3BX

Schéma odpovědi

1 zdokumentovaný stavový kód

200Úspěch
tokenstringPovinné

The token that was verified.

Příkladmfuunpqsqa1rw8ft
codestringPovinné

The code that was submitted.

PříkladNU3BX
statusstringPovinné

Verification result.

Příkladymatchmissexpired-token

Ukázka odpovědi

application/json
{
  "token": "mfuunpqsqa1rw8ft",
  "code": "NU3BX",
  "status": "match"
}

Ukázka požadavku

GET /api/v1/security/captcha-verify

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

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč