---
title: "Create a batch email validation job"
method: POST
path: "/email_validations/batch"
tags: ["Email Validations"]
---

# Create a batch email validation job

`POST /email_validations/batch`

Creates an asynchronous batch validation job for up to 1,000 email addresses.

## Headers

- `Idempotency-Key` string

## Request body

- CreateEmailValidationBatchRequest
  - `emails` string[], required
  - `webhook_url` string, uri — URL for batch completion webhook. Empty string is treated as omitted. SSRF-protected; private/reserved IPs and internal hostnames are rejected.

## Response `202`

Batch validation job accepted. Poll GET /email_validations/batch/{id} with the returned batch id to retrieve results.

- EmailValidationBatchResponse
  - `data` EmailValidationBatch, required — Shape returned by the create endpoint. Includes duplicates_removed.
    - `duplicates_removed` integer, required
    - `id` string, uuid, required
    - `record_type` 'email_validation_batch', required
    - `status` 'pending' | 'processing' | 'completed' | 'failed', required
    - `total` integer, required
    - `webhook_url` string, uri

## Other responses

- `400` — Missing or invalid email list, or batch size exceeded. Invalid, duplicate, empty, malformed, or overlong Idempotency-Key headers are rejected by Edge with HTTP 400 and error code 10015.
- `401` — Not authorized (10006).
- `409` — A request with the same Idempotency-Key is still being processed (10036). Retry later with the same key and request.
- `413` — Request body exceeds the 8,000,000-byte limit for this endpoint.
- `422` — Changeset validation error (e.g. invalid webhook_url). Reusing an Idempotency-Key with a different request also returns 422 (10027).
- `500` — Internal server error (10019).
- `503` — Service unavailable (10016), including an unavailable upstream dependency or unavailable Edge idempotency protection for a keyed request.

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/3fdc16374d70/schema)
