Documentation

Signup forms

Put a signup form on your site that adds people to an audience only after they confirm, with tags, topics and automations on the way in.

A signup form is a form SendRaven hosts and you embed on your own site. The people who fill it in join one of your audiences. With double opt-in, which is the default, they join only after they press the button in the confirmation email we send them.

This guide covers setting one up. Every field and endpoint is in the forms API reference.

Before you start

  • An audience for the signups to land in. Create one under Audiences if you have none.
  • A verified transactional sending domain. The confirmation email is sent from confirm@ that domain, never from ours. See Sending.
  • A verified payment method, as for any send. Each confirmation email counts as one email sent.

Create the form

In the dashboard, open Signup forms and press New form. Choose the audience, then:

  1. Fields. The email address is always asked for. Add a first name, a last name, or any contact property you have declared. A form never creates a property, and only the fields it declares are stored.
  2. Tags and topics. Tags are applied to everyone who signs up. Topics are the email preferences they opt in to, such as a newsletter. See Topics.
  3. Wording. The heading, a line under it, the button, the message shown after a submission, and consent text, which is shown under the button and stored with every submission.
  4. Design. Your logo, a card or a plain layout that blends into your page, alignment, font, corners, a button colour and a background. Text colours are chosen from the background so the form stays readable.

The preview beside the editor is the form as it will look on your site.

Or create it from code, or from an AI agent through the MCP server:

curl https://api.sendraven.ai/v1/forms \
  -H "Authorization: Bearer $SENDRAVEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Blog footer",
    "audience_id": "5e8f2a1b-3c4d-4e5f-9a6b-7c8d9e0f1a2b",
    "fields": [{ "kind": "first_name", "required": false }],
    "tags": ["blog"],
    "topic_keys": ["newsletter"],
    "consent_text": "One email a month. Unsubscribe at any time."
  }'

A key with guardrails (an approval hold, a recipient allowlist or a daily send limit) cannot create or change a form, because a form sends confirmation emails later, without the key.

Embed it

Copy the embed code from the form's page and paste it where the form should appear:

<div data-sendraven-form="7b1d2c3e-4f5a-4b6c-8d7e-9f0a1b2c3d4e"></div>
<script src="https://api.sendraven.ai/f/embed.js" async></script>

The script puts the form in an iframe and sizes it to fit. For a site builder that strips scripts, use the iframe code instead, which has a fixed height. If your sending domain has a tracking hostname, you can also link straight to https://link.<your domain>/f/<form id>, a page with nothing but the form on it.

Every form carries a small "Powered by SendRaven" link under the button, on every plan.

What happens when someone signs up

With double opt-in, a submission is not a subscriber. Until the person presses the confirm button they are not a contact, and no campaign, segment or automation can reach them.

  1. The person submits the form. Cloudflare Turnstile checks, invisibly, that they are not a bot.
  2. They are sent a fixed confirmation email whose subject names your list. Its link opens a page with a button. Opening the link confirms nothing, because security scanners open every link in incoming mail; pressing the button does.
  3. On confirmation they join the audience with their fields, tags and topics, and any automation that starts when someone joins that audience, or gains one of those tags, starts.

The link works once and expires after 72 hours. Someone already subscribed is sent nothing, and sees the same success message as everyone else, so the form never reveals who is on your list.

Confirming lifts a marketing unsubscribe, because the person has just asked by email. Nothing a form does lifts a hard bounce or a spam complaint.

Single opt-in

Turn double opt-in off and people are added as soon as they submit. Because anyone can type anyone's address into a public form, a single opt-in form never adds an address that unsubscribed, bounced or complained. We recommend double opt-in for any form on a public page.

Limits that protect you

  • One connection can submit your forms 10 times an hour.
  • The same address on the same form within 10 minutes is stored once.
  • One address can be sent at most 3 confirmation emails a day across every SendRaven form.
  • Your forms together accept 2,000 submissions an hour, or 200 in a workspace's first week.

Reading the submissions

Each form's page lists its submissions, and GET /v1/forms/{id}/submissions returns them. A submission is pending, subscribed, rejected (with the reason) or expired. It keeps the consent text the form showed and the page it was embedded on, which is your record of how each person joined.

Next

  • Put the form on a newsletter site, so every issue you send has a way to subscribe under it.
  • Start a welcome sequence when someone confirms: Automations.

On this page