Self-hosted verification engine

API

Integrate Valimail

Send a key with every validation request. Create keys in the dashboard. The secret is shown once and cannot be fetched again.

Manage keys

Authentication

Keys start with vm_live_. Send either header. A missing, revoked, or wrongly prefixed key returns 401.

Authorization: Bearer vm_live_YOUR_KEY
OR
x-api-key: vm_live_YOUR_KEY

Endpoints

Check one address

POST /api/v1/check-email

Add ?sync=1 for a synchronous v0 check. The default queues the check on v1. isReachable is safe, risky, invalid, or unknown.

Request

{
  "to_email": "person@example.com"
}

200 response

{
  "email": "person@example.com",
  "isReachable": "safe",
  "source": "v1",
  "checkId": "cm123abc",
  "result": {
    "input": "person@example.com",
    "is_reachable": "safe",
    "syntax": {
      "address": "person@example.com",
      "domain": "example.com",
      "is_valid_syntax": true,
      "username": "person"
    },
    "mx": {
      "accepts_mail": true,
      "records": ["mx.example.com"]
    },
    "smtp": {
      "can_connect_smtp": true,
      "has_full_inbox": false,
      "is_catch_all": false,
      "is_deliverable": true,
      "is_disabled": false
    },
    "misc": {
      "is_disposable": false,
      "is_role_account": false
    }
  }
}

Start a list

POST /api/v1/bulk

name is optional. The response includes jobId. Poll that id until the job is completed.

Request

{
  "input": ["a@example.com", "b@example.com"],
  "name": "April list"
}

201 response

{
  "jobId": "cm123abc",
  "reacherJobId": "42",
  "status": "Running"
}

Job status

GET /api/v1/bulk/{jobId}

Poll until status is Completed. summary counts safe, risky, invalid, and unknown addresses.

200 response

{
  "jobId": "cm123abc",
  "name": "April list",
  "reacherJobId": "42",
  "status": "Completed",
  "totalRecords": 2,
  "totalProcessed": 2,
  "summary": {
    "safe": 1,
    "risky": 0,
    "invalid": 1,
    "unknown": 0
  },
  "createdAt": "2026-04-01T12:00:00.000Z",
  "finishedAt": "2026-04-01T12:00:08.000Z"
}

Job results

GET /api/v1/bulk/{jobId}/results

Read this after the job is Completed. Each row has email, isReachable, and the raw verifier payload.

200 response

{
  "jobId": "cm123abc",
  "results": [
    {
      "email": "a@example.com",
      "isReachable": "safe",
      "raw": {
        "input": "a@example.com",
        "is_reachable": "safe",
        "smtp": { "is_deliverable": true, "is_catch_all": false }
      }
    },
    {
      "email": "b@example.com",
      "isReachable": "invalid",
      "raw": {
        "input": "b@example.com",
        "is_reachable": "invalid",
        "smtp": { "is_deliverable": false }
      }
    }
  ]
}

Errors

Failed requests return { "error": string, "details"?: unknown }. 401 means the key is missing, revoked, or does not start with vm_live_.