Skip to main content

Retry Failed Job

Retry failed email validation jobs or revalidate existing lists using our retry endpoint.

API Reference

Endpoint

POST https://api.cliova.com/v1/webhooks/email-validations/bulk-emails/${listId}/retry?apiKey=${apiKey}
List ID

The id parameter is the identifier of your original validation job (e.g., list_12345)

Parameters

Path Parameters

ParameterRequiredTypeDescription
idYesstringThe unique identifier of your failed or completed validation job

Query Parameters

ParameterRequiredTypeDescription
apiKeyYesstringYour API authentication key

Code Examples

validationRetry.js
// Function to retry a failed validation job or revalidate an existing list
async function retryValidation(apiKey, listId) {
const baseUrl =
"https://api.cliova.com/v1/webhooks/email-validations/bulk-emails";
const url = `${baseUrl}/${listId}/retry?apiKey=${apiKey}`;

const response = await fetch(url, {
method: "POST",
headers: { Accept: "application/json" },
});

if (!response.ok) {
const errorData = await response.json();
throw new Error(errorData.error?.message || "Retry request failed");
}
return response.json();
}

Response Examples

{
"success": true,
"message": {
"id": "list_67890",
"status": "In Progress"
}
}

Best Practices

Retry Strategy

Smart Retries

Follow these guidelines for optimal retry handling:

  • Wait at least 5 minutes between retries (big lists may take time)
  • Implement exponential backoff for status checking
  • Monitor and log retry attempts

Need Help?

Support Resources