Nov 19, 2021 4:00 PM - edited Nov 19, 2021 5:02 PM
I am looking to add a link to the unsubscribe/ subscription preference page from my website. Is there an API call or other shortcut which will allow me to populate all the URL parameters, specifically the user key?
Nov 29, 2021 2:19 PM
Nov 23, 2021 12:51 PM - edited Nov 23, 2021 12:51 PM
@R_S That is a great question...
I am unaware of any documentation on what parameters need to be passed to the unsubscribe page for it to work properly. Theoretically - all the information you would need should be available inside the contact record - but without any concrete docs from HubSpot - I can't say what exactly would need done. The biggest question being that user key value - that may be something that is dynamically generated by the email sending server and not something easily accessible via HubL or via the contacts API.
@MiaSrebrnjak can you perhaps poke the tech team at HubSpot and see if this is in fact possible? We've had clients ask about doing this before, but we've steered them away from it due to unknowns and avoiding hacking something together that may not work 100% of the time.
Nov 24, 2021 11:35 AM
Thank you for your answer @derekcavaliero! I'll check with the team and see what I can find out!
Nov 22, 2021 10:05 AM
Thank you for reaching out to the Community!
I wanted to ask the Community's API experts for their help as my API knowledge is limited:
Mia, Community Team