Home Documentation Tutorials Sign In
Documentation menu

reportIncorrectHcaptcha: send complaint on a Hcaptcha token

Use this method to send us information about tokens which did not pass on target service. Refunds are not guaranteed, however sending reports helps system to filter out workers which were banned in Hcaptcha network. Complaints are accepted for Hcaptchas only, including Enterprise Hcaptcha.

Address: https://api.anti-captcha.com/reportIncorrectHcaptcha
Method: POST
Content-type: application-json

Request properties

Property Type Required Purpose
clientKey String Yes
taskId Integer Yes

Request example

CURL
          curl -i -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -X POST -d '{
    "clientKey":"YOUR_API_KEY",
    "taskId":12345
}' https://api.anti-captcha.com/reportIncorrectHcaptcha
        


Response structure

Property Type Purpose
errorId Integer Error identifier.
0 - no errors, operation completed successfully.
>1 - error identifier. Error code and short description transferred in errorCode and errorDescription properties.
errorCode String
errorDescription String Short description of the error
status String
The result of the operation. You either receive an error code or status="success" when complaint is accepted.

Response example

JSON with no errors
          {
    "errorId":0,
    "status":"success"
}
        
JSON with an error
          {
    "errorId": 16,
    "errorCode": "ERROR_NO_SUCH_CAPCHA_ID",
    "errorDescription": "Task you are requesting does not exist in your current task list or has been expired."
}