Skip to main content
POST
/
unsubscribes
/
variables
Bulk Unsubscribe Variables
curl --request POST \
  --url https://api.lemlist.com/api/unsubscribes/variables \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "values": [
    "john.doe@example.com",
    "@example.org",
    "+1234567890"
  ]
}
'
"Variables unsubscribed"

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
values
string[]
required

List of variables to unsubscribe (emails, domains, LinkedIn URLs, or phone numbers). Maximum 10,000 values.

Maximum array length: 10000

Response

Success