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
| Name | Type | Description |
|---|---|---|
| emails array required | array | Email addresses to add. |
Request
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"}' result = client.call("reviews-io", "add_to_unsubscribe_list", {"emails":"jane@example.com"}) const result = await cotlet.call('reviews-io', 'add_to_unsubscribe_list', {"emails":"jane@example.com"}); cotlet call reviews-io add_to_unsubscribe_list --data '{"emails":"jane@example.com"}' Example response
{
"added": 2,
"emails": [
"wholesale@example.com",
"buyer@example.org"
]
}