Start a bulk job
POST
/v1/bulk/jobs
const url = 'https://api.validationcheck.net/v1/bulk/jobs';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"type":"email","inputs":["example"],"name":"example","country":"example","smtp":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.validationcheck.net/v1/bulk/jobs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "type": "email", "inputs": [ "example" ], "name": "example", "country": "example", "smtp": true }'Checks up to 100,000 inputs of one type in the background. Duplicates and blanks are folded (free). The job reserves up to four credits per unique phone input, or one for other types when it starts (402 INSUFFICIENT_CREDITS and nothing starts if you don’t have them), so it can’t run out partway through; free answers and repeats are returned when it finishes. Get a bulk.completed webhook, or poll GET /v1/bulk/jobs/{id}.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
type
required
string
inputs
required
Array<string>
name
string
country
Default country for phone numbers without a + prefix.
string
smtp
Emails: set false to skip mailbox checks.
boolean
Responses
Section titled “Responses”Started
Media typeapplication/json
object
success
required
boolean
data
required
object
id
required
string
name
required
string
type
required
string
status
required
string
total_rows
required
number
unique_inputs
required
number
processed
required
number
credits_used
required
number
results
required
object
approve
required
number
verify
required
number
review
required
number
block
required
number
errors
required
number
skipped
required
number
cache_hits
required
number
created_at
required
string
completed_at
required
string | null
expires_at
required
Results and files are deleted 7 days after the job was created.
string
Example
{ "success": true, "data": { "type": "email", "status": "queued" }}Error
Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
docs_url
required
string format: uri
request_id
required
string
Example
{ "success": false, "error": { "code": "INVALID_REQUEST" }}Error
Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
docs_url
required
string format: uri
request_id
required
string
Example
{ "success": false, "error": { "code": "INVALID_REQUEST" }}Error
Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
docs_url
required
string format: uri
request_id
required
string
Example
{ "success": false, "error": { "code": "INVALID_REQUEST" }}Error
Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
docs_url
required
string format: uri
request_id
required
string
Example
{ "success": false, "error": { "code": "INVALID_REQUEST" }}Error
Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
docs_url
required
string format: uri
request_id
required
string
Example
{ "success": false, "error": { "code": "INVALID_REQUEST" }}Error
Media typeapplication/json
object
success
required
boolean
error
required
object
code
required
string
message
required
string
docs_url
required
string format: uri
request_id
required
string
Example
{ "success": false, "error": { "code": "INVALID_REQUEST" }}