Skip to content

POST /v1/validation/bulk ​

Queues a list of addresses for validation. Maximum 10,000 per request.

It is asynchronous: the response carries no results, only an id you use to read them afterwards. If the addresses live in an exported file, use POST /v1/validation/file instead.

Every address checked uses one validation credit.

Endpoint ​

http
POST /v1/validation/bulk
bash
curl -X POST https://api.mailiqo.com/v1/validation/bulk \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"emails": ["[email protected]", "[email protected]"]}'

Request body ​

FieldTypeRequiredDescription
emailsarrayYesList of addresses. Maximum 10,000.

Response ​

Code 201. The id identifies the validation so you can query its status and its result.

json
{
  "status": "success",
  "data": {
    "id": "val_6f1c0f3e6d1a4b7e9d2cxxxxxxxxxxxx"
  }
}
FieldTypeDescription
idstringIdentifier of the validation created.

Errors ​

CodeHTTPWhen
1300400More than 10,000 addresses in the request.
1304400Not enough validation credits.
1302500Recording the address list failed.
1303500Creating the validation request failed.

The balance is checked before the batch is accepted: if it does not cover every address, nothing is queued and the request is rejected with 1304.

Next step ​

With the id, follow the progress in GET /v1/validation/status/{id} and download the result in GET /v1/validation/details/{id}/{page}.

Built with VitePress