Skip to content
RocketVerifierDOCS
POSThttps://api.rocketverifier.com/v1/verify/bulk/upload

Upload a list for verification

In short

POST a file (CSV, TSV, TXT or XLSX, up to 50 MB and 500,000 unique addresses) or a public HTTPS URL to /v1/verify/bulk/upload. Add preview=true to get a free list health estimate first, then confirm to charge 1 credit per unique address and start verification. Without preview, the job is charged and started as soon as the file has been read.

OAuth scope verify:bulk

curl -X POST https://api.rocketverifier.com/v1/verify/bulk/upload \
  -H "Authorization: Bearer $ROCKETVERIFIER_API_KEY" \
  -F "file=@leads.csv" \
  -F "name=October leads" \
  -F "email_column=Work Email" \
  -F "preview=true"
Response 202
{
  "job_id": "Jx3nq0V8cW1sT5bYk2dHfA",
  "status": "ingesting",
  "preview": true,
  "status_url": "/v1/jobs/Jx3nq0V8cW1sT5bYk2dHfA",
  "progress_url": "/v1/jobs/Jx3nq0V8cW1sT5bYk2dHfA/progress"
}

File upload is the way to verify a spreadsheet or an export without parsing it yourself. RocketVerifier reads the file, finds the email column, verifies each address once and keeps your original columns for the download, one row per row of your file.

File types
CSV, TSV, TXT, XLSX
File size
Up to 50 MB
Rows
500,000 unique
Preview
Free

Choose upload or JSON#

Use file upload for files and exports, and POST /v1/verify/bulk when your code already holds the addresses.

File uploadJSON bulk
EndpointPOST /v1/verify/bulk/uploadPOST /v1/verify/bulk
InputCSV, TSV, TXT or XLSX file, or an HTTPS URLJSON array of addresses
Unique addresses per job500,000100,000
Free list health previewYes, with preview=trueNo
ChargedWhen the file has been read, or at confirmWhen the job is created
Original columns in the downloadYesNo
Sandbox keysNot acceptedAccepted with sandbox addresses

Both run the same verification, refund unknown results at completion and share every job endpoint.

Upload a file#

Send multipart/form-data with the file in the file field. The response is 202 with the job id, and the job starts in ingesting while the file is read.

Headers

  • Authorizationstringrequired

    Bearer <API key or access token> with the verify:bulk scope.

  • Content-Lengthintegerrequired

    Required for multipart uploads. cURL and the SDKs set it for you. Missing it returns 411 length_required.

  • Idempotency-Keystring

    Any unique string. Retrying with the same key within 24 hours returns the original job instead of a second upload.

Form fields

  • filefilerequired

    The list: .csv, .tsv, .txt or .xlsx, up to 50 MB. Send exactly one of file and source_url.

  • namestring

    Job name shown in the dashboard and on every job endpoint. Up to 200 characters.

  • email_columnstring

    Header name (case-insensitive) or 0-based index of the email column. Detected automatically when omitted.

  • column_mappingstring

    JSON object such as {"email": "Work Email"}. Takes precedence over email_column.

  • previewbooleandefault false

    true stops the job after a free list health preview, and nothing is charged until you confirm.

  • callback_urlstring

    Public HTTPS URL that receives a signed POST when the job completes or fails. See callbacks.

Import from a URL#

Send application/json with source_url instead of a file. RocketVerifier downloads the file server side over HTTPS, with the same 50 MB and 500,000 address limits.

cURL
curl -X POST https://api.rocketverifier.com/v1/verify/bulk/upload \
  -H "Authorization: Bearer $ROCKETVERIFIER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source_url": "https://files.northwind.io/exports/leads.csv",
    "name": "October leads",
    "column_mapping": {"email": "Work Email"},
    "preview": true
  }'

