A Confirmation Email for Contacts via the API
Do contacts come in through the API, for example from your webshop or the WordPress plugin? Then you use rules to decide whether they get a confirmation email, and which one. You do this under Settings > API, in the Confirmation email section.
Without any rules, contacts that come in through the API become active straight away, without a confirmation email.
Adding a rule
- Click Add rule….
- Under List, choose a list or All lists.
- Optionally choose a Tag. You can search or type a new tag. Leave it empty and the rule applies to all contacts in that list. With All lists, a rule without a tag applies to every API sign-up that no other rule fits.
- Under Confirmation email, choose a standard email (Dutch, English, French or German) or one of your own confirmation emails. Your own confirmation email must contain the confirmation link.
- If you choose a standard email, also enter the sender name and choose the sender address. Use a verified sender address.
- Click Add.
- Click Save. Only then does the rule take effect.
Which rule applies?
If more than one rule fits a contact, they get the confirmation email of the rule that fits best:
- a rule with a list and a tag;
- a rule with only a list;
- a rule with only a tag;
- All lists without a tag: this catches everyone else.
If no rule fits, the contact doesn’t get a confirmation email and becomes active straight away. If a contact has two tags that each have their own rule, they get the email of the oldest rule.
Tip: Contacts you add in bulk through the API never get a confirmation email.
Do you see Confirmation link missing or Sender not verified yet next to a rule? Fix that first, otherwise contacts can’t confirm their sign-up.
Changing or removing a rule
Click ⋮ next to the rule and choose Edit… or Remove. Then click Save.