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'.