cURL
curl --request GET \ --url https://api.lemlist.com/api/unsubscribes/contacts/{contactId} \ --header 'Authorization: Basic <encoded-value>'
{ "_id": "con_aB1cD2eF3gH4iJ5kL", "doNotContact": false }
Checks whether a contact is unsubscribed (do-not-contact).
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
The contact identifier
Success
Subscription status of a contact.
Contact identifier
Whether the contact is unsubscribed
Was this page helpful?
Suggestions