Autional Autional
API Reference GitHub autional.com →

POST /internal/thirdparty/captcha/verify

Receive the CAPTCHA token submitted by the user (PoW proof-of-work result or Turnstile verification token), call the corresponding verification provider for server-side validation, and return the verification result (pass/fail, score, and error code)

Third-party Verification `bearerAuth` application/json

Request Body

Schema: gitee_com_linmes_authms_micro-services_thirdparty-service_internal_dto.CaptchaVerifyRequest

FieldTypeRequiredExampleConstraintsDescription
provider string Yes
token string Yes
action string No
challenge_id string No
remote_ip string No

Responses

StatusDescriptionSchema
200Verification completed, returns pass/fail, score, and error codedto.DataResponse-gitee_com_linmes_authms_micro-services_thirdparty-service_internal_dto_CaptchaVerifyResponse
400Request parameter error (missing required fields or unsupported verification provider)dto.SimpleResponse
429CAPTCHA verification request too frequent, please retry laterdto.SimpleResponse
500Verification service unavailabledto.SimpleResponse

Referenced Schemas

dto.DataResponse-gitee_com_linmes_authms_micro-services_thirdparty-service_internal_dto_CaptchaVerifyResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data gitee_com_linmes_authms_micro-services_thirdparty-service_internal_dto.CaptchaVerifyResponse No
message string No
timestamp string No

dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No

gitee_com_linmes_authms_micro-services_thirdparty-service_internal_dto.CaptchaVerifyResponse

FieldTypeRequiredExampleConstraintsDescription
action string No
error_codes array of

string

No
provider string No
score number No
success boolean No