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_fH5gNhZnIpnwRlxZw",
  "value": "user@domain.com",
  "email": "user@domain.com"
}

Documentation Index

Fetch the complete documentation index at: https://developer.lemlist.com/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint is legacy. Use Unsubscribe Variable or Bulk Unsubscribe Variables instead.

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