...
Parameter | Type | Required | Value | ||
type | String | Yes | RecaptchaV2EnterpriseTaskProxyless | ||
websiteURL | String | Yes | Address of a webpage with Google ReCaptcha Enterprise | ||
websiteKey | String | Yes | Recaptcha website key. | ||
enterprisePayload | String | No | Some implementations of the reCAPTCHA Enterprise widget may contain additional parameters that are passed to the “grecaptcha.enterprise.render” method along with the sitekey. For example:
| ||
apiDomain | String | No | Domain address from which to load reCAPTCHA Enterprise. For example: Don't use a parameter if you don't know why it's needed. |
Request example
Address https://api.capmonster.cloud/createTask
Code Block |
---|
{ "clientKey":"dce6bcbb1a728ea8d871de6d169a2057", "task": { "type":"RecaptchaV2EnterpriseTaskProxyless", "websiteURL":"https://mydomain.com/page-with-recaptcha-enterprise", "websiteKey":"6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd", "enterprisePayload": { "s": "SOME_ADDITIONAL_TOKEN" } } } |
...
Getting result
Use the method getTaskResult to request answer for ReCaptcha2. You will get response within 10 - 80 secs period depending on service workload.
...