JSON body

  • source_urlstring (uri)required

    Public HTTPS URL of the file, up to 2,048 characters. Fetched server side, 50 MB max.

  • namestringup to 200 characters

    Job name shown in the dashboard.

  • The email column, such as {"email": "Work Email"} or {"email": 2}. A bare header name also works. Detected automatically when omitted.

  • Header name or 0-based index of the email column. Used when column_mapping is not set.

  • previewbooleandefault false

    Stop after a free list health preview and wait for /confirm.

  • callback_urlstring (uri)

    Public HTTPS URL that receives a signed POST when the job completes or fails.

The URL must be public HTTPS. Private, loopback and internal addresses are refused with 400 invalid_source_url. In the SDKs, pass sourceUrl (Node.js) or source_url (Python) instead of a file.

Pick the email column#

When you do not name the column, RocketVerifier chooses it in this order:

  1. A header that is exactly an email header, such as Email, E-mail, Email Address or Mail.
  2. Any header that contains email or e-mail.
  3. The column with the most email-shaped values in the first rows.

A file with no header row works too: the first row is treated as data when it contains an address. A .txt file with one address per line needs no header at all. Text files are read as UTF-8, with Latin-1 as the fallback, and the delimiter (comma, semicolon, tab or pipe) is detected automatically. Rows keep up to 200 columns, and every cell keeps up to 1,000 characters.

Repeated addresses within the file are compared case-insensitively and charged once, and blank rows are skipped. Each repeat still gets its own row in the results and downloads, with duplicate: true and, with include_original=true, its own original columns.

Get the free list health preview#

POST /v1/verify/bulk/{jobId}/preview returns an estimate of the list's quality before you spend a credit. Every row gets syntax, disposable, role, MX, duplicate and suppression checks. Lists with 50 or more rows that need SMTP also get a live SMTP probe of a random sample (2% of the list, from 10 to 200 addresses), on up to 10 sampled previews per account per day, and the sample's results are projected across the list. smtp_sample.skipped is list_too_small or daily_limit when a preview ran without a sample.

POST/v1/verify/bulk/{jobId}/preview
curl -X POST https://api.rocketverifier.com/v1/verify/bulk/Jx3nq0V8cW1sT5bYk2dHfA/preview \
  -H "Authorization: Bearer $ROCKETVERIFIER_API_KEY"
Response 200
{
  "job_id": "Jx3nq0V8cW1sT5bYk2dHfA",
  "status": "awaiting_confirmation",
  "preview": {
    "computed_at": "2026-11-11T10:31:12.004118+00:00",
    "total_emails": 48210,
    "duplicates_removed": 1372,
    "free_checks": {
      "syntax_invalid": 212,
      "no_mx": 388,
      "disposable": 640,
      "role_based": 1905,
      "suppressed": 57,
      "free_provider": 20114,
      "resolved_without_smtp": 1297,
      "needs_smtp": 46913
    },
    "smtp_sample": {
      "size": 200,
      "counts": { "valid": 171, "invalid": 14, "catch_all": 11, "unknown": 4 },
      "method": "random sample of SMTP-bound rows, min(200, 2%), at least 10",
      "skipped": null
    },
    "estimated_counts": { "valid": 40109, "invalid": 3918, "catch_all": 2580, "disposable": 640, "unknown": 963 },
    "estimated_by_status": { "deliverable": 40109, "undeliverable": 4558, "risky": 2580, "unknown": 963 },
    "estimated_bounce_rate": 0.0813,
    "undeliverable_share": 0.0945,
    "risky_share": 0.0,
    "unknown_share": 0.0735,
    "credits_needed": 48210,
    "estimated_credits_after_refunds": 47247,
    "confidence": "high"
  }
}

While the file is still being read, the call returns 202 with preview: null, and the SDKs report pending. Poll every few seconds. Add ?refresh=true to recompute the preview of a job that is waiting for confirmation, for example after you update your suppression list.

Confirm and start the job#

POST /v1/verify/bulk/{jobId}/confirm charges 1 credit per unique address (preview.credits_needed) and queues the job. It is safe to retry: a job is never charged twice.

POST/v1/verify/bulk/{jobId}/confirm
curl -X POST https://api.rocketverifier.com/v1/verify/bulk/Jx3nq0V8cW1sT5bYk2dHfA/confirm \
  -H "Authorization: Bearer $ROCKETVERIFIER_API_KEY"
