Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Unsubscribe user from list, subscribe again and send Autoresponder
  • Trying to use Sendy to send transactional emails, which may be sent multiple times. I have a DRIP campaign with an email set up to send immediately. I'm making my calls with this process:

    • Send contact details via API to subscribe endpoint (if not on list already, it will send successfully)
    • If "User already subscribed error":
      • Unsubscribe user via API
      • If successfully unsubscribed, wait 70 seconds (figured that's long enough for any list related cron activity)
        • Subscribe user via API

    The user is subscribed again successfully, but the autoresponder isn't sending that second time. What can I do to make this work?

  • 2 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    Hi,

    Instead of 'unsubscribing' the user, the user should be 'deleted' instead before subscribing the user via the 'subscribe' API. But there's no 'Delete subscriber' API at this time, you may need to write a MySQL query to delete the subscriber record from the subscribers table in the database.

    Best regards,
    Ben

  • Perfect advice, Ben! Got that up and running pretty quickly.

    Thanks!

This discussion has been closed.
All Discussions