> ## Documentation Index
> Fetch the complete documentation index at: https://wiz-myvocal.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Callback

<p>Some of the API services provided by this product require asynchronous callbacks due to longer processing times.</p>
<p>To ensure that information is returned normally and accurately, a callback URL needs to be provided in the input parameters.</p>

### Request

<p>Please provide a callback URL and ensure that the callback URL provided is consistent across different scenarios.</p>

<p>Please make sure that the url you provide is accessible to the public network and that the request type is <b>POST</b>.</p>

<p>If the callback URL varies, there may be inconsistencies between the callback URL used during the callback and the callback URL you provided at the time of the request.</p>

### Response

When an asynchronous request is sent successfully, we will immediately provide a webhookId. When a callback is made, this webhookId will also be included in the callback URL. You can use the webhookId to associate the request with the callback.

<ResponseField name="webhookId" type="string">
  When the request is successfully sent, a webhoodId will be synchronously returned. The same information will also be called back in the callbackUrl, which is used to correlate the request and the response.
</ResponseField>

<ResponseField name="webhookType" type="string">
  <div><b>TRAIN\_COVER\_SPEAKER</b>: Add an AI Cover Voice</div>

  <div><b>EDIT\_COVER\_SPEAKER</b>: Improve an AI Cover Voice</div>
  <div><b>COVER\_SONG</b>: Create AI Cover Voice</div>
</ResponseField>

<ResponseField name="status" type="string">
  The status of this request
  <div><b>SUCCESS</b>: this request is success</div>
  <div><b>FAILURE</b>: this request is fail</div>
</ResponseField>

<ResponseField name="data" type="Object">
  business data
</ResponseField>

### Samples

```json 200（success） theme={null}
{
    "webhookId":"1700189306ffhdkejwcsk2",
    "webhookType":"TRAIN_COVER_SPEAKER",    
    "status":"SUCCESS",  
    "summary":"Clone training success.",  
    "data":{
        "id":"100"
    }
}
```

```json 200（fail） theme={null}
{
    "webhookId":"1700189306ffhdkejwcsk2",
    "webhookType":"TRAIN_COVER_SPEAKER",    
    "status":"FAILURE",  
    "summary":"Clone training failed."
}
```
