Add to the unsubscribe list

Adds email addresses to your unsubscribe list so they get no review invitations.

POST https://cotlet.dev/api/v1/reviews-io/unsubscribe-lists

write

Types the addresses into Settings > Unsubscribe List and clicks Add Emails. It reaches no one and is undone with remove_from_unsubscribe_list, so it does not ask for your OK. Invitations already queued for these addresses are not part of this tool; check them with list_invitations.

Parameters

Parameters: add_to_unsubscribe_list
NameTypeDescription
emails array required array Email addresses to add.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/reviews-io/unsubscribe-lists \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"emails":"jane@example.com"}'
Python
result = client.call("reviews-io", "add_to_unsubscribe_list", {"emails":"jane@example.com"})
Node.js
const result = await cotlet.call('reviews-io', 'add_to_unsubscribe_list', {"emails":"jane@example.com"});
CLI
cotlet call reviews-io add_to_unsubscribe_list --data '{"emails":"jane@example.com"}'

Example response

JSON

{
  "added": 2,
  "emails": [
    "wholesale@example.com",
    "buyer@example.org"
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.