DocumentationQuickstart
Quickstart
Send your first email with an API key in under 10 minutes.
Follow these steps to send your first transactional email.
Create account and tenant
Sign up in the MailingCore dashboard. After login you will have at least one tenant; copy its
id(you need it in theX-Tenant-Idheader).Generate an API key
In Settings → API keys, create a key with the
email:sendscope. Store it in a secrets manager; the full key is not shown again.Configure environment variables
On your server (never in the client in production):
MAILINGCORE_API_KEY=mc_test_xxxx MAILINGCORE_TENANT_ID=clxxxxxxxxSend your first email
Call the API from your backend:
curl -X POST "https://api.mailingcore.com/emails/send" \ -H "Authorization: Bearer mc_test_xxxx" \ -H "X-Tenant-Id: clxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "to": "[email protected]", "subject": "Hello from MailingCore", "htmlBody": "<p>Your first send.</p>" }'
Typical response (async):
{
"id": "clx9k...",
"status": "QUEUED",
"queued": true,
"position": 1
}
Next steps
- Authentication — JWT vs API key
- Verify domain — SPF, DKIM, DMARC
- Plans and quotas — Free plan limits