Method address: https://api.capmonster.cloud/getTaskResult
Request format: JSON POST
Request limit: 40 requests per task.
Request parameters:
Parameter | Type | Required | Purpose |
---|---|---|---|
clientKey | String | Yes | Unique key of your account |
taskId | Integer | Yes | ID which was obtained in createTask method. |
Request example:
{ "clientKey":"67b6bcbb1a728ea8d563de6d169a2057", "taskId": 7654321 }
Response structure:
Property | Type | Purpose |
---|---|---|
errorId | Integer | Error identificator. |
errorCode | String | Error code. Check out errors list. |
status | String | processing - task is not ready yet |
solution | Object | Task result data. Different for each type of task. |
Response example:
{ "errorId":0, "status":"ready", "solution": { "text":"answer" } }