Learn how to give email recipients the ability to unsubscribe without searching for the unsubscribe link.
List-Unsubscribe: https://example.com/unsubscribe
header when sending emails using the Resend API.
As of Febuary 2024, your bulk messages must include a URL version in your list-unsubscribe header, List-Unsubscribe-Post: List-Unsubscribe=One-Click
, and to allow for a POST
request from the same URL.
When receiving a POST
, it should return a blank page with 200 (OK)
or 202 (Accepted)
, and should show the regular unsubscribe page with the GET
method. Ensure that users stop receiving email within 48 hours of this request.
This header allows email clients to offer an easy “Unsubscribe” option in their UI, enhancing user experience and decreasing spam complaints.
You can read more about this requirement in our Bulk Sending Requirements blog post.