Consents

API access to consents in Legal Monster.
https://app.legalmonster.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
Request
Response
Request
Headers
x-api-key
required
string
Your API key
Query Parameters
email
required
string
The email of the user
Response
200: OK
The request was successful, but no user found with the requested e-mail
{ "message": "No e-mail marketing consent for specified user" }
204: No Content
The request was successful and the consent is withdrawn