Documentation menu

Solve Google Enterprise V3

As V3 Enterprise is virtually the same as V3 non-Enterprise, we decided to roll out it’s support within the usual V3 tasks.

Differences between V3 Enterprise and V3 non-Enterprise:

  • widget code is loaded via enterprise.js (vs api.js)
  • user score retrieval is made with grecaptcha.enterprise.execute call (vs grecaptcha.execute)

Thus to mark your Enterprise V3 task, you simply need to add a flag "isEnterprise": true to your non-Enterprise V3 payload:

Request example

          curl -i -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -X POST -d '{
            "minScore": 0.7,
            "pageAction": "some_action",
            "isEnterprise": true

Response example

JSON with no errors
    "errorId": 0,
    "taskId": 7654321
JSON with an error
    "errorId": 1,
    "errorCode": "ERROR_KEY_DOES_NOT_EXIST",
    "errorDescription": "Account authorization key not found in the system"

Retrieve the solution

Use method getTaskResult to request the solution. Give the worker about 5 seconds before making your first request. If the worker is still busy, retry in 3 seconds.

Task solution object

Property Type Purpose
gRecaptchaResponse String Token string required for interacting with the submit form on the target website.

Response example

JSON with no errors