callBackUrl parameter in /api/v1/voice/validate to set a callback URL. The system will automatically push the validation phrase result to your specified address when the task is completed.callBackUrl in the following format:{
"code": 200,
"msg": "success",
"data": {
"taskId": "xxx_task_id_xxx",
"validateInfo": "Harmonies fill the air with joyful melodies tonight",
"status": "wait_validating",
"errorCode": null,
"errorMessage": ""
}
}| Status Code | Description |
|---|---|
| 200 | Success - Validation phrase has been generated successfully |
| 500 | Failed - Validation phrase generation failed or internal processing error occurred |
| Status | Description |
|---|---|
| wait_processing | Waiting for validation phrase processing |
| processing_validate | Validation phrase is being generated |
| processing_validate_fail | Validation phrase generation failed |
| wait_validating | Validation phrase is ready and waiting for user verification |
| success | Task completed successfully |
| fail | Task failed |
null when the task succeeds.