cURL
curl --request GET \ --url https://api.lemlist.com/api/unsubscribes/exports/contacts \ --header 'Authorization: Basic <encoded-value>'
"_id,doNotContact\ncon_aB1cD2eF3gH4iJ5kL,true\ncon_mN6oP7qR8sT9uV0wX,false"
Exports all contacts with their subscription status to a CSV file.
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
Success
Was this page helpful?
Suggestions