Cloudflare

Cloudflare Pages contact form without a backend

Cloudflare Pages hosts your static build - it does not receive form POSTs. Point your form at FormsReach, allowlist your *.pages.dev and custom domains, and deliver submissions by email or WhatsApp with spam filtering.

Set up FormsReach with Cloudflare

Connect your form in a few steps. No custom backend required.

  1. 1

    Create a free API key

    Sign up at FormsReach and copy your form public API key. Free includes monthly credits for email delivery with spam filtering.

  2. 2

    Embed the form on your Pages site

    Add the HTML form snippet below to any page in your Cloudflare Pages project. Set the hidden api_key field to your form's public key, and keep the action pointed at the FormsReach submit endpoint.

  3. 3

    Allowlist your Pages domains

    In the FormsReach dashboard, add your project's *.pages.dev domain and any custom production domain to Allowed domains. Preview deploys and production both need to be listed.

  4. 4

    Deploy and test

    Push to the branch connected to Cloudflare Pages. Once the build finishes, open the live URL and submit a test entry - check the Submissions row and your email.

HTML snippet

Copy this into your project, then swap in your FormsReach API key.

          <form action="https://api.formsreach.com/submit" method="POST">
  <input type="hidden" name="api_key" value="YOUR_API_KEY">
  <input type="text" name="name" required>
  <input type="email" name="email" required>
  <textarea name="message" required></textarea>

  <button type="submit">Submit Form</button>
</form>
        

Static hosting without a backend

Cloudflare Pages builds and serves your static site - it does not run a server that can receive form POSTs. Point your form’s action at the FormsReach submit endpoint and keep a hidden api_key field. No Pages Function, Worker, or third-party backend is required for basic email or WhatsApp delivery.

Platform notes

Troubleshooting

What you get

Monthly credits for submissions and delivery. Scale when volume grows.

Free

500 credits every month for form submissions, email, webhooks, and workflow rules. Spam filtering included. No credit card required.

Starter, Pro & Agency

Larger monthly credit pools (2,000 / 5,000 / 18,000). WhatsApp via Meta Business API unlocks on Pro and Agency. See pricing.

FAQ

Common questions about FormsReach with Cloudflare.

Is there a Cloudflare Marketplace install like Vercel?+

Not yet. Cloudflare does not have a connectable-account Marketplace integration with FormsReach, so setup is manual: create a form, copy the public API key, wire the form action or embed, and allowlist domains yourself.

Does this work with Pages Functions or Workers, not just static HTML?+

Yes. The HTML snippet works on a plain static build. If you proxy submissions through a Pages Function or Worker for extra validation, keep the API key in server-side environment bindings rather than a hidden form field.

Which domain do I allowlist - the pages.dev one or my custom domain?+

Both. Add your project's stable *.pages.dev domain so preview and production Pages builds work, plus any custom domain you've mapped to the project.

Can I combine this with Cloudflare Turnstile?+

Yes. Turnstile runs client-side before submit as an extra spam gate. FormsReach doesn't require it and already filters spam, but the two are independent and safe to pair - verify the Turnstile token server-side if you build a Worker proxy.

Free vs paid delivery after setup?+

Email, webhooks, and workflow rules are available on Free and Starter with monthly credits. WhatsApp via Meta WhatsApp Business API is available on Pro and Agency, metered the same way.

More platforms that connect to FormsReach the same way.

Ready to receive form leads?

Create a free API key. Upgrade when you need more monthly credits.