Prevent Webhook invocation via API

Is it possible to prevent a de-activate webhook from firing when the de-activation (unsubscribe) happens via the API?

Greg Strutton Greg Strutton, 3 years ago

If you've set up the webhook to call the de-activate then there isn't a way to stop this when someone unsubscribes as that is part of the process.

The only way would be to cancel the webhook during the call, unsubscribe, then set the webhook back on again.

I hope that makes sense and helps!

drpudding, 3 years ago

I ended up just not invoking the webhook (unsubscribing) from within my app in the place it was causing an issue. I moved things around to have that kind of specific control.


See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free