Skip to content

Reserved fields and errors

Reference for the public submission endpoint POST https://api.submitowl.com/f/FORM_ID. Your FORM_ID is public and safe to include in HTML. A compatibility subset is also available at POST https://api.submitowl.com/submit, where the FORM_ID is supplied in the Web3Forms-compatible access_key field; see Migrating from Web3Forms.

  • Accepted Content-Type values:
    • application/x-www-form-urlencoded
    • multipart/form-data
    • application/json
  • Maximum payload size: 64 KB of data.
  • Maximum fields: 100 fields per submission.
  • Maximum field name length: 100 characters.
  • Multipart uploads: multipart/form-data without files is accepted. On plans without file upload support, a multipart request with a real file returns 415 files_not_supported; an empty file input is ignored.

SubmitOwl chooses between a redirect and JSON using browser fetch metadata and Accept headers:

  • Browser form posts: receive a 303 redirect to an allowed redirect URL or the built-in /thanks page.
  • fetch, XHR, and authenticated server-mode requests: receive JSON.

Success response:

{ "ok": true, "id": "01JD..." }

Error response:

{
"ok": false,
"error": {
"code": "rate_limited",
"message": "Too many requests"
}
}

CORS headers are included on all public endpoint responses, including errors, so browser JavaScript can inspect error responses.

Reserved fields control submission handling and are not stored as submission data (except email, noted below).

Field Purpose Notes
_gotcha Honeypot field Or your form’s custom honeypot field name. Non-empty values flag spam.
_ts Client render timestamp Optional Unix epoch timestamp in milliseconds (number or numeric string) used only for the fast-submission heuristic; submissions sent under 2 seconds after _ts gain spam score.
cf-turnstile-response Captcha token Cloudflare Turnstile token.
h-captcha-response Captcha token hCaptcha token.
g-recaptcha-response Captcha token Google reCAPTCHA v2 or v3 token.
_subject Email subject Max 150 characters; newlines are stripped.
_replyto / email Email Reply-To Used as Reply-To when valid. _replyto is not stored; email remains stored as submission data.
_redirect Success redirect URL Accepted when its hostname matches the submitting page’s Origin hostname (or Referer hostname if Origin is absent), the form’s configured redirect hostname, an Allowed origins hostname, or a workspace verified domain hostname (including subdomains only for DNS-verified domains); otherwise ignored in favor of the form’s configured redirect URL or, if none is configured, the built-in /thanks page. Ignored in authenticated server mode because responses are always JSON.
_next Redirect alias Alias for _redirect with the same host rules and server-mode behavior. If both _redirect and _next are sent, _redirect wins.

Other underscore-prefixed fields (such as unused FormSubmit hidden fields) are not stored as submission data and have no effect.

At the Web3Forms compatibility endpoint, access_key, subject, replyto, redirect, botcheck, and from_name follow the subset behavior documented in Migrating from Web3Forms. JSON responses there also include top-level success and message fields.

HTTP status Error code Meaning
400 invalid_body Request body could not be parsed for the declared Content-Type, or a field name exceeds 100 characters.
400 too_many_fields Request contains more than 100 fields.
400 captcha_failed Captcha token missing, invalid, below score threshold, or provider misconfigured.
400 server_key_in_browser A server key was sent together with a browser Origin header.
401 invalid_key Server key is invalid or revoked; never falls back to public browser mode.
403 form_paused Form is paused and not accepting submissions.
403 origin_not_allowed Request origin is not accepted by the form’s origin mode or Allowed origins list, or the Origin header is missing in list or verified mode.
404 form_not_found No form matches the requested FORM_ID.
413 payload_too_large Request body exceeds the 64 KB data limit.
415 unsupported_media_type Content-Type is not urlencoded, multipart, or JSON.
415 files_not_supported Multipart request included a non-empty file on a plan without file uploads.
429 rate_limited Rate limit exceeded. Response includes a Retry-After header.
429 quota_exceeded Monthly quota and Held buffer are full, or Held storage is disabled and quota is exhausted.
500 internal_error Unexpected server error.
503 service_unavailable Service temporarily unavailable.

Server keys belong in server-side code only. For invalid_key, check that your server is using an active key for this form. If SubmitOwl rejects a browser request with server_key_in_browser, revoke the exposed key, remove it from client code, and create a replacement for your server.