FormsFort

Quick Start

Start building production-ready static forms with FormsFort.

FormsFort Quick Start

Everything you need to build with FormsFort. API reference, framework guides, integration walkthroughs, and production operations for static-site forms.

Quick Start

Copy this into any HTML page. Replace YOUR_ACCESS_KEY with a key from your dashboard.

<form action="https://api.formsfort.com/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>
  <input type="checkbox" name="botcheck" style="display:none" />
  <button type="submit">Send</button>
</form>

Guides

Concepts

By Platform

JSON Response

JavaScript submissions receive structured JSON with request IDs and echoed field data.

{
  "success": true,
  "message": "Email sent successfully!",
  "requestId": "req-id",
  "deliveryId": "delivery-id",
  "body": {
    "data": {
      "name": "Ada",
      "email": "[email protected]",
      "message": "Hello"
    },
    "message": "Email sent successfully!"
  }
}

Reserved Fields

FieldBehavior
access_keyRequired public form key, or use POST /submit/YOUR_ACCESS_KEY.
apikeyLegacy alias for access_key.
emailIncluded as reply-to and forwarded with custom fields.
ccemailSemicolon- or comma-separated CC recipients. Requires a paid/manual entitlement.
webhookHTTPS webhook URL for a queued JSON POST. Requires a paid/manual entitlement.
subjectOverrides the form default subject when nonblank.
from_nameOverrides the form default sender name when nonblank.
replytoExplicit reply-to override when nonblank.
redirectHTTPS redirect URL for browser form posts. Cross-domain redirects require a paid/manual entitlement.
botcheckHoneypot checkbox; filled values reject as spam.
attachmentConventional file upload field.
g-recaptcha-responseGoogle reCAPTCHA v2 verification token.
h-captcha-responsehCaptcha verification token.
recaptcha_responseGoogle reCAPTCHA v3 verification token.
cf-turnstile-responseCloudflare Turnstile verification token.

Advanced Options

Combine reserved fields for full control over subject, sender, CC, webhooks, redirects, and captcha.

<form action="https://api.formsfort.com/submit" method="POST" enctype="multipart/form-data">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY" />
  <input type="hidden" name="subject" value="New Submission" />
  <input type="hidden" name="from_name" value="Website Contact" />
  <input type="hidden" name="replyto" value="[email protected]" />
  <input type="hidden" name="ccemail" value="[email protected]; [email protected]" />
  <input type="hidden" name="webhook" value="https://example.com/webhook" />
  <input type="hidden" name="redirect" value="https://example.com/thanks" />
  <input type="checkbox" name="botcheck" style="display:none" />
  <div class="g-recaptcha" data-captcha="true"></div>
  <input type="hidden" name="recaptcha_response" id="recaptchaResponse" />
  <input type="file" name="attachment" />
  <input type="email" name="email" required />
  <textarea name="message" required></textarea>
  <button type="submit">Send</button>
</form>

On this page