Documentation
Everything you need to connect a form to Jitware Forms.
Quickstart
Create a form in the dashboard and copy its access key. Then point your HTML form at our endpoint. Every input needs a name; that name is what you see in the email.
<form action="https://forms.jitware.be/submit" method="POST">
<input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
<input type="text" name="name" required>
<input type="email" name="email" required>
<textarea name="message" required></textarea>
<!-- Honeypot spam protection: keep it hidden -->
<input type="checkbox" name="botcheck" style="display:none">
<button type="submit">Send</button>
</form>
Special fields
These optional fields control the service and are not shown as form data. They are compatible with Web3Forms, so existing forms work by changing the action URL and access key.
| Field | What it does |
|---|---|
access_key | Required. Identifies your form. |
subject | Email subject; overrides the form setting. Supports variables. |
from_name | Sender name shown in your inbox. |
email / replyto | Used as Reply-To, so you can answer the visitor directly. Also recognised: e-mail, emailadres. |
name | Shown as the sender's name. Also recognised: naam, full_name. |
redirect | Thank-you page for plain HTML forms (http/https). |
botcheck | Hidden honeypot checkbox. If ticked, the submission is stored as spam. |
JavaScript (fetch)
Send Accept: application/json to get a JSON response instead of a redirect.
const form = document.querySelector('#contact-form');
form.addEventListener('submit', async (event) => {
event.preventDefault();
const response = await fetch('https://forms.jitware.be/submit', {
method: 'POST',
headers: { Accept: 'application/json' },
body: new FormData(form), // includes the hidden access_key
});
const result = await response.json();
if (result.success) {
window.location.href = result.redirect ?? '/thank-you';
} else {
alert(result.message);
}
});
React / Next.js
export default function ContactForm() {
const [status, setStatus] = useState('idle');
async function onSubmit(event) {
event.preventDefault();
setStatus('sending');
const data = new FormData(event.currentTarget);
data.append('access_key', process.env.NEXT_PUBLIC_FORMS_KEY);
const res = await fetch('https://forms.jitware.be/submit', { method: 'POST', headers: { Accept: 'application/json' }, body: data });
setStatus((await res.json()).success ? 'sent' : 'error');
}
return (
<form onSubmit={onSubmit}>
<input name="name" required />
<input name="email" type="email" required />
<textarea name="message" required />
<button disabled={status === 'sending'}>Send</button>
{status === 'sent' && <p>Thank you!</p>}
</form>
);
}
WordPress & Elementor
Elementor's own Form widget sends to WordPress, not to other services. Use an HTML widget (or a Custom HTML block in the block editor) and paste the form code from the Quickstart, styled to your theme. For an existing HTML form, only change its action to https://forms.jitware.be/submit and add the hidden access_key input.
File uploads
Turn on Settings → File Uploads for the form (Pro plan). The form needs enctype="multipart/form-data". Up to 5 files of 10 MB each; images, PDF, Office documents, CSV, text and zip. Files appear in the File Manager and as download links in the email.
<form action="https://forms.jitware.be/submit" method="POST" enctype="multipart/form-data">
<input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
<input type="file" name="attachment">
<input type="file" name="photos[]" multiple>
...
</form>
Redirect & thank-you page
For plain HTML forms, set a thank-you page under Settings → Email Configuration → Redirect URL, or add a hidden redirect field. Without one, visitors see a neutral confirmation page with a link back. JavaScript forms receive the configured URL as redirect in the JSON response.
Spam protection
- Honeypot: the hidden
botcheckcheckbox (always recommended). - Spam filter (Off / Basic / Strict per form): links, spam words, foreign-script text and identical resubmissions within 10 minutes. Spam goes to the Spam tab, never deleted.
- Invisible bot protection: add the script below to every page with a form and switch on "Invisible bot protection" in the form settings. The visitor's browser solves a small puzzle in the background (no captcha, no cookies, no third party); submissions without a solved puzzle go to the Spam tab. It works with plain HTML forms,
fetch,XMLHttpRequest/jQuery and form plugins. Custom code that builds its own request body can add_jf_pow: await JitwareForms.token().
In the rare case a visitor clicks before the puzzle is solved, a plain HTML form waits briefly (extra clicks are ignored, so it is sent once) and its button gets<script src="https://forms.jitware.be/js/protect.js" defer></script>aria-busy="true"and the classjf-busy. Adddata-jf-busy-text="Sending..."to the button or the form to show that label meanwhile. The form also getsdata-jf-pending="1"and fires the eventsjitwareforms:pendingandjitwareforms:ready(event.detail.form,event.detail.submitter). - Domain restriction: only accept submissions from your own domains.
- Captcha: add your Cloudflare Turnstile, hCaptcha or Google reCAPTCHA secret key in the settings and the widget to your form. Cloudflare Turnstile:
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
<div class="cf-turnstile" data-sitekey="YOUR_SITE_KEY"></div>
Google reCAPTCHA v2 (checkbox). For v3, put the token from grecaptcha.execute() in a g-recaptcha-response field; scores below 0.5 are rejected.
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<div class="g-recaptcha" data-sitekey="YOUR_SITE_KEY"></div>
Email variables
Subjects, intro text and auto-replies can include form fields in curly braces, e.g. New request from {name}. Names are not case-sensitive; {form} is the form's name. Unknown variables are left out.
Responses & errors
| Status | Meaning |
|---|---|
| 200 | {"success": true, "message": "...", "data": {...}, "redirect": "..."} |
| 400 | Missing access_key. |
| 401 | Unknown or inactive access key. |
| 403 | Submitted from a domain that is not allowed, or the form is unavailable. |
| 422 | Empty form, failed captcha or a rejected file. |
| 429 | Too many submissions (rate limit or monthly plan limit). |
Webhooks
Add a Webhook integration and we POST each submission as JSON to your https URL:
{
"event": "submission.created",
"form": { "id": "…", "name": "Contact" },
"submission": {
"id": "…", "created_at": "2026-09-26T10:15:00+00:00",
"name": "Jan Peeters", "email": "jan@example.com",
"data": { "name": "Jan Peeters", "email": "jan@example.com", "message": "…" },
"files": [ { "name": "plan.pdf", "size": 52340, "url": "https://…" } ]
}
}
With a signing secret, verify the X-Signature header (HMAC-SHA256 of the raw body):
// PHP
$expected = 'sha256=' . hash_hmac('sha256', file_get_contents('php://input'), $secret);
if (! hash_equals($expected, $_SERVER['HTTP_X_SIGNATURE'] ?? '')) { http_response_code(401); exit; }
// Node.js
const expected = 'sha256=' + crypto.createHmac('sha256', secret).update(rawBody).digest('hex');
Failed deliveries are retried (after 1 minute, 10 minutes and 1 hour) and shown in the integration's delivery log.
Google Sheets
Add a Google Sheets integration: the dashboard gives you a small Apps Script to paste into your sheet (Extensions → Apps Script), which you deploy as a web app. Each submission becomes a row; new fields get their own column automatically. Your data goes directly into your own Google account.
REST API
Create an API key under API Keys in the dashboard (Pro plan) and send it as a Bearer token. Keys are read-only unless you allow deleting. There are two kinds:
- Workspace keys (
jf_live_…): one workspace. Use these for a client or for software that belongs to one workspace. - Personal keys (
jf_user_…): every workspace you own or manage, e.g. for your own dashboard. Add?workspace={id}to any request to limit it to one workspace. A workspace you lose access to drops out of the key automatically.
| Request | Returns |
|---|---|
GET /api/v1/workspaces | The workspaces this key can read. |
GET /api/v1/forms | Your forms with their workspace and submission counts. |
GET /api/v1/forms/{id}/submissions | Submissions, newest first. Query: since (date), spam (0/1), per_page (max 100), page. |
GET /api/v1/submissions/{id} | One submission, with file links. |
DELETE /api/v1/submissions/{id} | Deletes a submission (keys with delete permission). |
curl https://forms.jitware.be/api/v1/forms \
-H "Authorization: Bearer jf_live_…"
Limit: 120 requests per minute per key. Keep API keys on your server; never put them in website code.