API Endpoint to get unsubscribe email

Hey, HubSpot community,

Is there a way/endpoint to get a full unsubscribe URL like the one in the sent marketing email?

Or at least obtain query values (data, _hsenc, _hsmi) to reconstruct it myself?

Br,

Paul

Hi @xakpc

HubSpot’s API does not expose the full unsubscribe URL, prioritizing the protection of sensitive data and reconstructing the URL by self is not recommended.

Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards