Mint a preference-center link for a contact
POST
MillionSend extension. Returns the contact's hosted preferences URL, the same page the unsubscribe links in their emails open, so a product settings screen can deep-link into it. The page lists the team's public topics and carries the global unsubscribe. The link is a signed, contact-scoped capability with no expiry: anyone holding it can change that contact's preferences, so hand it only to the contact.
id*stringLength
1 <= lengthThe contact's preference page URL
application/json- response
object*"preferences_link"Value in
"preferences_link"contact*stringFormat
uuidurl*stringThe contact's hosted preference page; no expiry, treat as a secret
Format
uricurl -X POST 'https://api.millionsend.com/contacts/string/preferences-link'Example Response
{ "object": "preferences_link", "contact": "ad596931-5d7c-4d2b-907e-5b64c9432eb4", "url": "http://example.com"}