SubmitDock – Headless Form Backend
Headless form backend for Next.js, React and static sites.
Install in
SubmitDock turns your WordPress site into a form backend. Point any form at your endpoint, from a static site, a headless WordPress front end, a React, Next.js, Vue, or Astro app, a mobile app, or a server, and every submission is saved in WordPress and emailed to you.
There is no form builder to set up. You build the form however you like, and the plugin accepts whatever fields it sends. It works like a hosted form backend service such as Formspree, but your submissions stay on your own WordPress site, with no monthly fee or submission limit. It is a free, self-hosted form backend.
Why use it
- Any fields, no setup: send name, email, message, or fifty custom fields. Each one is saved and shown with a readable label.
- JSON or plain HTML: post JSON with
fetch, or point a normal HTML form at the endpoint. HTML forms can return visitors to a thank-you page. - Several forms, one site: use
/submit/newsletteror/submit/quoteto keep forms apart, then filter submissions by form. - Email notifications: each submission is emailed to you, and replying goes straight to the sender.
- Works across websites: allow your front-end domains and browsers can submit from them. Requests from other websites are refused.
- Spam protection: a hidden spam trap field, a per-visitor rate limit, and an optional check with Cloudflare Turnstile, hCaptcha, or Google reCAPTCHA (v2 or v3), verified on your server before anything is saved.
- Akismet and a Spam folder: with the Akismet plugin connected, suspected spam goes to a Spam folder instead of your inbox, with no email. Mark items Spam or Not spam, and old spam is deleted automatically.
- API key for server-side code: submit from a Next.js server action, an API route, or an app backend with an
X-SubmitDock-Keyheader, even when only your own websites are allowed. - Inbox and export: browse submissions in the dashboard, filter by form, and export everything to CSV.
- Privacy tools: submissions are included in WordPress personal data exports and erasures, found by the sender’s email address. Saving IP addresses can be turned off.
- Developer hooks: validate fields, send submissions to a CRM or Slack, or change the email with filters and actions.
How it works
- Install the plugin. Your endpoint is
https://your-site.com/wp-json/submitdock/v1/submit. - Under Form Submissions Settings, add the websites allowed to send forms.
- Send your form to the endpoint. Form Submissions Developer guide has copy-ready JavaScript, HTML, and cURL examples using your own URL.
Responses are JSON with a message ready to show your visitors. Status 200 means saved and emailed, and 202 means saved but the email failed.
SubmitDock Pro
SubmitDock Pro is a separate add-on for forms that need more than fields and an email. The free plugin keeps every feature above, and Pro adds, on the same endpoint:
- File uploads: send
multipart/form-datato/submit/{form}. Each form has its own allowed file types, size limit (1 to 100 MB) and number of files (1 to 20). PHP, scripts, HTML, SVG and executables are always refused, and each file’s content is checked against its type. Files are stored privately under random names, can be downloaded from the submission screen by users who can edit it, can be attached to the notification email, and are deleted with their submission. - Webhooks: send each submission as JSON to any URL, for all forms or chosen ones, signed with HMAC-SHA256 so your receiver can check it came from your site. Failed deliveries are retried after 1 minute, 5 minutes, 30 minutes and 2 hours, and a delivery log shows the status, HTTP code and response of every attempt, with a Resend button.
- Google Sheets: add one row per submission to the sheet and tab you choose, through a Google Cloud service account, with the same retries and log. Send a test row from the Google Sheets tab after setting it up.
- Email templates and auto-replies: a subject and message per form with merge tags, in plain text or an HTML layout, and an auto-reply to the sender that is sent only after a passed CAPTCHA check, at most three times an hour per address.
Submissions in the Spam folder are never sent to webhooks or Google Sheets and get no auto-reply. SubmitDock Pro costs from $29 a year, with a 14-day refund policy. See SubmitDock Pro.
Custom development
Need a ready-made connection to your CRM, a multi-step form, or a full headless WordPress build? The plugin is built and maintained by Ali Nawaz, a WordPress and full stack developer. Get in touch for custom work.
External services
This plugin connects to external services only when you turn them on under Form Submissions Settings. All are off by default.
ipwho.is IP geolocation (https://ipwho.is/)
When “Look up the approximate city and country” is enabled under Form Submissions Settings (it is off by default), the visitor’s IP address is sent to ipwho.is when they submit a form, and the returned city, region, and country are saved with the submission.
The service is run by ipwhois.io. Terms of use: https://ipwhois.io/terms. Privacy policy: https://ipwhois.io/privacy.
Cloudflare Turnstile (https://challenges.cloudflare.com/turnstile/v0/siteverify)
When Cloudflare Turnstile is chosen as the spam check, each submission’s Turnstile token, your secret key, and the visitor’s IP address are sent to Cloudflare to check the token before the submission is saved.
Terms of use: https://www.cloudflare.com/website-terms/. Privacy policy: https://www.cloudflare.com/privacypolicy/.
hCaptcha (https://api.hcaptcha.com/siteverify)
When hCaptcha is chosen as the spam check, each submission’s hCaptcha token, your secret key and site key, and the visitor’s IP address are sent to hCaptcha (Intuition Machines, Inc.) to check the token.
Terms of service: https://www.hcaptcha.com/terms. Privacy policy: https://www.hcaptcha.com/privacy.
Google reCAPTCHA (https://www.google.com/recaptcha/api/siteverify)
When Google reCAPTCHA is chosen as the spam check, each submission’s reCAPTCHA token, your secret key, and the visitor’s IP address are sent to Google to check the token.
Terms of service: https://policies.google.com/terms. Privacy policy: https://policies.google.com/privacy.
Akismet (through the Akismet Anti-spam plugin)
When “Check each submission with Akismet” is enabled, the submitted fields as text, the sender’s name and email, the visitor’s IP address, browser, and page, and your site address are sent to Akismet (Automattic) through the Akismet plugin’s own connection. Marking a submission Spam or Not spam sends the same data again so Akismet can learn.
Terms of service: https://akismet.com/tos/. Privacy policy: https://automattic.com/privacy/.
Your form’s CAPTCHA widget itself is added by you to your own front end; this plugin does not load it. Email notifications are sent through your site’s own WordPress mail setup.
Written by Joobi from the project's own listing. See the source page
1.2.3 (2026-11-21)
- Send to accepts several email addresses, separated by commas (up to 10). Every address gets each notification.
- Every text field on the Settings screen shows an example placeholder.
- Fix: the first save on a new site no longer shows false errors about the subject, allowed websites and messages.
1.2.2 (2026-11-19)
- The Settings screen and the plugin’s row on the Plugins screen mention the SubmitDock Pro add-on. Both are hidden when Pro is active.
- Readme: SubmitDock Pro section, new questions on webhooks and Pro, updated answer on file uploads.
1.2.1 (2026-11-15)
- Translations: the “Next.js server action” label in the developer guide is now translatable, and a translation template (languages/submitdock.pot) is included.
- Right-to-left languages: the support box uses logical CSS for Arabic, Hebrew, Urdu and other RTL languages.
- Translations: response messages and the email subject that are left at their default are no longer saved in the language the settings were saved in, so visitors get them in their own language. Customized texts are kept.
1.2.0 (2026-11-15)
- New: optional spam check with Cloudflare Turnstile, hCaptcha, or Google reCAPTCHA v2 and v3, verified on your server. Failed checks are refused and the token is never saved.
- New: Akismet check (with the Akismet plugin) and a Spam folder. Suspected spam is kept without an email, and Spam / Not spam actions teach Akismet.
- New: spam older than 30 days is deleted automatically (adjustable, or off).
- New: API key for server-side submissions in an
X-SubmitDock-Keyheader. Fixes server-side code being refused when allowed websites are set. - New:
submitdock_submission_spamaction. - New: Developer guide sections for the CAPTCHA widget and a Next.js server action.
- Fixed: the settings page now shows “Settings saved.” and validation messages.
- Privacy exports and erasures now include submissions in the Spam folder.
1.1.0
- Renamed from Headless Form to SubmitDock. The endpoint is now
/wp-json/submitdock/v1/submit, and settings and submissions are stored under new names. A site already running Headless Form keeps its data in the old plugin.
1.0.1
- New: a View link for each submission in the list.
- New: the notification status shows which address the email was sent to.
- New: links to support, custom development, and donations on the settings and guide pages.
1.0.0
- Initial release.
Follow this listing's changes (Atom feed)