Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

JSON:API Frontend Webform

No security coverage Under active development 12 sites

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

Drupal 10–11

Ask your assistant about JSON:API Frontend Webform

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jan 2026
Latest release
4 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.4 Stable 10–11 Jun 12, 2026
1.0.3 Stable 10–11 Jan 4, 2026
1.0.2 Stable 10–11 Jan 2, 2026
1.0.1 Stable 10–11 Jan 2, 2026