Skip to main content
POST
Tasks

授权

Authorization
string
header
必填

请求头

accept
enum<string>

Specifies the format of the response from the server.

可用选项:
application/json

请求体

application/json
task_id
string
必填

The task id returned when a token API was called with async=true.

示例:

"61138bb6-19aa-11ec-a9c8-0242ac110002"

响应

OK, the request is successful.

success
boolean

Whether the query succeeded.

task_id
string

The task id being polled.

status
enum<string>

Task state. 'processing' means keep polling; 'ready' means the token field is populated.

可用选项:
processing,
ready
token
string

The solved verification token (token APIs). Present only when status is 'ready'.

solution
object

The recognition result for recognition/recaptcha2 and recognition/hcaptcha. Present only when status is 'ready'.

text
string

The recognized text for recognition/image2text. Present only when status is 'ready'.