Overview
This code allows you to create a custom newsletter subscribe form, and insert it into your company's CRM mailing list within Pabau.
Sample HTML Code
<form action="https://crm.pabau.com/OAuth2/newsletter-signup/newsletter-form.php" method="post">
<label>Subscribe to our mailing list</label>
<input type="email" value="" name="email" placeholder="email address">
<input type="text" value="" name="fname" placeholder="First Name">
<input type="text" value="" name="lname" placeholder="Last Name">
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
<input type="hidden" name="list_id" value="123"/>
<input type="hidden" name="company_id" value="321"/>
<input type="hidden" name="redirect_url" value="https://pixabay.com/en/thank-you-text-message-note-394180"/>
</form>