Your software
My Mautic version is: v4.2.2
My PHP version is: 7.4.29
My Database type and version is: 10.6.7-MariaDB-1:10.6.7+maria~bionic
Your problem
My problem is:
How to generate a link to the Preferences center page for the respective contacts without using the Unsubscribe token?
I want to use the preferences center page to allow my customers to unsubscribe from certain services on Mautic, but directly through a link to the preferences center page (not through an email).
The normal URL to the preferences center page looks like this:
link-to-mautic/email/unsubscribe/62909f8359aaf079578904
the token after ...unsubscribe/
is linked in Mautic to a Contact profile, so my idea: I send the email address from the contact to Matuic api, and get this token as a response, which I can append to the URL so that everyone gets their unique preferences page/URL.