# How to generate a URL for the preferences center page to use outside of Mautic?

**URL:** <https://forum.mautic.org/t/how-to-generate-a-url-for-the-preferences-center-page-to-use-outside-of-mautic/24273>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [May 30, 2022, 7:53am UTC](https://forum.mautic.org/t/how-to-generate-a-url-for-the-preferences-center-page-to-use-outside-of-mautic/24273 "2022-05-30T07:53:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ooralas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ooralas/32/7060_2.png) [@ooralas](https://forum.mautic.org/u/ooralas)\
**Post date:** [May 30, 2022, 7:53am UTC](https://forum.mautic.org/t/how-to-generate-a-url-for-the-preferences-center-page-to-use-outside-of-mautic/24273/1 "2022-05-30T07:53:56Z")

</div>

**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.
