1. Home
  2. Docs
  3. REST API
  4. API Reference
  5. Dual Opt-In Activation Registration

Dual Opt-In Activation Registration

For accounts that have not qualified for, are not using, or for which the interaction does not permit single opt-in, a new subscription attempt always sends an opt-in confirmation email.

The dual opt-in message is defaulted by FeedBlitz. Its content is fixed; its formatting depends on the list’s active template and whether or not a SmartForm was used to generate the subscription (in which case the SmartForm’s design is used to format the activation email).

The HTML sent can be overridden as a custom registration email. The content you create will be wrapped by the appropriate template (list or SmartForm).

A custom registration email must contain the special tag <$BlogSubLink$> (suitably encoded). FeedBlitz will insert the activation URL using that tag as the placeholder. It does not create an anchor (<a> tag), just the URL.

The following resources are supported.

Resource:        /customreg/<listid>

Methods are: GET, POST, DELETE.

POST creates the alternative; if you DELETE the entry, FeedBlitz reverts back to the default for the specified list.

<?xml version="1.0" encoding="UTF-8"?>
<feedblitzapi version="1.0" xmlns:xlink="http://www.w3.org/1999/xlink">
<rsp stat="ok">
<success code="0" msg="Authorized" />
</rsp>
  <customreg>
    <customreg>
      <title>Activate Your FeedBlitz News Subscription</title>
      <message>&lt;html&gt;
&lt;head&gt;
	&lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;You&amp;#39;re almost ready. Just one last step.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;&lt;$BlogSubLink$&gt;&quot; title=&quot;Activate your account&quot;&gt;&lt;b&gt;&lt;u&gt;Click here to activate your subscription&lt;/u&gt;&lt;/b&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</message>
    </customreg>
  </customreg>
</feedblitzapi>