Callback (webhook)
We provide a callback (webhook) option that allows you to get the solution for your captcha automatically when it's ready.
It allows you to get answers without calling getTaskResult
method and also allows you to avoid account suspension.
To receive automated callback you have to:
- Register your callback domain/IP address on this page
- Provide your callback URL as a value of
callbackUrl
parameter of yourcreateTask
Process incoming HTTP POST request with URLencoded form data (application/x-www-form-urlencoded) coming from our server to your callback URL. The request contains two parameters: id - captcha ID and code - the answer.
Incoming callback request example:
id=81555263943&code=ANSWER
You can use any callback URL pointing to your registered domain/IP address so your URL can include custom parameters.