Verification
Validate email addresses (syntax, MX records, disposable domain detection).
Verify email addresses before sending to reduce bounces and protect your sender reputation. Checks include syntax validation, MX record lookup, disposable domain detection, and role-based address detection. Supports single and batch verification.
Endpoints
| Method | Path | Permission | |
|---|---|---|---|
| POST | Verify an email address | verify.use | |
| POST | Batch verify emails | verify.use |
Verify Email
POST /api/v1/verify • POST /api/v1/verify/batch
Single verification
Response (single)
json
{
"success": true,
"data": {
"email": "user@example.com",
"is_valid": true,
"checks": {
"syntax": { "valid": true },
"mx": { "valid": true, "records": ["mx1.example.com", "mx2.example.com"] },
"disposable": { "is_disposable": false }
}
}
}Batch verification
Response (batch)
json
{
"success": true,
"data": [
{ "email": "valid@example.com", "is_valid": true, "checks": { "syntax": { "valid": true }, "mx": { "valid": true, "records": ["mx1.example.com"] }, "disposable": { "is_disposable": false } } },
{ "email": "invalid@fakeddomain.xyz", "is_valid": false, "checks": { "syntax": { "valid": true }, "mx": { "valid": false, "reason": "No MX records found" }, "disposable": { "is_disposable": false } } },
{ "email": "throwaway@tempmail.io", "is_valid": false, "checks": { "syntax": { "valid": true }, "mx": { "valid": true, "records": ["mx.tempmail.io"] }, "disposable": { "is_disposable": true } } }
]
}