{
"code": 200,
"msg": "success",
"data": {
"taskId": "7d3f0a9c41e85b2f6a1c9e04b8d27f53",
"validateInfo": "sing a mellow tune with a gentle flowing chorus together",
"status": "wait_validating"
}
}Generate validation phrase: Task callback
When the task was created with callBackUrl, DreamTo sends this POST there once the task succeeds or fails (once): on success the body is {"code": 200, "msg": "success", "data": {"taskId", "validateInfo", "status": "wait_validating"}}, sent when the validation phrase is ready, with data.taskId the task ID (the Voice ID) and validateInfo the phrase to record before submitting Create voice; on failure code is the failure code (not 200), msg the reason and data is {"taskId", "status": "processing_validate_fail", "errorCode", "errorMessage"}. Verify the sender with X-DreamTo-Signature and answer with any 2xx.
{
"code": 200,
"msg": "success",
"data": {
"taskId": "7d3f0a9c41e85b2f6a1c9e04b8d27f53",
"validateInfo": "sing a mellow tune with a gentle flowing chorus together",
"status": "wait_validating"
}
}Authorizations
Headers
Body
Response
Any 2xx status acknowledges the callback; on a timeout (10 seconds) or another status it is retried after 1, 5 and 30 minutes, at most 4 deliveries.

