AgentForms lets any AI agent collect structured data from humans — approvals, details, feedback — with one API call. No frontend to build. Just a form link in, JSON out.
1import requests # no SDK needed — just plain HTTP 2 3resp = requests.post( 4 "https://api.agentforms.dev/v1/forms", 5 headers={"Authorization": "Bearer af_live_xxxxx"}, 6 json={ 7 "title": "Confirm your shipping details", 8 "fields": [ 9 {"type": "text", "key": "name", "label": "Full name", "required": true}, 10 {"type": "select", "key": "size", "label": "T-shirt size", "options": ["S","M","L","XL"]} 11 ] 12 } 13) 14 15form_url = resp.json()["url"] # → send this to a human
1curl -X POST https://api.agentforms.dev/v1/forms \ 2 -H "Authorization: Bearer af_live_xxxxx" \ 3 -H "Content-Type: application/json" \ 4 -d '{ 5 "title": "Confirm your shipping details", 6 "fields": [ 7 {"type": "text", "key": "name", "label": "Full name", "required": true}, 8 {"type": "select", "key": "size", "label": "T-shirt size", "options": ["S","M","L","XL"]} 9 ] 10 }'
1{ 2 "id": "frm_01JxAbC3dE", 3 "url": "https://agentforms.dev/f/frm_01JxAbC3dE", 4 "status": "active", 5 "expires_at": "2026-03-14T07:00:00Z" 6} 7 8// Send the URL to a human. Poll GET /forms/{id}/responses or use a webhook.
Your agent does the work. Humans just fill in the blanks.
Your agent defines the form via API. Fields, validation, expiry — all in one call.
Pass the form link back through your chat UI, or have your agent trigger an email, Slack, or SMS. Wherever the human is, the link works.
Get structured JSON via webhook. Signed, verified, ready to process.
Everything you need to collect human input programmatically.
Every feature accessible via REST API. No UI to click through, no manual steps. Your agent talks JSON, we talk JSON back.
Text, email, select, multi-select, number, date, textarea, checkbox. More coming.
HMAC-SHA256 signed payloads delivered to your endpoint. Auto-retry with exponential backoff.
Built-in MCP server. Your agent creates forms as naturally as sending a message. No glue code required.
No SDK needed. One HTTP call from Python, Node, Go, Rust — anything that speaks JSON.
SSL everywhere, HMAC-signed webhooks, auto-expiring form links, and API key authentication out of the box.
Structured, signed, and ready to process. No parsing headaches.
1{ 2 "event": "form.completed", 3 "form_id": "frm_01JxAbC3dE", 4 "form_title": "Confirm your shipping details", 5 "submitted_at": "2025-03-04T14:22:33Z", 6 "data": { 7 "full_name": "Maria Rossi", 8 "size": "L", 9 "email": "[email protected]", 10 "confirm": true 11 }, 12 "metadata": { 13 "submitted_via": "web", 14 "duration_seconds": 47 15 } 16}
"data" — Your structured response, exactly as defined in the form schema.
"metadata" — Submission context included automatically. Channel, time spent, and more.
AgentForms is a simple API. Use it from any agent framework, automation platform, or AI assistant to collect structured human input.
Let your local AI assistant ask humans for structured input via forms — approvals, preferences, third-party data.
Add a human-in-the-loop step to any n8n workflow. Create a form via HTTP node, wait for the response.
Give your crew a tool to pause and collect input from humans or external stakeholders mid-task.
Trigger form creation from any Make scenario. Collect structured responses and route them to the next module.
Wherever your agent needs a human, AgentForms handles the handoff.
Your agent collects customer info during onboarding — name, preferences, requirements — without building custom forms.
Agent needs a manager's sign-off? Create a form, send the link, get a structured yes/no with comments.
Surveys, feedback forms, expense reports — your agent handles the logistics, humans provide the input.
One agent creates the form, a human fills it, another agent picks up the response and continues the workflow.
No credit card required. Upgrade or cancel anytime.
All plans include: SSL, HMAC-signed webhooks, auto-expiry, and full API access.
Start building in minutes. No credit card, no sales calls.