Consents
API access to consents in openli.
Withdraw email marketing consent
POST
https://app.openli.com/api/v1/consents/withdraw_all_email_marketing_consent
Whenever a user unsubscribes from a newsletter you must use this endpoint to ensure that your audit trail is up-to-date and that the user's email marketing consent is withdrawn
Query Parameters
Name
Type
Description
string
The email of the user
Headers
Name
Type
Description
x-api-key
string
Your API key
Last updated