Look up user by email

We want to have a "preference centre" on a website, so instead of the user clicking the link in the received email to update their subscriptions (list with segments), they can input their email in a web page and it looks up their email address, cross references it with the user ID and returns the {update_profile_url].

Is this possible?

Many thanks
Amanda
 
@Caorda Support - This is totally possible.
You can use the API to get a subscriber by his email address, e.g: https://api-docs.mailwizz.com/#subscribers-search
Once you find the subscriber, the returned data contains it's unique id, which is a 13 characters unique string.
Using that, you can build the profile url:
Code:
https://www.yourdomain.com/index.php/lists/[LIST_UID]/subscribers/[SUBSCRIBER_UID]/update-profile
Both list_uid and subscriber_uid will be part of the api response.
 
Back
Top