Skip to main content
POST
/
unsubscribes
/
{email}
Add Unsubscribe Email or Domain
curl --request POST \
  --url https://api.lemlist.com/api/unsubscribes/{email} \
  --header 'Authorization: Basic <encoded-value>'
{
  "_id": "uns_QB3xQGhw6qJCyWXF9",
  "value": "user@domain.com",
  "email": "user@domain.com"
}
This endpoint adds an email address or domain to your unsubscribe list.

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

email
string<email>
required

Email address to add to the unsubscribes

Response

Success

_id
string
required

Unique identifier for the unsubscribe entry

value
string<email>
required

The unsubscribed email address or domain

email
string<email>

The unsubscribed email address