Hi, I have a requirement where I need to have a link in an email template that has an encrypted redirect uri as a url parameter. The URL needs to be encrypted by our external system. The idea is that, when the link is clicked (which will point to one of our external endpoints), we can capture the click event, and then redirect to the specified url. The problem is, I’m having trouble figuring out how we can do this without calling an API on our side to encrypt the redirect url every time the template is called. I’m not even sure if an external API can be called from within a template.
Any help would be greatly appreciated