Unsubscribe Contacts From Emails
POST https://driftapi.com/emails/unsubscribe
When unsubscribing contacts, just provide a list of emails that you wish to unsubscribe. Simply POST to the /email/unsubscribe
end point.
Example Unsubscribe
The following example shows how to unsubscribe some contacts. The code leverages HTTPie for request generation.
-- This example shows how the list of emails is formatted.
["[email protected]", "[email protected]", "[email protected]"]
-- Example execution
POST https://driftapiqa.com/emails/unsubscribe < [email protected]
Validate the contact was unsubscribed by checking the UI:
Updated over 3 years ago