cURL
curl --request GET \ --url https://api.lemlist.com/api/unsubscribes/{email} \ --header 'Authorization: Basic <encoded-value>'
{ "_id": "uns_Y9Lf5R2mpNWs8x0cz", "createdAt": "2023-06-12T10:45:21.367Z", "value": "[email protected]", "source": "user" }
Retrieves unsubscribe information for a specific email address.
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 check unsubscribe status
Success
Unique identifier for the unsubscribe entry
Timestamp when the unsubscribe entry was created
The unsubscribed email address
Source of the unsubscribe (e.g., user, lead, abuse, bounce, api)
Was this page helpful?