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/bulkbash
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
| Field | Type | Required | Description |
|---|---|---|---|
emails | array | Yes | List 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"
}
}| Field | Type | Description |
|---|---|---|
id | string | Identifier of the validation created. |
Errors
| Code | HTTP | When |
|---|---|---|
1300 | 400 | More than 10,000 addresses in the request. |
1304 | 400 | Not enough validation credits. |
1302 | 500 | Recording the address list failed. |
1303 | 500 | Creating 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}.
Related endpoints
POST /v1/validation/file— the same addresses, from a filePOST /v1/validation/single-email— one address, without waiting
