Sendexa LogoDocs

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

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
{
"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/send

Code 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 '{
"from": "[email protected]",
"subject": "Hello from Sendexa!",
"html": "<p>Welcome to our platform!</p>"
}'

HTTP Status Codes

CodeStatusDescription
200OKEmail queued successfully
400Bad RequestInvalid email address or missing parameters
401UnauthorizedInvalid or missing API credentials
403ForbiddenSending domain not verified or insufficient credits
429Too Many RequestsRate limit exceeded