# FormRoost docs > Accept, manage, and deliver website form submissions. ## Submission API - [Accept submissions](/docs/api/submissions.md): The public submission endpoint is: Supported media types are application/json, application/x-www-form-urlencoded, and multipart/form-data without file parts. Any multipart file rejects the entire request; files are never silently discarded. ## API reference - [Generated Submission API reference](/docs/api/reference.md): The public contract is generated from the same Fastify route schemas used by the running API and validated as OpenAPI 3.1.2 during generation. Download the Submission API OpenAPI document The public document includes only /s/v1 submission operations. FormRoost's private /api/v1 management document is generated separately and is not published as a customer integration surface. Clients should treat stable Problem Details code values as machine-readable. Human-readable titles and details may improve without a contract version change. ## Webhooks - [Signed webhooks](/docs/webhooks.md): Every Phase 1 endpoint can subscribe to any combination of: submission.createdsubmission.status_changedsubmission.archivedsubmission.restored — sent when a lead returns from archive, spam, or recovery storage; data.restoredFrom is archive, spam, or trashsubmission.deleted Creation and restoration events include available submission fields. Status, archive, and deletion events contain identifiers and change metadata without retransmitting the entire lead payload. ## Recipes - [Submit from a browser](/docs/recipes/browser.md): Use your form's public submission ID, not its management ID. The hosts and IDs below are placeholders. ## AI agents - [AI coding agents](/docs/agents.md): Connect Claude Code, Cursor, OpenAI Codex, Windsurf, and other AI coding agents to FormRoost's hosted Remote MCP server, portable SKILL.md, and llms.txt docs. ## What's new - [What's new](/docs/release-notes.md): New features and improvements to help you collect and manage form submissions. ## Others - [Error responses](/docs/api/errors.md): Submission and management errors use RFC 9457 Problem Details with application/problem+json. Clients must branch on the stable code, not the human-readable detail. Each problem type links directly to the matching code anchor below. Validation errors include no more than 20 JSON Pointer paths and never echo rejected values. Public browser errors do not disclose plan or account usage. - [Server API keys](/docs/api/keys.md): Production submissions without an Origin require a project/environment API key. Sandbox development tools may omit both Origin and the key. If a syntactically valid sandbox bearer key is supplied, it must be valid for the target project and environment. Keys are submission-write-only. They cannot read leads, export data, alter forms, manage webhooks, access billing, or call the management API. A key belongs to exactly one project and one environment.The secret appears only once. FormRoost stores a digest, not the original secret.Free permits two active keys per project and environment. Starter, Growth, and Agency permit ten. Revoked and expired keys do not consume the active limit; Enterprise is negotiated.Expiration is optional and must be in the future. Configured expirations receive warnings at 30, 14, 7, 3, and 1 day before expiry. - [Spam and abuse controls](/docs/concepts/abuse.md): FormRoost applies layered controls without requiring every customer to configure a challenge. Origin validation and short-lived network/form/project/account rate limits are always active. The default _gotcha honeypot, optional minimum-completion timing, repeated-content detection, and configurable email/domain/content blocklists add low-friction signals. Customers may enable Cloudflare Turnstile per form by storing a site key and secret. The secret is application-encrypted, never returned by the API, and sent only to Cloudflare's verification endpoint when a token is supplied. Suspicious submissions enter a 14-day quarantine. They do not consume allowance, appear in the explicit Spam inbox, and do not produce webhooks. Restoring a production submission consumes one production unit and emits submission.restored; restoration stops with the same hard allowance limit as ordinary ingestion. Duplicate-content detection uses a bounded HMAC-derived fingerprint and time window. FormRoost does not store raw submitter IP addresses for rate limiting. Deployments behind a reverse proxy must set TRUSTED_PROXY_CIDRS to the proxy's IP addresses or CIDR ranges. Direct deployments leave it empty. The supplied Compose setup assigns Nginx 172.30.0.10 and trusts only that address; Nginx replaces incoming forwarding headers with the visitor's address. Adapt the network and trusted address together when deploying on a different network. - [Configure, review, and publish](/docs/concepts/configuration.md): Every form begins with one editable sandbox draft. Production does not exist until you publish explicitly. The draft controls schema mode, JSON Schema, exact browser origins, redirects, and basic visitor-metadata collection. Draft writes use a server revision; a stale tab receives a conflict instead of overwriting newer work. - [Limits and quota](/docs/concepts/limits.md): A unit is consumed only after a valid submission is accepted and durably stored. Validation failures, blocked requests, rate-limited requests, spam, webhook attempts, and idempotent replays do not consume production allowance. Sandbox is unlimited on every plan. In exchange, sandbox records are deleted 7 days after they arrive. Rate limits still apply. When production allowance is exhausted, production acceptance stops. Usage warnings begin at 70%, then repeat at 75%, 80%, 85%, 90%, 95%, and 100%. Optional production top-ups expire with the current monthly usage period and do not roll over. Sandbox top-ups are not sold. Every submission is also bounded to 100 fields, 128 characters per field name, 64 KB per individual text value, and 20 nested object/array levels. Independent one-minute abuse limits apply to the submitter network key, form, project, and account. The API returns 429 with an RFC 9457 problem body when a limit is reached. These controls protect ingestion capacity and do not consume quota. Exact thresholds are operational safeguards and may be tuned without changing plan allowances. - [Projects, forms, and environments](/docs/concepts/resources.md): An account owns any number of projects. A project owns any number of forms. Each form has exactly two environments in Phase 1: sandbox and production. Sandbox and production data never blend silently. Sandbox traffic never consumes production allowance or production analytics. Configuration is edited as a sandbox draft. Publishing creates a new immutable production configuration version after showing a diff and receiving explicit confirmation. - [Retention and deletion](/docs/concepts/retention.md): When a paid subscription ends, its existing production submissions enter a one-year read/export-only archive. Notes, tags, status, archive/spam state, read state, and webhook replay cannot change. Viewing, CSV/NDJSON export, explicit redaction, and confirmed permanent deletion remain available. Operational warnings are sent at 180, 90, 60, 30, 14, 7, 3, and 1 day before archive deletion. Account deletion disables all submission endpoints immediately and starts a 30-day recovery window. It requires recent password confirmation and sends confirmation plus reminder emails. Recovering in time re-enables the account; after purge, active-system recovery is unavailable. Backup-media deletion timing is intentionally not promised until the deployment backup policy is finalized. Permanent deletion and retention expiry also remove webhook events containing the lead's fields, including their delivery attempts. Identifier-only deletion notifications remain deliverable. Usage history retains its counted units without retaining a reference to the deleted lead. - [Analytics and exports](/docs/portal/analytics-exports.md): Analytics are calculated in-house from accepted submissions, rejected outcomes, lead status activity, and webhook attempts. FormRoost does not send lead content to a third-party analytics or search service. The dashboard reports hourly and daily submission trends, spam and rejection counts, project/form/environment breakdowns, lead-status counts, status-change timing, webhook success and latency, and referrer/UTM source when those values were explicitly supplied. It does not claim page-view conversion because FormRoost does not install view tracking. Selected top-level fields can be aggregated only when the account owner requests that field. High-cardinality values are bounded in the response. Exports use the same explicit inbox selection or filters the user can see. CSV is optimized for spreadsheets; NDJSON is the lossless nested format. Large exports run asynchronously, show their state in the portal, require the account session for download, and are deleted after 24 hours. - [Plans, usage, and top-ups](/docs/portal/billing.md): One subscription covers the account and every project. Production allowances are pooled account-wide and reset on the billing/signup anniversary. Free includes 50 production submissions per usage period. Sandbox is unlimited on every plan, and sandbox records are deleted after 7 days. Starter costs 9 USD a month or 90 USD a year, Growth 29 or 290, and Agency 99 or 990. Tax is added at checkout where it applies. Acceptance hard-stops when an allowance finishes. The portal and operational email warn at 70%, then 75%, 80%, 85%, 90%, 95%, and 100%. - [Manage accepted leads](/docs/portal/leads.md): The account-wide Inbox keeps sandbox and production data visibly separate. A submission opens in a readable field view; canonical JSON and approved transport metadata remain separate tabs. The lightweight status workflow is enforced: You can add internal notes and tags, inspect the activity history, mark records read, archive and restore leads, and move a lead to recoverable trash. Ordinary deletion retains the record for the documented recovery window; permanent deletion is a separate destructive action. Submitted fields are immutable. FormRoost renders customer field names and values as inert text, never executable HTML. Search covers receipts, available submitted fields, notes, and tags. Filters include project, form, environment, status, tag, date, spam, archive, and trash, and can be saved as reusable views. Bulk actions support read state, status, tags, and archive state; ineligible workflow transitions are reported per receipt. CSV exports flatten nested fields with deterministic paths and neutralize spreadsheet-formula prefixes. NDJSON preserves canonical nested data. Results up to 10,000 records download immediately. Larger exports run in the background, remain authenticated, and expire after 24 hours. Redaction replaces an explicit field path in both the submission and retained webhook event content. Permanent deletion is a separately confirmed action. Removed content is not retained in search or exports. - [Sandbox playground](/docs/portal/playground.md): The authenticated playground sends requests only to a form's sandbox endpoint. It is for validating field normalization, schema behavior, idempotency, and webhook delivery before publishing. Open the sandbox playground The playground never selects or creates resources automatically. Create a project and form first, then choose that existing form. Sandbox submissions are unlimited, never use production allowance, and are deleted after 7 days. - [Forward to Slack or Google Sheets](/docs/recipes/forwarding.md): These are examples you host yourself. FormRoost does not provide native Slack or Google Sheets connectors. Start with either signed receiver. Run forwarding separately so a slow destination does not delay the webhook acknowledgment. - [Receive signed webhooks](/docs/recipes/receivers.md): These are receivers you host yourself. No SDK or framework is needed. Create an endpoint on the form, subscribe to submission.created, and store its signing secret as WEBHOOK_SECRET. Do not use a submission API key here. Production destinations need public HTTPS. Put these loopback listeners behind your HTTPS reverse proxy. Local development permits sandbox HTTP loopback destinations. Other private destinations are rejected. - [Submit from a server](/docs/recipes/server.md): Create a key in the project's API keys for the target environment. Copy the secret when it is shown. Keep it in your server's secret store. Keys only write submissions; they do not authorize management API calls. Set these variables in your server environment. All values below are placeholders. Omit Origin. Production requires Authorization: Bearer ... without it. The key must belong to the form's project and environment, and must not be expired or revoked. An invalid production key returns 401. For sandbox, change the URL to /s/v1/sandbox/sub_REPLACE_ME and use a sandbox key (fr_sandbox_key_REPLACE_ME.REPLACE_ME). Sandbox permits development requests without a key. A syntactically valid sandbox key is checked when supplied. - [Security boundaries](/docs/security.md): This page describes the intended Phase 1 product contract. It is not a certification or audit claim. Account sessions use secure host-only HTTP-only cookies in production.Public submission endpoints never accept FormRoost account cookies.Server API secrets are shown once, stored as digests, scoped to one project and environment, and accepted only through Authorization headers.Webhook signing material is application-encrypted at rest.Logs omit raw form payloads, credentials, cookies, authorization headers, and submitter personal data by default.Customer content remains in PostgreSQL and is not sent to third-party analytics or search vendors.Abuse rate limits store short-lived HMAC-derived network keys rather than raw IP addresses.Production webhook delivery blocks internal-address targets, revalidates DNS for every attempt, pins the connection to a validated address, and verifies TLS against the original hostname.Google and GitHub sign-in use a redirect to the provider. A provider sign-in joins an existing FormRoost account only when both FormRoost and the provider have verified the same email. Accounts with two-factor authentication must sign in with their password.Password re-entry creates a ten-minute recent-authentication window for API-key, billing-simulator, password, and account-deletion changes. FormRoost does not claim SOC 2, ISO 27001, HIPAA, PCI, GDPR certification, penetration-test status, or an uptime guarantee before those claims are independently supportable.