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:

ParameterDescriptionTypeMandatory
codeObject ID of the user to be unsubscribed from receiving communications.stringyes
eEntrypoint 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.stringno, but it is always desirable to send it
tidTBDnumericno
pidTBDnumericno
campaignTBDstringno