Skip to main content
POST
/
unsubscribes
/
variables
/
{value}
Unsubscribe Variable
curl --request POST \
  --url https://api.lemlist.com/api/unsubscribes/variables/{value} \
  --header 'Authorization: Basic <encoded-value>'
{
  "_id": "uns_Y9Lf5R2mpNWs8x0cz",
  "value": "john.doe@example.com",
  "variable": "john.doe@example.com",
  "source": "api"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

value
string
required

The variable value to unsubscribe (email, domain, LinkedIn URL, or phone number)

Response

Success

_id
string

Unique identifier

value
string

The unsubscribed variable

variable
string

Alias of value

source
enum<string>

Origin of the unsubscription

Available options:
api,
bounced,
lead,
user,
abuse