API reference
Authenticate with Authorization: Bearer YOUR_API_KEY on all /api/v1 routes.
Quick start
curl -X POST /api/v1/emails \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "hello@yourdomain.com",
"to": ["user@example.com"],
"subject": "Hello",
"html": "<p>Welcome!</p>"
}'Endpoints
POST
/api/v1/emailsSend a transactional emailPOST
/api/v1/emails/batchSend up to 100 emailsGET
/api/v1/emailsList sent emailsGET
/api/v1/emails/:idGet email with event timelinePOST
/api/v1/emails/:id/cancelCancel scheduled emailPOST
/api/v1/contactsCreate a contactGET
/api/v1/contactsList contactsPOST
/api/v1/domainsAdd a sending domainPOST
/api/v1/domains/:id/verifyCheck domain verificationGET
/api/v1/templatesList templatesPOST
/api/v1/trackSend custom event for workflowsGET
/api/v1/logsList API request logsGET
/api/v1/pricingPublic pricing catalog (plans + add-ons)POST
/api/v1/dedicated-ipsRequest dedicated IP poolInstall the official SDK: npm install @emailapp/node
CLI: npx emailapp login