cURL
curl --request POST \ --url https://api.lemlist.com/api/unsubscribes/{email} \ --header 'Authorization: Basic <encoded-value>'
{ "_id": "uns_QB3xQGhw6qJCyWXF9", "value": "[email protected]", "email": "[email protected]" }
Adds an email address or domain to your unsubscribe list.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Email address to add to the unsubscribes
Success
Unique identifier for the unsubscribe entry
The unsubscribed email address or domain
The unsubscribed email address
Was this page helpful?