Response 200
{
  "job_id": "Jx3nq0V8cW1sT5bYk2dHfA",
  "status": "pending",
  "credits_charged": 48210,
  "credits_remaining": 51790
}

From here the job behaves like any bulk job. Track it with progress, and download results with include_original=true to get your own columns back. To drop a previewed list instead, cancel the job: nothing was charged, so nothing is lost.

Get a callback when the job finishes#

Set callback_url and RocketVerifier POSTs a signed job.completed or job.failed event to that URL for this one job. The upload response then includes callback_secret (whsec_...), shown only once: store it to verify the signature.

Callbacks use the same envelope, headers, signature scheme and retry schedule as webhooks, signed with the job's callback_secret. For events on every job, register a webhook once instead.

Follow the job lifecycle#

An upload moves through these statuses. Every one of them is visible on GET /v1/jobs/{jobId}.

StatusWhat is happening
ingestingThe file is being downloaded, parsed and deduplicated. Nothing is charged.
awaiting_confirmationpreview=true only. The preview is ready and the job waits for /confirm. Nothing is charged.
pendingCharged and queued.
processingVerification is running.
completedDone. Unknown results are refunded, and webhooks and callbacks fire.
failedThe file could not be used, or the job stopped. A job.failed event fires.
cancelledYou cancelled it.

An upload fails while ingesting when the file cannot be read, has no email column, has no addresses, has more than 500,000 unique addresses, or the balance does not cover it once read. A failed upload is never charged.

Errors#

Statuserror.codeWhen it happens
400missing_fileSend exactly one of file and source_url.
400unsupported_file_typeThe file is not .csv, .tsv, .txt or .xlsx.
400empty_fileThe uploaded file has no bytes.
400invalid_column_mappingcolumn_mapping is not valid JSON or not an object.
400invalid_source_url, invalid_callback_urlThe URL is not public HTTPS or is longer than 2,048 characters.
400invalid_jsonThe JSON body is not a JSON object.
401unauthorized, api_key_expiredThe key is missing, invalid, revoked or expired.
402insufficient_creditsThe balance is zero, or it does not cover the list at confirm.
402api_key_spend_cap_reachedConfirming would pass this key's monthly spend cap.
403sandbox_key_restrictedSandbox keys cannot upload files.
403insufficient_scopeThe credential lacks verify:bulk.
404not_foundNo job with this id on your account.
409preview_unavailableThe job was uploaded without preview=true.
409job_not_awaiting_confirmationThe job is not waiting for confirmation. details.status says where it is.
411length_requiredThe multipart request has no Content-Length.
413file_too_largeThe file is larger than 50 MB.
415unsupported_media_typeUse multipart/form-data or application/json.
502storage_unavailableThe file could not be stored. Retry the upload.
503maintenance, queue_unavailableUploads are paused briefly. Retry shortly.

Every error uses the standard error shape.

Frequently asked questions

What is the largest file I can upload?

50 MB and 500,000 unique addresses per upload, in CSV, TSV, TXT or XLSX. The JSON endpoint POST /v1/verify/bulk takes up to 100,000 addresses per request.

Does the list health preview cost credits?

No. The preview runs syntax, disposable, role, MX, duplicate and suppression checks on every row and charges nothing. Lists with 50 or more rows that need SMTP also get a live SMTP probe of a random sample, on up to 10 sampled previews per account per day. You pay only when you confirm.

How does RocketVerifier find the email column?

It picks the column whose header looks like an email header, then any header containing "email", then the column with the most email-shaped values. Set email_column or column_mapping to choose it yourself.

Can I keep my own columns in the results?

Yes. Download with include_original=true and every row starts with your file's original columns, followed by the verification results.

Can I upload with a sandbox key?

No. Sandbox keys cannot upload files. Test bulk flows with POST /v1/verify/bulk and @sandbox.rocketverifier.com addresses instead.

Updated 28 November 2026Suggest an edit