Built by Senlo.io — Need full transactional email infrastructure? Explore Senlo →

Developer API

Integrate email risk analysis into your own apps

SendGate provides a robust REST API for self-hosted deployments. Automate list hygiene by checking risks in real-time within your own infrastructure.

Standard REST API with Bearer auth
Real-time technical & behavioral analysis
Zero-latency Sandbox mode for testing
JSON Response
{
  "email": "test@example.com",
  "risk": "safe",
  "score": 95,
  "details": {
    "is_disposable": false,
    "is_role_based": false,
    "is_catch_all": false,
    "has_mx": true,
    "has_spf": true,
    "has_dmarc": true
  },
  "findings": [
    "Verified provider configuration",
    "Standard shared infrastructure"
  ]
}
HTTP 200 OK

Built for developers

Single Email Analysis

Real-time checks for registration forms and lead capture.

Sandbox Environment

Test your integration without performing actual DNS lookups.

Deep Technical Scan

Full DNS, SPF, DMARC, and MX record assessment.

Behavioral Detection

Identify typos, role-based, and disposable emails.

API Reference

Authentication

Self-Hosted Only: To enable API access, you must set the SENDGATE_API_KEY environment variable on your own instance. This public demo does not accept external API requests.

Pass your configured key in the Authorization header:

Authorization: Bearer YOUR_CONFIGURED_KEY

Analyze Single Email

POST/api/v1/analyze/single

Request Body

{
  "email": "test@example.com",
  "sandbox": false
}

Response

{
  "email": "test@example.com",
  "risk": "safe",
  "score": 95,
  "details": {
    "is_disposable": false,
    "is_role_based": false,
    "is_catch_all": false,
    "has_mx": true,
    "has_spf": true,
    "has_dmarc": true
  },
  "findings": [
    "Verified provider configuration",
    "Standard shared infrastructure"
  ]
}

Health Check

GET/api/health

Monitor instance status, version, and uptime. No authentication required.

Sample Response

{
  "status": "healthy",
  "timestamp": "2026-02-05T12:00:00Z",
  "version": "0.1.0",
  "uptime": 3600.5,
  "env": "production"
}

Pro tip: Use this endpoint for Docker health checks or external monitoring services like UptimeRobot.