API Documentation
Build powerful email integrations with our comprehensive RESTful API. Send emails, manage mailboxes, and automate workflows programmatically.
Fast & Reliable
Low-latency API with 99.9% uptime SLA
Secure
API key authentication with role-based access
RESTful
Standard REST conventions with JSON responses
Quick Start
1
Get Your API Key
Sign up and generate an API key from your dashboard settings.
2
Make Your First Request
Use your API key to authenticate and send your first email.
3
Build Your Integration
Explore all endpoints and build powerful email workflows.
Request Example
// Send an email using the CalimaticMail API
const response = await fetch('https://api.calimatic.app/v1/emails/send', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
from: '[email protected]',
to: ['[email protected]'],
subject: 'Welcome to our platform!',
html: '<h1>Welcome!</h1><p>Thanks for signing up.</p>',
text: 'Welcome! Thanks for signing up.',
}),
});
const result = await response.json();
console.log('Email sent:', result.id);Response
{
"success": true,
"data": {
"id": "msg_1234567890",
"status": "queued",
"from": "[email protected]",
"to": ["[email protected]"],
"subject": "Welcome to our platform!",
"createdAt": "2024-12-15T10:30:00Z"
}
}Base URL:
https://api.calimatic.app/v1API Endpoints
Authentication
POST
/auth/loginPOST
/auth/refreshPOST
/auth/logoutSending Emails
POST
/emails/sendPOST
/emails/send-batchGET
/emails/{id}/statusMailboxes
GET
/mailboxesPOST
/mailboxesGET
/mailboxes/{id}DELETE
/mailboxes/{id}Messages
GET
/messagesGET
/messages/{id}PATCH
/messages/{id}DELETE
/messages/{id}Users & Teams
GET
/usersPOST
/usersPATCH
/users/{id}DELETE
/users/{id}Templates
GET
/templatesPOST
/templatesPOST
/templates/{id}/renderAuthentication
API Key Authentication
Include your API key in the Authorization header for all requests.
Authorization: Bearer YOUR_API_KEYSecurity Best Practices
- ✓Never expose API keys in client-side code
- ✓Use environment variables for key storage
- ✓Rotate keys periodically for security
Rate Limits
| Plan | Requests/min | Emails/day |
|---|---|---|
| Starter | 60 | 1,000 |
| Professional | 300 | 10,000 |
| Enterprise | 1,000 | Unlimited |
Rate limit headers are included in all responses: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
Ready to Start Building?
Get your API key and start sending emails in minutes. Our team is here to help if you have any questions.