billing
Redeem a one-click unsubscribe link from an email
Keyless, and idempotent. This is the endpoint named by the List-Unsubscribe / List-Unsubscribe-Post headers on every non-legal email (RFC 8058): the mail client POSTs it with no session, so the HMAC over user, category and expiry is the whole authentication. Switches that one category off and leaves the other as it stands. A tampered, expired or unknown link is one 403 with one sentence — never a hint about whether the user exists. Legal notices are not switchable and no link is ever minted for one.
post/v1/email/unsubscribe
Request
- Base URL: https://api.hyperresearch.ai
- URL: https://api.hyperresearch.ai/v1/email/unsubscribe
- Auth: none required
Query parameters
ustring required
The user the link was minted for.
cstring required
The category to switch off: runs, product or onboarding.
expinteger nullable
Unix seconds the link stops working.
sigstring required
HMAC over the three above.
Response
The category is off
Changes
No recorded changes to this operation across all 1 revision of this API.