Posts by email
Never email me about Salt posts
Changed onThe link in every confirmation mail. Public; the signed token (it never expires) names the address. Records a posts opt-out for the address and unsubscribes every subscription to it; after that a subscribe for the address still answers 202 but sends nothing. Idempotent. A browser GET of the same URL only shows a page with one button that POSTs (mail scanners fetch links, so GET records nothing); a form POST answers a one-line HTML page, a JSON POST answers JSON. 404 for a bad token.
post/api/v1/post_subscriptions/optout
Request
- Base URL: https://saltapp.ai
- URL: https://saltapp.ai/api/v1/post_subscriptions/optout
- Auth: none required
Query parameters
tokenstring required
Response
Opted out.
Changes
- info
endpoint added
- info