Skip to content
Gaurav TiwariDocs

Headless

Version 5.2.5 Updated November 22, 2026

Headless Core Forms lets a site that doesn’t run WordPress show a form and send each entry back to WordPress. You build the form in Core Forms, and WordPress handles validation, spam checks, storage, emails and integrations.

The front end can be static HTML or any framework. It only needs to reach your WordPress REST API.

Choose a Setup

Start with Set Up Headless Forms. Every route below needs that setup first.

Your site Guide Where the API key lives
Static HTML, no backend Drop-in Embed Page source
React, Vue or Svelte app, no backend React, Vue and Svelte Browser bundle
Astro Astro Server environment
Next.js App Router Next.js Server environment
Cloudflare Workers or Pages Cloudflare Workers and Pages Worker secret
Node.js Node.js and Express Server environment
PHP hosting PHP Server environment
Your own components Build Your Own Form UI Your server route

The embed is the quickest route. It also handles file uploads, multi-step forms and captchas. A server route keeps the key out of the browser.

How It Works

  1. WordPress publishes the form’s HTML and field list at a public REST endpoint.
  2. Your site shows that HTML or renders the fields with its own components.
  3. The browser posts the answers to WordPress, or to a route on your server that adds the API key.
  4. Core Forms validates the answers, saves the entry and runs the form’s actions.

What You Can Build

  • A contact form on an Astro or static site, with entries in the Submissions inbox.
  • A Next.js form that uses your own design system.
  • A form inside a React, Vue or Svelte app that updates the interface after a success.
  • One forms backend for several sites, with emails, webhooks and CRM actions set up once.
  • A product catalog on an external site, using the Storefront API.

Before You Launch

For a short introduction with a video, see Headless Forms.

Share

Was this helpful?

Still stuck? Open a support ticket