Description
You can construct a link for your newsletters and mailings that allow users to unsubscribe
Endpoint URL:
GET https://{your-register-endpoint-domain.com}/register/optout
Request parameters
To create the optout link, you have to construct a URL with the following GET parameters:
Parameter | Description | Type | Mandatory |
code | Object ID of the user to be unsubscribed from receiving communications. | string | yes |
e | Entrypoint key where the request is being made. If you send this params, DruID will show buttons that redirect user to ‘App url’ if user cancel the optout, or once the process optout is completed. | string | no, but it is always desirable to send it |
tid | TBD | numeric | no |
pid | TBD | numeric | no |
campaign | TBD | string | no |