Contacts

Mint a preference-center link for a contact

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

post/contacts/{id}/preferences-link

Request

  • Base URL: https://api.mepmail.dev
  • URL: https://api.mepmail.dev/contacts/{id}/preferences-link
  • Auth: HTTP bearer

Path parameters

idstring required

Response

The contact's preference page URL

object'preferences_link' required
contactstring uuid required
urlstring uri required

The contact's hosted preference page; no expiry, treat as a secret

Changes

No recorded changes to this operation across all 1 revision of this API.