getTaskResult : request task result

Method address: https://api.capmonster.cloud/getTaskResult
Request format: JSON POST

Request limit: 120 requests per task.

Request parameters:

Parameter

Type

Required

Purpose

Parameter

Type

Required

Purpose

clientKey

String

Yes

Unique key of your account

taskId

Integer

Yes

ID which was obtained in createTask method.

Request example:

 

1 2 3 4 { "clientKey":"67b6bcbb1a728ea8d563de6d169a2057", "taskId": 7654321 }

Response structure:

Property

Type

Purpose

Property

Type

Purpose

errorId

Integer

Error identificator.
0 - no error, errorCode property missing
1 - error, information about it is in the errorCode property

errorCode

String

Error code. Check out errors list.

status

String

processing - task is not ready yet
ready - task complete, solution object can be found in solution property

solution

Object

Task result data. Different for each type of task.

Response example:

 

1 2 3 4 5 6 7 8 { "errorId":0, "status":"ready", "solution": { "text":"answer" } }