Developer Portal

Build email trust into anything

REST endpoints for email, domain, link and attachment scanning. Generate a real key and try a live request.

API keys

Sign in to generate real, hashed API keys tied to your account.

Endpoints

  • POST
    /api/scan/email

    Full email trust scan — verdict + all sub-scores.

  • POST
    /api/scan/domain

    Sender auth (SPF/DKIM/DMARC/BIMI/MTA-STS) + impersonation.

  • POST
    /api/scan/link

    Inspect one or more URLs for risk.

  • POST
    /api/scan/attachment

    Static attachment analysis (multipart or JSON).

  • GET
    /api/report/:id

    Retrieve a previously computed scan report.

  • GET
    /api/usage

    Quota, keys and usage by endpoint.

Try it live

Real request to POST /api/scan/domain (live DNS).

Authentication
# Pass your key as a Bearer token or x-api-key header
curl https://afriemail.com/api/scan/email \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "content-type: application/json" \
  -d '{ "email": "From: ...\nSubject: ...", "domain": "example.com" }'