How It Works
Use the{{unsubscribe}} template variable in your email body. SendPost replaces it with a unique unsubscribe URL for each recipient. Include it in both htmlBody and textBody.
When a recipient clicks the unsubscribe link:
- They’re added to your account’s suppression list
- Future emails to that recipient are automatically dropped
- You receive an
unsubscribedwebhook event (if webhooks are configured)
Examples
HTML email:The unsubscribe link is unique for each recipient and email. Once a recipient clicks the unsubscribe link, they are immediately added to your suppression list, and you will receive an
unsubscribed webhook event (if webhooks are configured).