BizKitHub
DokumentacjaEksplorator APISecurity/api/v1/security/captcha-verify
getSecurityPubliczne 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 w query

Parametry query

· 2
tokenstringWymagane

Captcha token returned by the /captcha endpoint.

Przykładmfuunpqsqa1rw8ft
codestringWymagane

User-entered captcha code.

PrzykładNU3BX

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces
tokenstringWymagane

The token that was verified.

Przykładmfuunpqsqa1rw8ft
codestringWymagane

The code that was submitted.

PrzykładNU3BX
statusstringWymagane

Verification result.

Przykładymatchmissexpired-token

Przykład odpowiedzi

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

Przykład żądania

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"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API