Send Transactional Email
Send reliable transactional emails like password resets, order confirmations, and system notifications with high delivery rates and real-time tracking.
Use credentials created in the region selected above. Changing the documentation region updates examples; it does not move your account or resources.
Email ID: A successful send normally includes an emailId for each recipient in data.recipients. Use it to find that email in Email Events. When an eligible failure is accepted for retry or review, the 202 pending response includes recipient email IDs; a provider messageId may not yet be available. Do not resubmit an accepted request. See email send retries.
Mixed outcomes: A successful response can have status: "partial" when recipients have different outcomes. Check each recipient’s status: sent, suppressed, or failed. Suppressed recipients do not have a provider message ID. If every recipient is suppressed, the API returns an error whether Simply Send or the provider reported the suppression.
In a pending response, retryStatus is retry_scheduled for automatic retry or awaiting_review for manual review.
totalRecipients retains its existing processed-recipient count and may differ from the length of the recipient list when addresses are suppressed or fail. Some incomplete sends return an error instead of a successful partial response; server errors may not include recipient details.
Transactional email size: The standard limit is 2 MiB per email. With an approved workspace limit, you can send a final email of up to 40 MB (40,000,000 bytes), including the body, headers, MIME overhead, and Base64-encoded attachments. Up to 10 files are supported; 40 MB is not an attachment-only allowance.
To send more than 2 MiB, open Account → Approvals, select Transactional Email Size Increase, and describe the total email size and expected sending volume you need. Wait until the request is approved and your workspace limit is updated before sending. See the Attachments API and complete send example.
https://tapi.simplysend.email/sendParameters
toRequiredfromRequiredsubjectRequiredhtmlRequiredAn array of objects containing name, contentType, and base64-encoded content.
Use this field for up to 10 attachments in emails within the 2 MiB total message limit. For larger approved emails, upload the files through POST /attachments and use attachmentSubmissionId in POST /send instead. See the Upload Attachments API and the attachmentSubmissionId parameter for details.
Supported file types:
Conditional support: Files with MIME type application/octet-stream are accepted only when an admin enables Allow Binary Attachments for your workspace. Specify this MIME type in contentType; it is disabled by default. Blocked file extensions remain disallowed. Marketing email attachments are not supported.
ID returned by POST /attachments. After uploading the files, include this ID with the email fields in POST /send. See the full authorization, upload, and send example.
Custom headers to include in the email. e.g. { "X-Entity-ID": "user_12345", "X-Feedback-ID": "transaction_abc" }
Note: List-Unsubscribe is automatically injected by the system.
Key-value pairs for dynamic content injection. e.g. { "first_name": "John", "discount_code": "WELCOME20" }
These can be referenced in your HTML or text body using double curly braces, e.g. {{first_name}}.
Wrap all links in the email with click-tracking redirect URLs so each click is recorded as an email_clicked event. Defaults to false.
We recommend leaving click tracking disabled for transactional emails to minimize delivery latency and avoid link mismatch warnings.
Optional custom link redirection tracking subdomain (typically [region]-t-link.yourdomain.com, e.g. us-t-link.yourdomain.com). If verified and configured, links in the email body will be wrapped using this custom subdomain. If not verified, click tracking will fall back to using the default Simply Send tracking domain. Custom link configuration is per domain.
Inject a 1x1 transparent tracking pixel to record Open events. Defaults to false.
We recommend leaving open tracking disabled for transactional emails to avoid latency and spam-filter scrutiny.
A unique UUID string used to make the request idempotent. If the system receives a duplicate request with the same key within a 24-hour window, it returns the cached original response without processing the email send again.
When using attachmentSubmissionId, provide the same Idempotency-Key used on POST /attachments. An independent key on POST /send is rejected. If you omit the key, omit it from both requests.
Concurrent duplicate requests will return a 409 Conflict status.
Transactional Emails with Large Attachments
For emails up to 2 MiB, include the files in the attachments field when calling POST /send. To send a larger email, first request Transactional Email Size Increase in Account → Approvals and wait for your workspace limit to be raised. Then authorize and upload the files before calling POST /send with the returned attachmentSubmissionId.
You can attach up to 10 files per email. File sizes are checked before upload; the complete email size is checked when you send it. Upload all files before sending. Upload URLs expire at the returned expiresAt. If you use Idempotency-Key, pass the same key in both API requests.
The Attachments API reference includes the complete multi-file authorization, upload, and send example. Do not include the file contents again in POST /send.
Compliance Templates
{{company_address_html}}Required{{unsubscribe_email_html}}Required{{report_abuse_email_html}}Optional
