createTask : captcha task creating


This method creates a task for solving selected captcha type.

Method address: https://api.anti-captcha.com/createTask 
Request format: JSON POST

Request parameters:

Parameter
Type
Required
Purpose
clientKeyStringYesClient account key, can be found here
taskTask type objectYesTask data. See list of available object descriptions here.
softIdIntNoID of your application from out AppCenter,
this is required to earn 10% from clients spendings which use your application.
languagePoolStringNo

Sets workers pool language. At the moment the following language pools are available:

en (default) : English language queue
rn  : group of countries: Russia, Ukraine, Belarus, Kazahstan

callbackUrlStringNoOptional web address were will send result of captcha/factory task processing. Contents are sent by AJAX POST request and are similar to the contents of getTaskResult method.


Examples:


For other captcha types check this section.



Response structure:

Parameter
Type
Purpose
errorIdIntegerError identificator.
0 - no errors, the task has been successfully created, task ID located in taskId property
>1 - error identificator. Error code and short information transferred in errorCode and errorDescription properties
errorCodeStringError code. Check out errors list.
errorDescriptionStringShort information describing error
taskIdIntegerTask ID for future use in getTask method.