The Preference Link Generation endpoints allow you to generate secure URLs to the Manage Preferences and Unsubscribe pages for any contact in your HubSpot CRM.
You can generate a contact's specific HubSpot Preference Page to help contacts access and update their preferences; allow your contacts to manage their email preferences directly from account settings or other authenticated areas of your website without requiring them to re-enter their email or dig up a past marketing email.
We've added to our Subscriptions Public APIs v4 so that you can call the new POST /communication-preferences/v4/links/generate endpoint with a contact’s email (subscriberIdString), optional language, and (for unsubscribe single) a subscriptionId. You’ll receive secure, contact-specific links to:
For more information on how it works refer to our Beta - Generate Preferences API documentation
Callouts
Marketing Starter, Marketing Pro, Marketing Enterprise, Marketing+ Pro, Marketing+ Enterprise