FVAMail API

Connect any website to FVAMail. Send emails from forms, apps, and notifications.

How it connects

Your website talks to FVAMail through a simple HTTPS API. FVAMail handles delivery through our mail infrastructure.

Your Website (contact form, app, notification) | | POST /api/fvamail/send | Header: X-API-Key: your-key v FVA70K Cloud (Cloudflare) API validates key Queues the email | | Zoho Mail API v Mail Infrastructure SPF, DKIM, DMARC verified | v Recipient Inbox you@customer.com

What you need

Endpoints

POST/api/fvamail/send

Send an email. Max 50 recipients per request.

Headers

X-API-Key: your-fvamail-api-key
Content-Type: application/json

Body

{
  "to": "customer@example.com",
  "subject": "Thanks for contacting us",
  "html": "<h1>Hello!</h1><p>We got your message.</p>",
  "text": "Hello! We got your message.",
  "replyTo": "support@yourbusiness.com"
}

Response

{
  "ok": true,
  "sent": 1,
  "messageId": "abc123..."
}
GET/api/fvamail/status

Check if the API is operational. No auth needed.

Response

{
  "service": "FVAMail API",
  "status": "operational",
  "version": "1.0"
}

Example: contact form

Here's how to connect a website contact form to FVAMail with JavaScript:

async function sendContactEmail(name, email, message) {
  const res = await fetch('https://fva70k.com/api/fvamail/send', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'X-API-Key': 'your-fvamail-api-key'
    },
    body: JSON.stringify({
      to: 'info@yourbusiness.com',
      subject: 'New enquiry from ' + name,
      html: `<p><strong>From:</strong> ${name} (${email})</p>
             <p>${message}</p>`,
      replyTo: email
    })
  });
  return res.json();
}

Rate limits

Server requirements

Nothing special. If your website can make an HTTPS POST request, it can use FVAMail. Works with:

Need an API key?

API access is included with every FVAMail plan.

Get FVAMail