Updated On
November 27, 2024

Using Sendy's unsubscribe API

This article discussed how you can use Sendy's Unsubscribe API to unsubscribe a customer.

The unsubscribe API requires the fllowing

Step 1: Collect parameters for API call

You will need the following

  • Email you want to unsubscribe
  • ID of the list you want to unsubscrie

Step 2: Making the API call

Then API end point is https://your_sendy_installation/unsubscribe

Once you make the call, in the response, you will see HTML saying "You have been unsubscribed".

Here's an example curl command for this

curl -X POST https://<your-installation>/unsubscribe -d 'email=support@sendybay.com&list=<your-list-id>

In the above, you will need to replace <your-installation> and <your-list-id> with correct values.

Recently launched - Email testing. Improve your chances to land in the Inbox! Learn more