WEB API Call from HREF link on EMAIL

Hi All,

we send out a daily summary email to individual users every morning. we want to add a subscribe/unsubscribe link at the bottom of the email.

I have created a POST WEB API to make a call and update my subscription table. i want to call this on click of the subscribe/unsubscribe link.

Currently i am passing the web api url along with the individual users parameters to the subscribe/unsubscribe href link. But when i click on it i get a 404 error.

How do i make the web api call and get the user authenticated from the href link on the email?

PS: I am able to test this with basic auth using SOAP UI by passing username and password.

  Discussion posts and replies are publicly visible