Verify up to 100 email addresses
POST/v1/verify/batch
The same checks as verifying one address, for a list of up to 100. Results come back in the order you sent them, with a count of each outcome. Every address uses one verification, and the whole request is refused if your remaining verifications would not cover it.
Required scope: emails:verify
Request body
| Field | Type |
|---|---|
emailsrequired | string[] |
Unknown fields are rejected, so a typo never silently does nothing.
Example
curl -X POST 'https://api.sendsend.email/v1/verify/batch' \
-H "Authorization: Bearer $SENDSEND_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"emails": [
"maria@example.com",
"bad@@example"
]
}'Response 200
{
"object": "list",
"data": [
{
"object": "email_verification",
"email": "maria@example.com",
"result": "valid",
"reasons": [],
"suggestion": null,
"free_provider": false,
"role_account": false,
"disposable": false,
"mail_servers": [
"mx1.example.com"
]
},
{
"object": "email_verification",
"email": "bad@@example",
"result": "invalid",
"reasons": [
"invalid_syntax"
],
"suggestion": null,
"free_provider": false,
"role_account": false,
"disposable": false,
"mail_servers": []
}
],
"summary": {
"valid": 1,
"invalid": 1,
"risky": 0,
"unknown": 0
},
"verifications": {
"used": 14,
"limit": 5000
}
}Errors
| Status | Code | When |
|---|---|---|
| 400 | validation_error | The request body or parameters are invalid. The message says which field. |
| 401 | unauthorized | The API key is missing, invalid or revoked. |
| 403 | forbidden | The key does not have the scope this endpoint needs. |
| 429 | quota_exhausted | The month’s verifications for your plan would be exceeded. |
| 429 | rate_limited | Too many requests. Wait for the number of seconds in the Retry-After header. |
Every error has the same shape. See Errors.