Mailriser Documentation
Overview
Amazon SES
Integrations
Webhooks
Embeddable HTML Form
Learn how to create an embedded HTML form for signups.
The most common way to add new subscribers to your list is to use a sign-up form. You can add a sign-up form to your website, blog, or anywhere else you can paste some HTML code.
Here's an example HTML form that a user can fill out on your website and be added to your list after a simple POST request.
<form method="POST" action="https://mailriser.com/api/subscribers/add">
<input type="hidden" name="listId" value="(id of list here)" />
<div>
<label for="email">Email</label>
<input name="email" />
</div>
<!-- ↓↓↓ optional ↓↓↓ -->
<div>
<label for="name">Name</label>
<input name="name" />
</div>
<!-- ↑↑↑ optional ↑↑↑ -->
<button type="submit">Subscribe</button>
</form>