GET form schema
JSON schema including rendered HTML + structured field list for client-side validation.
Feature
Render and submit forms from Astro, Next.js or any non-WordPress site. Site-wide API key + drop-in widget.
Part of Core Forms, with every premium WordPress form feature in one plugin, one license and unlimited sites.
Expose a form over REST so an external site can show it and submit standard fields as JSON. WordPress runs validation, spam checks, storage and the form's actions. Payments and file uploads need a form page hosted on WordPress.
Turn on Headless API under Core Forms > Modules (it's off by default), create the site's API key under Core Forms > Settings > Headless / REST, then switch on Headless mode for each form. Its Headless tab has three snippets: drop-in JavaScript widget, native fetch and cURL.
JSON schema including rendered HTML + structured field list for client-side validation.
Checks required fields and spam, then runs storage and the form's actions.
<div data-cf-form="…"> + script tag and the form mounts itself.
List your front ends in Allowed origins, but don't rely on it as access control. A captcha is optional, so set up Turnstile or reCAPTCHA before launch.
<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> Headless / REST submissions is included with your license.
Use code BLACKFRIDAY for 40% off either plan. Ends December 2 (IST).