cURL
curl --request GET \ --url https://api.lemlist.com/api/unsubscribes/exports/variables \ --header 'Authorization: Basic <encoded-value>'
"_id,value,source,createdAt\nuns_Y9Lf5R2mpNWs8x0cz,john.doe@example.com,user,2023-06-12T10:45:21.367Z\nuns_QB3xQGhw6qJCyWXF9,@example.org,api,2023-07-21T09:14:25.521Z"
Exports all unsubscribed variables 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