Prerequisites
- A Sendmux account with at least one active delivery provider
- An API key with the
email.sendpermission (create one under Settings > API Keys) - Sufficient balance (check under Billing)
Send a single email
Response
Send a batch of emails
Send up to 100 emails in a single request. The API uses a partial success model — individual message failures don’t fail the entire batch.Batch response
Optional fields
| Field | Description |
|---|---|
text_body | Plain text fallback (recommended for deliverability) |
reply_to | { "email": "...", "name": "..." } — where replies go |
cc / bcc | Arrays of { "email": "...", "name": "..." } (max 100 each) |
custom_headers | Object of X-* headers to include |
attachments | Base64-encoded files — see Attachments guide |
idempotency_key | Prevents duplicate sends — see Idempotency guide |
return_path | Custom envelope sender for bounce handling (VERP) |
Error handling
Always check theok field in the response: