Submit Bulk Validation
const url = 'https://api.unwrap.email/v1/emails/bulk';const options = { method: 'POST', headers: { 'UNWRAP-EMAIL-API-TOKEN': '<UNWRAP-EMAIL-API-TOKEN>', 'Content-Type': 'application/json' }, body: '{"emails":["example"],"validate_domain":0}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.unwrap.email/v1/emails/bulk \ --header 'Content-Type: application/json' \ --header 'UNWRAP-EMAIL-API-TOKEN: <UNWRAP-EMAIL-API-TOKEN>' \ --data '{ "emails": [ "example" ], "validate_domain": 0 }'Validate up to 10,000 email strings asynchronously. Duplicates are processed and billed individually. Malformed rows are unbilled errors. Jobs expire 30 days after submission. validate_domain defaults to 0. Requires a write token and active subscription. Use Idempotency-Key for safe submission retries.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “ Header Parameters ”Request Body required
Section titled “ Request Body required ”Responses
Section titled “ Responses ”Accepted job, or the job from an identical idempotent submission.
object
object
Example
{ "job": { "status": "pending" }}Invalid request envelope, pagination, identifier, or header.
Valid API authentication is required; submission requires write permission.
API-token access requires an active subscription. Submission also requires an active subscription for session and bearer callers.
The job does not exist or belongs to another user.
Idempotency-Key input mismatch, or CSV is not ready.
Job results have expired.
Request body exceeds 5 MiB.
Three unfinished jobs already exist for this user.
Bulk admission is disabled or storage is temporarily unavailable.