Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projects using mailing should be able to link to preferences page easily #442

Open
alexfarrill opened this issue Feb 21, 2023 · 0 comments
Labels

Comments

@alexfarrill
Copy link
Collaborator

A project using mailing may want to link to the unsub page from somewhere outside of an email, e.g. from a web page for a user's preferences. Two ideas for how we could do this:

  1. make a mailing api route that we can POST to with an email address, list name (validated by api key header) and we get back a subscriber id or link to the preferences page for that subscribe/list.

  2. make it possible for iterate to generate links that will redirect correctly to a preferences page on mailing. similar to the above, but it would be a GET with the email, list in the url and a hash of the api key with the email and list. mailing then validates that the key matches a hash of one of the same with a valid api keys and if it does it responds with a 3xx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant