Everything you need to integrate MailFabric into your application. From quick start guides to complete API reference.
Get up and running with MailFabric in three simple steps.
Generate an API key from your dashboard to authenticate requests.
# Navigate to Dashboard > Settings > API Keys
# Click "Create New Key"
# Copy your key — it won't be shown again
export MAILFABRIC_API_KEY="mf_live_..."Add and verify your sending domain with DNS records.
curl -X POST https://api.mailfabric.io/v1/domains \
-H "Authorization: Bearer $MAILFABRIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"domain": "example.com"}'Send your first transactional email via the API.
curl -X POST https://api.mailfabric.io/v1/emails \
-H "Authorization: Bearer $MAILFABRIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "user@example.com",
"from": "hello@example.com",
"subject": "Welcome!",
"html": "<h1>Hello World</h1>"
}'The MailFabric REST API uses standard HTTP methods with JSON request and response bodies. All endpoints require authentication via Bearer token.
Base URL
https://api.mailfabric.io/v1/emailsSend a single email/v1/emails/batchSend batch emails/v1/emails/:idGet email details/v1/emails/:id/eventsGet email events/v1/templatesList templates/v1/templatesCreate template/v1/templates/:idUpdate template/v1/templates/:id/renderRender template/v1/domainsList domains/v1/domainsAdd domain/v1/domains/:id/verifyVerify domain/v1/domains/:idRemove domain/v1/webhooksList webhooks/v1/webhooksCreate webhook/v1/webhooks/:idUpdate webhook/v1/webhooks/:id/testTest webhook/v1/analytics/summaryGet analytics summary/v1/analytics/timelineGet timeline data/v1/analytics/by-domainAnalytics by domain/v1/analytics/by-templateAnalytics by templateOfficial client libraries are on the way. We're building first-class SDKs for the most popular languages.
@mailfabric/nodegithub.com/TruSpec-Virtual-Solutions/mailfabric-gomailfabricMailFabric.NetSDKs are in active development. In the meantime, you can use our REST API directly with any HTTP client.
If you run into any issues or have questions, reach out to our developer support team at support@mailfabric.io or join our developer community.