Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows Webform routes to be handled cleanly in hybrid headless setups by extending the JSON:API resolver. It enables frontends to redirect or proxy to Drupal for rendering and submission, while respecting route access and treating restricted forms as "not found."

jsonapi_frontend_webform is an optional addon for jsonapi_frontend. Drupal Webforms are interactive routes (not JSON:API content entities), so this addon teaches the resolver how to handle Webform pages cleanly in hybrid headless setups.

Features

  • Extends /jsonapi/resolve so Webform routes (including aliased paths like /contact/form/contact) resolve as non-headless.
  • Returns drupal_url so frontends can redirect/proxy to Drupal for rendering + submission (no iframes required).
  • Respects route access and treats restricted forms as “not found”.

Post-Installation

  • Enable webform, jsonapi_frontend, then enable jsonapi_frontend_webform.
  • Configure jsonapi_frontend at /admin/config/services/jsonapi-frontend (especially your Drupal URL/
    origin and proxy secret if using frontend-first).
  • Ensure your frontend routing/proxy forwards Webform routes (typically /form/*) to Drupal in Split routing or Frontend-
    first mode.

Additional Requirements

  • If you attempt fully headless form rendering/submission (advanced), you may evaluate webform_rest and a frontend renderer library. This addon itself is hybrid-first and does not require them.

Similar projects

  • next_webform / nextjs-drupal-webform: aims at fully headless Webform rendering (Next.js-specific). jsonapi_frontend_webform focuses on the
    simpler, cross-framework hybrid approach (proxy/redirect to Drupal).

Supporting this Module

Activity

Total releases
4
First release
Jan 2026
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.4 Stable Jun 12, 2026
1.0.3 Stable Jan 4, 2026
1.0.2 Stable Jan 2, 2026
1.0.1 Stable Jan 2, 2026