Hi,
I have a requirement wherein I want to make an API call when user clicks on Unsubscribe link from email footer. This API call requires few parameters like user email address to be passed. Is there any way to do that?
Thanks.
Regards,
Radha
Hi,
I have a requirement wherein I want to make an API call when user clicks on Unsubscribe link from email footer. This API call requires few parameters like user email address to be passed. Is there any way to do that?
Thanks.
Regards,
Radha
Hi @Radha , thanks for posting on this community.
To be sure I understand your use case: as Brevo manages natively, why would you like to manage what happens on unsubscribe link through an API call?
Thanks
Hi @ahudavert ,
Thanks for your response.
I am not looking for Brevo APIs. My use case is that I want to add ‹ Unsubscribe › link in the email template footer which should point to my custom API. So the question was is it possible to do that and pass query parameter for making that custom API call?
Thanks.
Ok I see. And what is your use case here? You’d like to bundle the unsubscription action with another action on your side?
I don’t think this is possible unfortunately
Yes that’s right. So we are also maintaining the unsubscribe flag in our database. Now this unsubscription is flagged in Brevo but its not updated in our database. So to sync this up, I want to link my API call with Unsubscribe button in footer.
Ok I see, thanks. I don’t think you can point the unsubscription link to your custom API, but you could do something like this:
create an automation
trigger point: contact unsubscribed
action: send a webhook, your webhook, so that you can retrieve the information
=> what do you think?
Hi @ahudavert ,
Thanks for your response. Yes this is what I was also exploring. The only difference was that I was trying to create a webhook using API. I referred to the documentation and creating a webhook either using API or automation is the same thing so I am aligned on that.
Would you also be able to confirm if there is a subscribe event Brevo can trigger. So for example, If someone was unsubscribed by mistake and now they want to resubscribe for the marketing emails. Is there an option Brevo provides ?
Thanks.
I am not sure, but I saw this Community thread: Resubscribed contacts - #7 par GlynB
Could this help?