Skip to main content

Check Validation Status

Monitor the progress of your bulk email validation requests using our status check endpoint.

API Reference

Endpoint

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

The id parameter is returned in the response of your bulk upload request (e.g., list_12345)

Parameters

Path Parameters

ParameterRequiredTypeDescription
idYesstringThe unique identifier of your email list

Query Parameters

ParameterRequiredTypeDescription
apiKeyYesstringYour API authentication key

Code Examples

statusChecker.js
async function checkValidationStatus(apiKey, listId) {
const url = `https://api.cliova.com/v1/webhooks/email-validations/bulk-emails/${listId}/status?apiKey=${apiKey}`;
const response = await fetch(url, {
method: "GET",
headers: { Accept: "application/json" },
});

if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}

return response.json();
}

// Usage Example
checkValidationStatus("your_api_key", "list_12345")
.then((status) => console.log("Status:", status))
.catch((error) => console.error("Status check failed:", error));

Response Example

{
"code": "SUCCESS",
"message": "Successfully performed operation.",
"payload": [
{
"id": "10a65f89-5de0-403a-a1ea-8ceea94a4ad9",
"name": "Email List",
"orgId": "8e69b5b1248716cf",
"totalEmails": 2000,
"totalValidEmails": 1500,
"totalCreditsUsed": 2000,
"status": "COMPLETED",
"environment": "production",
"apiKeyId": "6510a65f-10a65f8-90a25h8",
"userId": "user_2sc3RYDvOtBEXNHtXH7Qm8jaFUW",
"createdAt": "2025-02-12T12:43:13.087Z",
"updatedAt": "2025-02-12T12:43:13.087Z",
"deletedAt": null
}
]
}

Status Codes

StatusDescription
IN PROGRESSValidation is in progress
COMPLETEDValidation completed successfully
FAILEDValidation failed due to an error

Need Help?

Support Resources