Send Marketing Email
The Marketing Email API (MAPI) is designed for promotional content, newsletters, and large-scale campaigns. It includes built-in compliance checks and asynchronous queue-based processing.
https://mapi.simplysend.email/sendParameters
toRequiredfromRequiredsubjectRequiredhtmlRequiredsubscriptionGroupIdRequiredThe ID of the subscription group to route the email through.
Recipients must be actively subscribed to this group to receive the email. The system automatically filters out unsubscribed, bounced, or complaining addresses to safeguard compliance and deliverability.
Exception: This is optional if you have the "Optional Subscription Group ID" approval (see Accounts Page > Approvals tab) - in which case the system will fall back to your default subscription group created automatically. The email subscription check is skipped in this case.
textreplyToheadersCustom headers to include in the email. e.g. { "X-Entity-ID": "user_12345", "X-Feedback-ID": "marketing_abc" }
Note: List-Unsubscribe is automatically injected by the system.
templateVariablesKey-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}}.
enableClickTrackingWrap all links in the email with click-tracking redirect URLs so each click is recorded as a Click event. Defaults to false.
Only applies when your account is routed via the OCI provider. Has no effect on AWS SES sends.
campaignIdAssociate the emails with a campaign. Create the campaign first using the SimplySend UI. Email analytics events (send, delivery, open, click, bounce, etc.) are recorded against the campaign Id.
Consent & Compliance
All recipients MUST have valid consent records. If a recipient lacks valid consent or has unsubscribed, the API will reject the send request.
Auto-Injected Headers
List-Unsubscribe & List-Unsubscribe-PostThe system automatically injects required RFC 8058 compliant headers (with one-click unsubscribe support) unless explicitly overridden in the request payload.
Compliance Templates
{{company_address_html}}Required{{unsubscribe_email_html}}Required{{report_abuse_email_html}}Optional