createTask : creating a task
Description
This method creates a task for solving selected captcha type. In the parameters you need to pass the client authorization data, typed task data and other optional parameters.
Method address
https://api.brocapgpt.com/createTask
Request format: JSON POST
Request parameters
clientKey
Type: String
Required: Yes
Your unique account key, API key (You can find it here
task
Type: Task object
Required: Yes
Task data array. See list of available object descriptions here.
callbackUrl
Type: String
Required: No
Web address for sending the captcha task result. Data is sent by POST request.
The content is identical to the response of the getTaskResult method.
The content of the response is not checked and you should accept the request in 2 seconds then the connection will be closed.
Request examples
Solving FunCaptchaTask
{
"clientKey":"67b6bcbb1a728ea8d563de6d169a2057",
"task":
{
"type":"FunCaptchaTaskProxyless",
"websiteURL":"http://mywebsite.com/",
"funcaptchaApiJSSubdomain":"mywebsite-api.funcaptcha.com",
"data": "{\"blob\":\"dyXvXANMbHj1iDyz.Qj97JtSqR2n%2BuoY1V%2FbdgbrG7p%2FmKiqdU9AwJ6MifEt0np4vfYn6TTJDJEfZDlcz9Q1XMn9przeOV%2FCr2%2FIpi%2FC1s%3D\"}",
"websitePublicKey":"69A21A01-CC7B-B9C6-0F9A-E7FA06677FFC"
}
}
Solving ComplexImageTask
{
"clientKey":"67b6bcbb1a728ea8d563de6d169a2057",
"task":
{
"type": "ComplexImageTask",
"class": "funcaptcha",
"imageUrls":[ "https://i.postimg.cc/s2ZDrHXy/fc1.jpg" ],
"metadata":
{
"Task": "Pick the image that is the correct way up"
},
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
}
}