Compatible format API
The createTask format other providers use, so existing clients work unchanged. Its errors come in its errorId shape, with HTTP 200; only a failure outside the endpoint, such as a body over the size limit, is a problem document.
Every operation of the API reference is generated from the contract the API serves, version 0.1.0. Replace YOUR_API_KEY in the samples with your key; each response shows an example in the contract's shape.
Create a task (compatible)
/createTaskAuthentication. Your API key, as clientKey in the JSON body, as other providers' clients send it.
The createTask call other providers use. The body is {"clientKey": "…", "task": {"type": "TurnstileTaskProxyless", "websiteURL": "…", "websiteKey": "…"}}; the reply is {"errorId": 0, "taskId": "…"}. An Idempotency-Key header works as it does on REST. Creations share the key's and the account's budgets, if the service sets any, with POST /v1/tasks. Over one, the reply is ERROR_RATE_LIMIT with Retry-After, and nothing is created or charged.
Parameters
| Field | What it is |
|---|---|
Idempotency-Key | Your ID for this task, 1 to 255 visible ASCII characters, as on |
Request body JSON · CompatCreateRequest
The server reads the body more leniently than its schema, and decides: it takes JSON whatever the Content-Type, as some clients send text/plain, a number wherever it expects text, and null for an absent field, and it ignores fields it does not use.
| Field | What it is | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
clientKey | Your API key, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
task | A Turnstile task, or a Cloudflare challenge page's, told apart by The 18 fields of |
| Field | What it is | ||||||
|---|---|---|---|---|---|---|---|
type |
One of | ||||||
websiteKey | The widget's site key: 1 to 100 ASCII letters, digits, | ||||||
action | The widget's action, if it sets one: up to 32 ASCII letters, digits, | ||||||
cdata | The widget's cData, if it sets one: up to 255 ASCII letters, digits, | ||||||
cData |
| ||||||
cloudflareTaskType | CapMonster Cloud's mode: One of | ||||||
data |
| ||||||
metadata | The 2 fields of |
| Field | What it is |
|---|---|
action | The widget's action, if it sets one: up to 32 ASCII letters, digits, |
cdata | The widget's cData, if it sets one: up to 255 ASCII letters, digits, |
pageActionaction, as CapMonster Cloud's clients name it.
proxyYour proxy as a URL with its port, such as http://user:pass@proxy.example.net:8080: http or https, as SOCKS is not supported yet. TurnstileTask needs one, and TurnstileTaskProxyless takes none. The server also checks that the host is public, that the port is not one another protocol reserves, such as 25, and that the login and password are at most 255 bytes each, a password only with a login. Never logged, and deleted when the task finishes.
proxyAddressThe proxy's host name or IP address, which must be public: with proxyPort, the alternative to proxy.
proxyLoginThe proxy's login: at most 255 bytes.
proxyPasswordThe proxy's password: at most 255 bytes, and only with proxyLogin. Never logged, and deleted when the task finishes.
proxyPortThe proxy's port, needed with proxyAddress; a string of digits works too. The server refuses a port another protocol reserves, such as 25.
proxyTypeHow the solver talks to the proxy: http, the default, or https, in any case. SOCKS is not supported yet.
One of http, https
turnstileCDatacdata, as some clients name it.
websiteUrlwebsiteURL, as some clients spell it.
websiteURLThe page the widget is on, or behind the challenge: an http or https URL of at most 2048 characters, without credentials, on its scheme's default port. The server also checks that it names a public domain, not an IP address, a name of one label or one kept for local use such as localhost, *.local or *.internal; the task keeps the URL as the server normalizes it, such as with a lowercase host.
The 9 fields of task (CompatChallengeTask)
A Cloudflare challenge page's task (CloudflareChallengeTask, or CapSolver's AntiCloudflareTask), in the spellings other providers' clients use: the page, in either spelling, and the proxy it needs, as proxy or the proxyAddress fields. A challenge page has no widget: a websiteKey, action or cdata is ignored, as are fields such as userAgent and html that other providers take for one.
| Field | What it is |
|---|---|
type |
One of |
proxy | Your proxy as a URL with its port, or give it as the |
proxyAddress | The proxy's host name or IP address, which must be public: with |
proxyLogin | The proxy's login: at most 255 bytes. |
proxyPassword | The proxy's password: at most 255 bytes, and only with |
proxyPort | The proxy's port, needed with |
proxyType | How the solver talks to the proxy: One of |
websiteUrl |
|
websiteURL | The page the widget is on, or behind the challenge: an http or https URL of at most 2048 characters, without credentials, on its scheme's default port. The server also checks that it names a public domain, not an IP address, a name of one label or one kept for local use such as |
callbackUrlWhere to POST the result once the task ends, signed with your callback secret (ZeroCaptcha-Signature): an http or https URL of at most 2048 characters, without credentials, naming a public domain or a public IP address on a port no other protocol reserves. A call that is not answered 2xx is retried with backoff, eight attempts in all over roughly 65 to 95 minutes; one to a name that resolves to a private address is not made. callbackUrl in this dialect.
Responses
| Status | What it means |
|---|---|
| 200 OK |
CompatCreateReply (application/json) |
| Any other status | Only a failure outside the dialect, as RFC 9457 problem details: a body over the size limit (413), a request that ran out of time (504), this instance shedding load (503, with Problem (application/problem+json) |
Error codes
The errors reference says what each means, whether a retry helps and what it costs.
Request
curl -X POST https://api.zerocaptcha.io/createTask \ -H "Idempotency-Key: order-4521-attempt-1" \ -H "Content-Type: application/json" \ -d '{ "clientKey": "YOUR_API_KEY", "task": { "type": "TurnstileTaskProxyless", "websiteKey": "0x4AAAAAAAB1cD2eF3gH4iJ5", "websiteURL": "https://example.com/login" }}'const response = await fetch("https://api.zerocaptcha.io/createTask", { method: "POST", headers: { "Idempotency-Key": "order-4521-attempt-1", "Content-Type": "application/json", }, body: JSON.stringify({ "clientKey": "YOUR_API_KEY", "task": { "type": "TurnstileTaskProxyless", "websiteKey": "0x4AAAAAAAB1cD2eF3gH4iJ5", "websiteURL": "https://example.com/login" } }),});console.log(response.status, await response.text());import requests
response = requests.post( "https://api.zerocaptcha.io/createTask", headers={"Idempotency-Key": "order-4521-attempt-1"}, json={ "clientKey": "YOUR_API_KEY", "task": { "type": "TurnstileTaskProxyless", "websiteKey": "0x4AAAAAAAB1cD2eF3gH4iJ5", "websiteURL": "https://example.com/login", }, }, timeout=30,)print(response.status_code, response.text)Response
CompatCreated
{
"errorId": 0,
"taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}CompatError
{
"errorId": 1,
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
"errorDescription": "The clientKey is missing, or is not a valid key."
}payload_too_large
{
"type": "https://zerocaptcha.io/docs/reference/errors/#payload_too_large",
"title": "Request body too large",
"status": 413,
"instance": "/createTask",
"code": "payload_too_large",
"request_id": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}Example values in the contract's shape, version 0.1.0.
Report how a token did (CapSolver)
/feedbackTaskAuthentication. Your API key, as clientKey in the JSON body, as other providers' clients send it.
CapSolver's feedbackTask: {"clientKey": "…", "taskId": "…", "result": {"invalid": true}} says the site refused the token, false that it took it; invalid may also come beside result. Recorded for our staff, never refunded. Without invalid, ERROR_INVALID_REQUEST.
Request body JSON · CompatFeedbackRequest
The server reads the body more leniently than its schema, and decides: it takes JSON whatever the Content-Type, as some clients send text/plain, a number wherever it expects text, and null for an absent field, and it ignores fields it does not use.
| Field | What it is | ||||||||
|---|---|---|---|---|---|---|---|---|---|
clientKey | Your API key, | ||||||||
result | What the site made of the token. The 3 fields of |
| Field | What it is |
|---|---|
invalid |
|
code | Accepted and ignored. |
message | Accepted and ignored. |
taskIdThe task's ID, as createTask gave it.
Responses
| Status | What it means |
|---|---|
| 200 OK |
CompatReportReply (application/json) |
| Any other status | Only a failure outside the dialect, as RFC 9457 problem details: a body over the size limit (413), a request that ran out of time (504), this instance shedding load (503, with Problem (application/problem+json) |
Error codes
The errors reference says what each means, whether a retry helps and what it costs.
Request
curl -X POST https://api.zerocaptcha.io/feedbackTask \ -H "Content-Type: application/json" \ -d '{ "clientKey": "YOUR_API_KEY", "result": { "invalid": true }, "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"}'const response = await fetch("https://api.zerocaptcha.io/feedbackTask", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ "clientKey": "YOUR_API_KEY", "result": { "invalid": true }, "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b" }),});console.log(response.status, await response.text());import requests
response = requests.post( "https://api.zerocaptcha.io/feedbackTask", json={ "clientKey": "YOUR_API_KEY", "result": { "invalid": True, }, "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b", }, timeout=30,)print(response.status_code, response.text)Response
CompatReported
{
"errorId": 0,
"status": "success"
}CompatError
{
"errorId": 1,
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
"errorDescription": "The clientKey is missing, or is not a valid key."
}payload_too_large
{
"type": "https://zerocaptcha.io/docs/reference/errors/#payload_too_large",
"title": "Request body too large",
"status": 413,
"instance": "/feedbackTask",
"code": "payload_too_large",
"request_id": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}Example values in the contract's shape, version 0.1.0.
Get the balance (compatible)
/getBalanceAuthentication. Your API key, as clientKey in the JSON body, as other providers' clients send it.
{"clientKey": "…"}; the reply is {"errorId": 0, "balance": 12.3456}, the available balance in US dollars, printed exactly. Reads share their budgets with REST; over one, the reply is ERROR_RATE_LIMIT with Retry-After.
Request body JSON · CompatBalanceRequest
The server reads the body more leniently than its schema, and decides: it takes JSON whatever the Content-Type, as some clients send text/plain, a number wherever it expects text, and null for an absent field, and it ignores fields it does not use.
| Field | What it is |
|---|---|
clientKey | Your API key, |
Responses
| Status | What it means |
|---|---|
| 200 OK | The balance, or an error in the dialect's shape. CompatBalanceReply (application/json) |
| Any other status | Only a failure outside the dialect, as RFC 9457 problem details: a body over the size limit (413), a request that ran out of time (504), this instance shedding load (503, with Problem (application/problem+json) |
Error codes
The errors reference says what each means, whether a retry helps and what it costs.
Request
curl -X POST https://api.zerocaptcha.io/getBalance \ -H "Content-Type: application/json" \ -d '{ "clientKey": "YOUR_API_KEY"}'const response = await fetch("https://api.zerocaptcha.io/getBalance", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ "clientKey": "YOUR_API_KEY" }),});console.log(response.status, await response.text());import requests
response = requests.post( "https://api.zerocaptcha.io/getBalance", json={ "clientKey": "YOUR_API_KEY", }, timeout=30,)print(response.status_code, response.text)Response
CompatBalance
{
"balance": 1,
"errorId": 0
}CompatError
{
"errorId": 1,
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
"errorDescription": "The clientKey is missing, or is not a valid key."
}payload_too_large
{
"type": "https://zerocaptcha.io/docs/reference/errors/#payload_too_large",
"title": "Request body too large",
"status": 413,
"instance": "/getBalance",
"code": "payload_too_large",
"request_id": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}Example values in the contract's shape, version 0.1.0.
Get a task's result (compatible)
/getTaskResultAuthentication. Your API key, as clientKey in the JSON body, as other providers' clients send it.
{"clientKey": "…", "taskId": "…"}. While the task runs the reply is {"errorId": 0, "status": "processing"}; once solved it is status: "ready" with solution.token and cost, and for a challenge page solution.userAgent and solution.cookies too. A failed task, or one whose token expired, replies with errorId: 1 and its errorCode. Polls share the budgets for reads with REST; over one, the reply is ERROR_RATE_LIMIT with Retry-After.
A task still running is answered as soon as it ends, or after a few seconds with processing: the result comes the moment it is in, not at the next poll.
Request body JSON · CompatResultRequest
The server reads the body more leniently than its schema, and decides: it takes JSON whatever the Content-Type, as some clients send text/plain, a number wherever it expects text, and null for an absent field, and it ignores fields it does not use.
| Field | What it is |
|---|---|
clientKey | Your API key, |
taskId | The task's ID, as createTask gave it. One that names no task of this key's account is |
Responses
| Status | What it means |
|---|---|
| 200 OK | The task's state, or an error in the dialect's shape. CompatResultReply (application/json) |
| Any other status | Only a failure outside the dialect, as RFC 9457 problem details: a body over the size limit (413), a request that ran out of time (504), this instance shedding load (503, with Problem (application/problem+json) |
Error codes
The errors reference says what each means, whether a retry helps and what it costs.
Request
curl -X POST https://api.zerocaptcha.io/getTaskResult \ -H "Content-Type: application/json" \ -d '{ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"}'const response = await fetch("https://api.zerocaptcha.io/getTaskResult", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b" }),});console.log(response.status, await response.text());import requests
response = requests.post( "https://api.zerocaptcha.io/getTaskResult", json={ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b", }, timeout=30,)print(response.status_code, response.text)Response
CompatReady
{
"cost": "0.000400",
"createTime": 1,
"endTime": 1,
"errorId": 0,
"expiresAt": "2026-10-01T00:00:00Z",
"solution": {
"token": "0.Zm9vYmFy…",
"type": "turnstile"
},
"solveCount": 1,
"status": "ready",
"taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}CompatProcessing
{
"errorId": 0,
"status": "processing",
"taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}CompatError
{
"errorId": 1,
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
"errorDescription": "The clientKey is missing, or is not a valid key."
}payload_too_large
{
"type": "https://zerocaptcha.io/docs/reference/errors/#payload_too_large",
"title": "Request body too large",
"status": 413,
"instance": "/getTaskResult",
"code": "payload_too_large",
"request_id": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}Example values in the contract's shape, version 0.1.0.
Report a token that worked (2Captcha)
/reportCorrectAuthentication. Your API key, as clientKey in the JSON body, as other providers' clients send it.
2Captcha's reportCorrect: {"clientKey": "…", "taskId": "…"} says the site took the solved task's token. Recorded for our staff; one report per task, on a task that succeeded.
Request body JSON · CompatReportRequest
The server reads the body more leniently than its schema, and decides: it takes JSON whatever the Content-Type, as some clients send text/plain, a number wherever it expects text, and null for an absent field, and it ignores fields it does not use.
| Field | What it is |
|---|---|
clientKey | Your API key, |
taskId | The task's ID, as createTask gave it. One that names no task of this key's account is |
Responses
| Status | What it means |
|---|---|
| 200 OK |
CompatReportReply (application/json) |
| Any other status | Only a failure outside the dialect, as RFC 9457 problem details: a body over the size limit (413), a request that ran out of time (504), this instance shedding load (503, with Problem (application/problem+json) |
Error codes
The errors reference says what each means, whether a retry helps and what it costs.
Request
curl -X POST https://api.zerocaptcha.io/reportCorrect \ -H "Content-Type: application/json" \ -d '{ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"}'const response = await fetch("https://api.zerocaptcha.io/reportCorrect", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b" }),});console.log(response.status, await response.text());import requests
response = requests.post( "https://api.zerocaptcha.io/reportCorrect", json={ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b", }, timeout=30,)print(response.status_code, response.text)Response
CompatReported
{
"errorId": 0,
"status": "success"
}CompatError
{
"errorId": 1,
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
"errorDescription": "The clientKey is missing, or is not a valid key."
}payload_too_large
{
"type": "https://zerocaptcha.io/docs/reference/errors/#payload_too_large",
"title": "Request body too large",
"status": 413,
"instance": "/reportCorrect",
"code": "payload_too_large",
"request_id": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}Example values in the contract's shape, version 0.1.0.
Report a token that worked (Anti-Captcha)
/reportCorrectRecaptchaAuthentication. Your API key, as clientKey in the JSON body, as other providers' clients send it.
Anti-Captcha's reportCorrectRecaptcha: the same as /reportCorrect.
Request body JSON · CompatReportRequest
The server reads the body more leniently than its schema, and decides: it takes JSON whatever the Content-Type, as some clients send text/plain, a number wherever it expects text, and null for an absent field, and it ignores fields it does not use.
| Field | What it is |
|---|---|
clientKey | Your API key, |
taskId | The task's ID, as createTask gave it. One that names no task of this key's account is |
Responses
| Status | What it means |
|---|---|
| 200 OK |
CompatReportReply (application/json) |
| Any other status | Only a failure outside the dialect, as RFC 9457 problem details: a body over the size limit (413), a request that ran out of time (504), this instance shedding load (503, with Problem (application/problem+json) |
Error codes
The errors reference says what each means, whether a retry helps and what it costs.
Request
curl -X POST https://api.zerocaptcha.io/reportCorrectRecaptcha \ -H "Content-Type: application/json" \ -d '{ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"}'const response = await fetch("https://api.zerocaptcha.io/reportCorrectRecaptcha", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b" }),});console.log(response.status, await response.text());import requests
response = requests.post( "https://api.zerocaptcha.io/reportCorrectRecaptcha", json={ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b", }, timeout=30,)print(response.status_code, response.text)Response
CompatReported
{
"errorId": 0,
"status": "success"
}CompatError
{
"errorId": 1,
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
"errorDescription": "The clientKey is missing, or is not a valid key."
}payload_too_large
{
"type": "https://zerocaptcha.io/docs/reference/errors/#payload_too_large",
"title": "Request body too large",
"status": 413,
"instance": "/reportCorrectRecaptcha",
"code": "payload_too_large",
"request_id": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}Example values in the contract's shape, version 0.1.0.
Report a refused token (2Captcha)
/reportIncorrectAuthentication. Your API key, as clientKey in the JSON body, as other providers' clients send it.
2Captcha's reportIncorrect: {"clientKey": "…", "taskId": "…"} says the site refused the solved task's token. It is recorded for our staff, who watch the solvers' quality with it; tasks are final, so it refunds nothing. One report per task, on a task that succeeded.
Request body JSON · CompatReportRequest
The server reads the body more leniently than its schema, and decides: it takes JSON whatever the Content-Type, as some clients send text/plain, a number wherever it expects text, and null for an absent field, and it ignores fields it does not use.
| Field | What it is |
|---|---|
clientKey | Your API key, |
taskId | The task's ID, as createTask gave it. One that names no task of this key's account is |
Responses
| Status | What it means |
|---|---|
| 200 OK |
CompatReportReply (application/json) |
| Any other status | Only a failure outside the dialect, as RFC 9457 problem details: a body over the size limit (413), a request that ran out of time (504), this instance shedding load (503, with Problem (application/problem+json) |
Error codes
The errors reference says what each means, whether a retry helps and what it costs.
Request
curl -X POST https://api.zerocaptcha.io/reportIncorrect \ -H "Content-Type: application/json" \ -d '{ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"}'const response = await fetch("https://api.zerocaptcha.io/reportIncorrect", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b" }),});console.log(response.status, await response.text());import requests
response = requests.post( "https://api.zerocaptcha.io/reportIncorrect", json={ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b", }, timeout=30,)print(response.status_code, response.text)Response
CompatReported
{
"errorId": 0,
"status": "success"
}CompatError
{
"errorId": 1,
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
"errorDescription": "The clientKey is missing, or is not a valid key."
}payload_too_large
{
"type": "https://zerocaptcha.io/docs/reference/errors/#payload_too_large",
"title": "Request body too large",
"status": 413,
"instance": "/reportIncorrect",
"code": "payload_too_large",
"request_id": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}Example values in the contract's shape, version 0.1.0.
Report a refused token (Anti-Captcha)
/reportIncorrectRecaptchaAuthentication. Your API key, as clientKey in the JSON body, as other providers' clients send it.
Anti-Captcha's reportIncorrectRecaptcha, which its clients send for a token task: the same as /reportIncorrect. Recorded, never refunded.
Request body JSON · CompatReportRequest
The server reads the body more leniently than its schema, and decides: it takes JSON whatever the Content-Type, as some clients send text/plain, a number wherever it expects text, and null for an absent field, and it ignores fields it does not use.
| Field | What it is |
|---|---|
clientKey | Your API key, |
taskId | The task's ID, as createTask gave it. One that names no task of this key's account is |
Responses
| Status | What it means |
|---|---|
| 200 OK |
CompatReportReply (application/json) |
| Any other status | Only a failure outside the dialect, as RFC 9457 problem details: a body over the size limit (413), a request that ran out of time (504), this instance shedding load (503, with Problem (application/problem+json) |
Error codes
The errors reference says what each means, whether a retry helps and what it costs.
Request
curl -X POST https://api.zerocaptcha.io/reportIncorrectRecaptcha \ -H "Content-Type: application/json" \ -d '{ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"}'const response = await fetch("https://api.zerocaptcha.io/reportIncorrectRecaptcha", { method: "POST", headers: { "Content-Type": "application/json", }, body: JSON.stringify({ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b" }),});console.log(response.status, await response.text());import requests
response = requests.post( "https://api.zerocaptcha.io/reportIncorrectRecaptcha", json={ "clientKey": "YOUR_API_KEY", "taskId": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b", }, timeout=30,)print(response.status_code, response.text)Response
CompatReported
{
"errorId": 0,
"status": "success"
}CompatError
{
"errorId": 1,
"errorCode": "ERROR_KEY_DOES_NOT_EXIST",
"errorDescription": "The clientKey is missing, or is not a valid key."
}payload_too_large
{
"type": "https://zerocaptcha.io/docs/reference/errors/#payload_too_large",
"title": "Request body too large",
"status": 413,
"instance": "/reportIncorrectRecaptcha",
"code": "payload_too_large",
"request_id": "0192f3a4-7b1c-7d2e-9f10-3c4d5e6f7a8b"
}Example values in the contract's shape, version 0.1.0.