Send Email
Send highly deliverable transactional and marketing emails with rich formatting, attachments, and engagement tracking.
Rich HTML & Text Support
Send beautiful HTML emails with fallback plain-text content automatically generated
Dynamic Templates
Pass dynamic variables directly to your pre-configured email templates
Domain Verification
Ensure high deliverability by sending only from authenticated domains (DKIM, SPF)
Engagement Tracking
Track opens, clicks, bounces, and complaints in real-time
Authentication Required
Use Basic Authwith the precomputed Base64 token from your dashboard. Copy the token directly and set it in the `Authorization` header as `Basic <token>`.
Avg Delivery Time
< 2s
To inbox
Cost per Email
₵0.01
Volume discounts apply
Max Size
10MB
Including attachments
Rate Limit
50/s
per API key
POST
/v1/email/send
Core
Stable
Request Body
application/json
JSON
{"to": "[email protected]","from": "[email protected]","subject": "Welcome to Sendexa!","html": "<h1>Hello!</h1><p>Welcome to our platform.</p>","text": "Hello! Welcome to our platform."}
Response
JSON
{"success": true,"message": "Email queued for delivery","data": {"id": "eml_xyz123abc","messageId": "<[email protected]>","status": "queued","to": ["[email protected]"],"timestamp": "2024-01-15T10:30:00Z"}}
Try It Yourself
POST
https://api.sendexa.co/v1/email/sendCode Examples
Bash
curl -X POST 'https://api.sendexa.co/v1/email/send' \-H 'Content-Type: application/json' \-H 'Authorization: Basic YOUR_DASHBOARD_BASE64_TOKEN' \-d '{"to": "[email protected]","from": "[email protected]","subject": "Hello from Sendexa!","html": "<p>Welcome to our platform!</p>"}'
Rate Limits
Burst limit for peak traffic
50 requests per second
Sustained rate limit
2000 requests per minute
HTTP Status Codes
| Code | Status | Description |
|---|---|---|
| 200 | OK | Email queued successfully |
| 400 | Bad Request | Invalid email address or missing parameters |
| 401 | Unauthorized | Invalid or missing API credentials |
| 403 | Forbidden | Sending domain not verified or insufficient credits |
| 429 | Too Many Requests | Rate limit exceeded |
Best Practices
- Always authenticate your sending domains (SPF, DKIM, DMARC) for better deliverability.
- Provide both HTML and plain-text versions of your emails.
- Keep attachments small or link to external hosted files.
- Listen to webhooks for bounces and handle them properly by removing invalid emails from your lists.