Skip to main content

Feature

Headless / REST submissions

Render and submit forms from Astro, Next.js or any non-WordPress site. Site-wide API key + drop-in widget.

Part of Core Forms — every premium WordPress form feature in one plugin, one license, unlimited sites.

Expose any form via REST so an external site can render it and post submissions. The same validation, captcha, action-loop and payment-redirect machinery runs server-side in WordPress — your headless site just submits JSON.

Single API key per site (Settings → Headless), per-form opt-in toggle, and three integration modes: drop-in vanilla JS widget, native fetch, or cURL.

Per-form Headless tab with embed snippets
What you get

How it works in Core Forms

GET form schema

JSON schema including rendered HTML + structured field list for client-side validation.

POST submit

Runs the same Forms::process() pipeline as on-site submissions.

embed.js widget

<div data-cf-form="…"> + script tag and the form mounts itself.

CORS-friendly

Origin reflected per request, captcha enforced as the spam stop in lieu of nonces.

Drop-in embed snippet

<div data-cf-form="contact" data-cf-key="YOUR_SITE_API_KEY"></div>
<script src="https://yoursite.com/wp-json/core-forms/v1/embed.js" defer></script>

Bundled with every Core Forms license.

Headless / REST submissions — and every other feature on this site — is included with your license. Use code CFLAUNCH for 20% off either plan.