A guide for creating a double opt-in flow with Loops using the API and transactional emails.
verificationUrl. We will populate this with the unique code when sending the email.
You can add this a text into your email. Or add a link to text or a button by using the Link sidebar panel.

To add a link to your button: Click the data variable icon (1), then click into the link field (2), then add the data variable name (3)
Then we can use the Loops API or an SDK to send the email. Here’s an example using the Loops JavaScript SDK. Note that you’ll also need to add a Loops API key.
updateContact() method from the SDK to add the contact to the audience. This will create the contact if they don’t exist yet.
mailingLists property: