# PortForm — full agent guide > PortForm is a form-to-email backend for static and any-framework sites. Point an HTML form's `action` at PortForm's endpoint with an access key; PortForm stores the submission, filters spam, emails it to you, and forwards it to your integrations. No server code and no JavaScript are required on your site. > > This document is the comprehensive, machine-readable guide for AI agents and developers. For the concise version see https://www.portform.co/llms.txt. For the human-facing agent page see https://www.portform.co/for-agents. ## Two ways an agent works with PortForm 1. Anonymous sandbox — no account and no token. An agent can build, wire, test, and verify a form BEFORE anyone signs up, then hand a claim URL to the human, who signs in and keeps the form. 2. Authenticated MCP — after the human has an account and mints a token, an agent connects to PortForm's MCP server to create and manage forms and read submissions on an ongoing basis. The sandbox is the pre-signup workflow. MCP is authenticated ongoing management. They are separate: the sandbox never needs an MCP token, and MCP never accepts anonymous access. ## What PortForm is - A hosted form backend. A form POSTs to one endpoint with an access key; PortForm validates, stores, filters spam, and emails the destination inbox, then fires any integrations. - Access keys are public routing IDs (like a mailto: address), not secrets. Protection is quota, per-key rate limiting, spam filtering, and optional domain restriction (Pro). - Every submission is stored before anything else, so a failed email never loses the message. ## Core submit endpoint - `POST https://app.portform.co/api/submit` (with `https://app.portform.co/api/v1/submit` as the versioned form; `/api/submit` is a permanent alias). - Accepts URL-encoded, multipart, or JSON bodies. Works from a zero-JavaScript plain HTML `