Consents

API access to consents in openli.

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

NameTypeDescription

email

string

The email of the user

Headers

NameTypeDescription

x-api-key

string

Your API key

{ "message": "No e-mail marketing consent for specified user" }

Last updated