Truelist Batch email validation API
A Batch is a collection of email addresses that are uploaded to be validated. Batches are processed in the background and can be checked on later.
A Batch is a collection of email addresses that are uploaded to be validated. Batches are processed in the background and can be checked on later.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/truelist-io:truelist-io-batch-email-validation-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Truelist.io API documentation Batch email validation API
description: 'Welcome to Truelist''s api!
To get started, generate an api key. You''ll use the API key in an `Authorization` header in every request.
A note about rate limits: Each endpoint has a rate limit. If you exceed the rate limit, you''ll get a `429` error. The rate limit is 10 requests per second. This rate limit is specifically for API calls. The email validation rate limit is different and is based on your plan.'
contact:
name: API Support
email: hello@truelist.io
version: 0.2.2
servers:
- url: https://api.truelist.io
tags:
- name: Batch email validation
description: A Batch is a collection of email addresses that are uploaded to be validated. Batches are processed in the background and can be checked on later.
paths:
/api/v1/batches:
post:
tags:
- Batch email validation
summary: Verify a list of emails
description: 'Upload a list of emails to verify. You can either of the following (but not both):
- A `data` parameter that represents a json array of email data. Should be in the format of `[[''email@email.com''], [''email2@email.com'']]`. Each row can also contain arbitrary data, which is useful for supplying external ids or other identifying information. This data will be returned in the annotated csv result files. However, one element in the row array must be an email address. Needs at least 2 rows of data to be valid.
- A binary file upload via the `file` parameter documented below.
Note that batches are processed in the background. To check on the status of a list, you have a couple of options:
- Poll the status of your batch''s progress by `GET`ing the batch you created by its uuid.
- Supply a `webhook_url` when creating the batch. Truelist will makd a POST request to the url you supplied when the batch is completed. When we call your url, we''ll supply the `batch_id` in the body of the request.
Also note that counts are not updated until the batch is completed.'
security:
- truelist_auth: []
requestBody:
required: true
description: this is the description
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
description: The CSV / XLSX file to upload
uuid:
type: string
format: uuid
description: Supply a UUID if you want the batch to have this UUID. Otherwise, a random UUID will be generated.
webhook_url:
type: string
description: Supply a webhook_url when creating a batch. Truelist will call the url when the batch has completed.
validation_strategy:
type: string
enum:
- accurate
- fast
description: The validation strategy to use for the batch. Defaults to `accurate`. Using `fast` will skip our internal backoff/retry logic and deeper validation strategy checks. This is useful for when you want to validate a large number of emails quickly, but it may result in more false positives.
application/x-www-form-urlencoded:
schema:
type: object
properties:
data:
type: object
description: JSON object of email data. Should be in the format of `[['email@email.com'], ['email2@email.com']]`. Each row can contain arbitrary data which will be returned in the annotated csv result file, but one element in the row array must be an email address. Needs at least 2 rows of data to be valid.
filename:
type: string
description: The name of the json file. It will be used as the batch name, as well as the basis for the annotated, safest bet, highest reach, and only invalid csv files.
uuid:
type: string
format: uuid
description: Supply a UUID if you want the batch to have this UUID. Otherwise, a random UUID will be generated.
webhook_url:
type: string
description: Supply a webhook_url when creating a batch. Truelist will call the url when the batch has completed.
validation_strategy:
type: string
enum:
- accurate
- fast
description: The validation strategy to use for the batch. Defaults to `accurate`. Using `fast` will skip our internal backoff/retry logic and deeper validation strategy checks. This is useful for when you want to validate a large number of emails quickly, but it may result in more false positives.
responses:
'200':
description: A successful response
content:
application/json:
schema:
$ref: '#/components/schemas/batch'
'401':
description: User could not be found
content:
application/json:
schema:
$ref: '#/components/schemas/error'
operationId: postApiV1Batches
x-operation-id-source: derived
get:
tags:
- Batch email validation
summary: Retrieve all batches for your account
security:
- truelist_auth: []
responses:
'200':
description: A successful response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/batch'
'401':
description: User could not be found
content:
application/json:
schema:
$ref: '#/components/schemas/error'
operationId: getApiV1Batches
x-operation-id-source: derived
/api/v1/batches/{uuid}:
get:
tags:
- Batch email validation
summary: Retrieve a single batch by its UUID
parameters:
- name: uuid
in: path
required: true
description: The UUID of the batch to get
schema:
type: string
format: uuid
security:
- truelist_auth: []
responses:
'200':
description: A successful response
content:
application/json:
schema:
$ref: '#/components/schemas/batch'
'401':
description: User could not be found
content:
application/json:
schema:
$ref: '#/components/schemas/error'
'404':
description: Batch could not be found
content:
application/json:
schema:
$ref: '#/components/schemas/error'
operationId: getApiV1BatchesByUuid
x-operation-id-source: derived
delete:
tags:
- Batch email validation
summary: Delete a batch by its UUID
parameters:
- name: uuid
in: path
required: true
description: The UUID of the batch to get
schema:
type: string
format: uuid
security:
- truelist_auth: []
responses:
'200':
description: A successful response
content:
application/json:
schema:
$ref: '#/components/schemas/batch'
'401':
description: User could not be found
content:
application/json:
schema:
$ref: '#/components/schemas/error'
'404':
description: Batch could not be found
content:
application/json:
schema:
$ref: '#/components/schemas/error'
'422':
description: Batch could not be deleted - only completed batches can be deleted
content:
application/json:
schema:
$ref: '#/components/schemas/error'
operationId: deleteApiV1BatchesByUuid
x-operation-id-source: derived
components:
schemas:
error:
type: object
properties:
error:
type: string
description: Gives information about what went wrong with the request.
batch:
type: object
properties:
id:
type: string
format: uuid
description: The UUID of the batch
batch_state:
type: string
enum:
- pending
- pending_processing
- processing
- completed
description: The state of the batch verification process
batch_type:
type: string
enum:
- user_import api_import integration
description: Where the batch was created from
email_count:
type: integer
description: The count of emails in the batch.
processed_count:
type: integer
description: The number of emails that have gone through the verification process.
disposable_count:
type: integer
description: The number of disposable emails in the batch.
role_count:
type: integer
description: The number of role emails in the batch.
failed_syntax_check_count:
type: integer
description: The number of email addresses that failed the syntax checker.
failed_mx_check_count:
type: integer
description: The number of email addresses that failed the domain MX check.
failed_no_mailbox_count:
type: integer
description: The number of email addresses do not exist
ok_for_all_count:
type: integer
description: The number of email addresses that have a domain that accepts any email address.
unknown_count:
type: integer
description: The number of email addresses that have an unknown status.
ok_count:
type: integer
description: The number of email addresses are ok for delivery.
name:
type: string
description: The name of the batch.
webhook_url:
type: string
description: Supply a webhook_url when creating a batch. Truelist will call the url when the batch has completed.
safest_bet_csv_url:
type: string
description: A url to download a csv of the batch with the safest emails.
highest_reach_csv_url:
type: string
description: A url to download a csv of the batch with the highest reach emails.
only_invalid_csv_url:
type: string
description: A url to download a csv of the batch with only invalid emails.
annotated_csv_url:
type: string
description: A url to download a csv of the batch with an extra column that has the email validation results.
securitySchemes:
truelist_auth:
type: apiKey
in: header
name: Authorization
description: The user's bearer token sent via an Authorization header