Quickstart
Get from zero to your first submission in under 2 minutes.
-
Sign up at usepostbox.com - a “Try Me” form is created automatically.
-
Find your endpoint in the dashboard. It looks like:
https://usepostbox.com/api/.../f/{slug} -
Send a submission (see examples below)
-
Check your dashboard - the submission appears in real-time with spam analysis, language detection, and more.
Send a submission
Section titled “Send a submission”curl -X POST https://usepostbox.com/api/.../f/{slug} \ -H "Content-Type: application/json" \ -d '{"name": "Ada Lovelace", "email": "ada@example.com", "message": "Hello from the command line"}'const response = await fetch( "https://usepostbox.com/api/.../f/{slug}", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ name: "Ada Lovelace", email: "ada@example.com", message: "Hello from JavaScript", }), });What just happened?
Section titled “What just happened?”When you POSTed data to your endpoint, Postbox:
- Accepted and stored the submission
- Ran spam detection (heuristic by default, AI-powered if enabled)
- Made it available in your dashboard instantly via WebSocket
Next steps
Section titled “Next steps”- Set up authentication to use the management API
- Create a custom form with your own schema
- Explore the API for programmatic access