Make signed unsubscribe links
unsubscribe_linksSigned one-click unsubscribe links for your unsubscribe-list, one per recipient, with the exact List-Unsubscribe and List-Unsubscribe-Post headers to add to that email. Only computes them: nothing about the recipients is stored, the same address in any letter case always gets the same link, and a link never shows the address. Entries that are not addresses are marked not_an_address; when none is an address the answer is suppression_no_address. Put them in every email: an unsubscribe through one joins the list by itself; suppression_check finds it before the next send.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"emails": [
"reader@example.com"
],
"instance_id": "sup_exampleexampleexample2"
},
"name": "unsubscribe_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | Yes | Plain addresses, up to 1000. | |
| instance_id | Yes | Utility instance id from buy or list_utilities. | |
| passport_token | No | Your amp_ token, only if you have no app sign-in and cannot send a header. |