MailStack

API Keys

Manage your SMTP relay API keys

Your API Keys

The full key is only shown once at creation. Reveal toggles a local in-memory view.

No API keys yet

Create your first key to start sending emails.

Quick Start

Send your first email using the API

send-email
const response = await fetch('https://api.mailstack.io/v1/email/send', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    to: 'recipient@example.com',
    from: 'you@yourdomain.com',
    subject: 'Hello from MailForge',
    html: '<p>Your email content here</p>',
  }),
});