DEVELOPER HUB

REST API & SDKs

Integrate real-time 10-stage email hygiene directly into your user registration forms, CRM workflows, or data ingestion pipelines.

POST /app/apiv1
<45ms Execution

Perform deterministic and direct socket validation against a single target email address.

Request Parameters & Headers

FieldTypeDescription
Authorization Header Bearer Token: Bearer elc_live_...
Content-Type Header application/json
email Body (Required) Target email address to verify
timeout Body (Optional) Socket timeout in seconds (Default: 4.5)

JSON Response Structure (200 OK)

{
  "status": "success",
  "data": {
    "email": "alex.rivers@apple.com",
    "verdict": "valid",
    "quality_score": 96,
    "checks": {
      "syntax": true,
      "mx_records": true,
      "disposable": false,
      "role_account": false,
      "smtp_handshake": "accepted",
      "free_provider": false
    },
    "duration_ms": 38
  }
}

Code Integration Examples

Select your preferred runtime:
curl -X POST "https://emaillistclean.haitechnologies.com/app/apiv1" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "alex.rivers@apple.com"}'
<?php
\$payload = json_encode(['email' => 'alex.rivers@apple.com']);
\$ch = curl_init('https://emaillistclean.haitechnologies.com/app/apiv1');
curl_setopt_array(\$ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST           => true,
    CURLOPT_POSTFIELDS     => \$payload,
    CURLOPT_HTTPHEADER     => [
        'Authorization: Bearer YOUR_API_KEY',
        'Content-Type: application/json'
    ],
]);
\$response = curl_exec(\$ch);
\$result   = json_decode(\$response, true);
print_r(\$result);
const response = await fetch('https://emaillistclean.haitechnologies.com/app/apiv1', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ email: 'alex.rivers@apple.com' })
});

const data = await response.json();
console.log('Verdict:', data.data.verdict, 'Score:', data.data.quality_score);
import requests

url = "https://emaillistclean.haitechnologies.com/app/apiv1"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}
payload = {"email": "alex.rivers@apple.com"}

res = requests.post(url, json=payload, headers=headers)
print(res.json())

Webhook Event Notifications

ASYNC BATCH NOTIFICATIONS

Receive real-time HTTP POST notifications upon completion of large bulk list verification jobs or quota alerts.

{
  "event": "list.verification_completed",
  "list_id": 1042,
  "list_name": "Q4_Newsletter_Cleaned.csv",
  "timestamp": 1728528000,
  "metrics": {
    "total_rows": 50000,
    "valid": 44100,
    "invalid": 3200,
    "risky": 1800,
    "disposable": 900
  },
  "download_url": "https://emaillistclean.haitechnologies.com/app/list?id=1042&export=valid"
}
Configure webhook destinations and HMAC signing secrets in your Workspace Settings.

HTTP Status & Error Codes

Status Code Reason Code Description
200 OK SUCCESS Request processed successfully with complete 10-point payload.
400 Bad Request INVALID_SYNTAX Malformed JSON payload or target address string is empty.
401 Unauthorized AUTH_FAILED Missing or revoked API token in Bearer header.
402 Payment Required INSUFFICIENT_CREDITS Account has consumed all verification credits for the current billing cycle.
429 Too Many Requests RATE_LIMIT_EXCEEDED Account exceeded concurrent request threshold (Retry with exponential backoff).
ENTERPRISE INFRASTRUCTURE

Global High-Throughput Edge Nodes

Our verification API clusters are engineered and maintained across globally redundant tier-4 facilities by parent company Hai Technologies LLC (www.haitechnologies.com).