> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enrow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify Bulk Emails

> Validate a batch of email addresses in one request (up to 5,000) and check deliverability with the Email Verifier

<Badge color="green">POST</Badge>

```
https://api.enrow.io/email/verify/bulk
```

Run multiple email verifications in a single request. Up to 5,000 verifications per batch. Authenticate every request with your [API key](/authentication) in the `x-api-key` header. To verify a single address instead, use the [Verify Single Email](/api-reference/email-verifier/verify-single) endpoint.

<Info>
  Enrow performs **determinist verifications** that verify even catch-all emails. No debouncer needed.
</Info>

## Request Body

<ParamField body="verifications" type="array of strings" required>
  Array of email addresses to verify.
</ParamField>

<ParamField body="custom" type="object">
  Custom params that will be returned in the GET response and in the webhook notification.

  <Expandable title="custom object">
    <ParamField body="your_custom_key_name" type="string" default="your_custom_property">
      Custom data of yours
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="settings" type="object">
  Settings related to this bulk verification.

  <Expandable title="settings properties">
    <ParamField body="webhook" type="string">
      A URL that will be notified through an HTTP POST request once the bulk verification is finished. See [How Webhooks Work](/how-webhooks-work).
    </ParamField>
  </Expandable>
</ParamField>

## Response

### 201 — Bulk verification started

<ResponseField name="message" type="string">
  Confirmation message
</ResponseField>

<ResponseField name="id" type="string">
  Unique identifier for this batch. Use this to retrieve results via the [GET endpoint](/api-reference/email-verifier/get-bulk-verifications).
</ResponseField>

<ResponseField name="credits_used" type="number">
  Total credits consumed. See [Credits & billing](/credits-billing) for per-endpoint costs.
</ResponseField>

<ResponseField name="estimated_duration" type="number">
  Estimated processing time in minutes (not guaranteed)
</ResponseField>

<ResponseField name="credits" type="object">
  Credit breakdown

  <Expandable title="credits properties">
    <ResponseField name="amount" type="number">
      Credits consumed
    </ResponseField>

    <ResponseField name="source" type="string">
      Credit source: `sub` (subscription), `paygo` (pay-as-you-go), or `mixed`
    </ResponseField>

    <ResponseField name="split" type="object">
      Breakdown between subscription and pay-as-you-go credits (`fromSub`, `fromPaygo`)
    </ResponseField>
  </Expandable>
</ResponseField>

### Error Responses

| Code    | Message                                                         |
| ------- | --------------------------------------------------------------- |
| **400** | `Missing payload`                                               |
| **400** | `At least 1 verification must be present in the payload`        |
| **400** | `Too many verifications. Limit is currently at 5000 per batch.` |
| **401** | `No apikey found in the x-api-key headers`                      |
| **401** | `This apikey is not valid`                                      |
| **402** | `Insufficient credits`                                          |

<Note>
  On insufficient credits, the bulk endpoint returns **402** with body `{ "message": "..." }`. See [Error handling](/error-handling) for the full list of status codes and response formats.
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url https://api.enrow.io/email/verify/bulk \
    --header 'Content-Type: application/json' \
    --header 'x-api-key: YOUR_API_KEY' \
    --data '{
      "verifications": [
        "pam.beesly@dundermifflin.com",
        "angela.martin@dundermifflin.com",
        "stanley.hudson@dundermifflin.com"
      ],
      "settings": {
        "webhook": "https://your-app.com/webhooks/enrow/verify"
      }
    }'
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://api.enrow.io/email/verify/bulk', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'x-api-key': process.env.ENROW_API_KEY
    },
    body: JSON.stringify({
      verifications: [
        'pam.beesly@dundermifflin.com',
        'angela.martin@dundermifflin.com',
        'stanley.hudson@dundermifflin.com'
      ],
      settings: {
        webhook: 'https://your-app.com/webhooks/enrow/verify'
      }
    })
  });

  const data = await response.json();
  console.log(`Batch ID: ${data.id}`);
  ```

  ```python Python theme={null}
  import requests
  import os

  url = "https://api.enrow.io/email/verify/bulk"
  headers = {
      "Content-Type": "application/json",
      "x-api-key": os.getenv("ENROW_API_KEY")
  }
  payload = {
      "verifications": [
          "pam.beesly@dundermifflin.com",
          "angela.martin@dundermifflin.com",
          "stanley.hudson@dundermifflin.com"
      ],
      "settings": {
          "webhook": "https://your-app.com/webhooks/enrow/verify"
      }
  }

  response = requests.post(url, json=payload, headers=headers)
  print(response.json())
  ```
</RequestExample>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "message": "Bulk verification operating",
    "id": "0cf517bc-16e8-45bc-b967-ab9116b3c804",
    "credits_used": 0.75,
    "estimated_duration": 1
  }
  ```

  ```json Error Response theme={null}
  {
    "message": "..."
  }
  ```
</ResponseExample>

## Next steps

<CardGroup cols={2}>
  <Card title="Get the results" icon="inbox" href="/api-reference/email-verifier/get-bulk-verifications">
    Retrieve verification results using the batch `id`.
  </Card>

  <Card title="Verify a single email" icon="circle-check" href="/api-reference/email-verifier/verify-single">
    Check whether one email address is valid and deliverable.
  </Card>

  <Card title="Credits & billing" icon="coins" href="/credits-billing">
    See how credits are consumed for each endpoint.
  </Card>

  <Card title="Webhooks" icon="bell" href="/how-webhooks-work">
    Get notified automatically when a batch completes.
  </Card>
</CardGroup>
