{"uid":"cap_HCSSK5RSGszDk2SJxZDE0","slug":"agentforms-evmoore-workers-dev-create-form-d1cd56aa","name":"AgentForms - Mint Hosted Form","description":"Mint a hosted form (RSVP, rating, intake, feedback). One paid call returns a share URL, embed snippet, QR code, and a polling inbox for submissions. Optional webhook delivers each submission, signed with HMAC-SHA256, to any HTTPS endpoint (Google Apps Script / Sheets, Slack relay, your own API).\n\nField types: text, email, textarea, select, radio, checkbox, number, rating, date, phone, url. Hidden fields hold attribution (e.g. ?invitee=alice URL prefill). Schema supports {{var}} interpolation in labels/help/thank-you, plus optional successRedirectUrl that 302s after submit with payload as querystring.\n\nExample body:\n```json\n{\n  \"title\": \"Hackathon RSVP\",\n  \"schema\": {\n    \"fields\": [\n      {\n        \"name\": \"invitee_id\",\n        \"label\": \"invitee id\",\n        \"type\": \"text\",\n        \"hidden\": true\n      },\n      {\n        \"name\": \"name\",\n        \"label\": \"Your name\",\n        \"type\": \"text\",\n        \"required\": true\n      },\n      {\n        \"name\": \"email\",\n        \"label\": \"Email\",\n        \"type\": \"email\",\n        \"required\": true\n      },\n      {\n        \"name\": \"attending\",\n        \"label\": \"Coming?\",\n        \"type\": \"radio\",\n        \"required\": true,\n        \"options\": [\n          \"Yes, see you there\",\n          \"Maybe\",\n          \"Can't make it\"\n        ]\n      },\n      {\n        \"name\": \"vibe\",\n        \"label\": \"How hyped, 1-5?\",\n        \"type\": \"rating\",\n        \"max\": 5\n      },\n      {\n        \"name\": \"arrive\",\n        \"label\": \"Arrival date\",\n        \"type\": \"date\"\n      },\n      {\n        \"name\": \"phone\",\n        \"label\": \"Phone (optional)\",\n        \"type\": \"phone\"\n      }\n    ],\n    \"submitLabel\": \"Lock it in\",\n    \"thankYouMessage\": \"Got it, {{name}}. See you there 👋\",\n    \"successRedirectUrl\": \"https://example.com/rsvp/done\"\n  },\n  \"notifyUrl\": \"https://script.google.com/macros/s/AKfyc.../exec\",\n  \"expiresInHours\": 168\n}\n```","url":"https://agentforms.evmoore.workers.dev/v1/forms?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object"},"responseSchema":{"type":"object"},"example":{"request":{"title":"Customer Feedback Form","schema":{"fields":[{"name":"full_name","type":"text","label":"Full Name","required":true},{"name":"email_address","type":"email","label":"Email Address","required":true},{"name":"feedback","type":"textarea","label":"Your Feedback","required":false}],"submitLabel":"Submit","thankYouMessage":"Thanks for your feedback, {{full_name}}!"}},"response":{"qrUrl":"https://agentforms.evmoore.workers.dev/v1/forms/68526fce1e4c58e489bc/qr.svg","title":"Customer Feedback Form","usage":{"qrUrl_hint":"QR-encoded shareUrl as SVG. Embed directly or link to it. Free, no token needed.","shareUrl_hint":"Send this URL to humans. They fill the form in a browser; no payment needed from them. Append URL params to prefill: `?invitee=alice` fills field `invitee`, and `{{invitee}}` in question copy is replaced.","notifyUrl_hint":"Pass `notifyUrl` (https only, public host) at create time to receive signed webhook callbacks per submission.","resultsUrl_hint":"Open in a browser to watch submissions live (auto-refreshes every 5s). Token is in the URL — share carefully.","submissionsUrl_hint":"GET with `X-Read-Token: <token>`. Append `?wait=30` to long-poll up to 30s for the next submission. Use `?since=<unix>` for cursor."},"csvUrl":"https://agentforms.evmoore.workers.dev/v1/forms/68526fce1e4c58e489bc/submissions.csv?token=0161c60392acb4f32bed3442ba79449d75e278c9970ade0f05ba16ad1ebad1da","formId":"68526fce1e4c58e489bc","shareUrl":"https://agentforms.evmoore.workers.dev/f/68526fce1e4c58e489bc","expiresAt":1780622946,"notifyUrl":null,"readToken":"0161c60392acb4f32bed3442ba79449d75e278c9970ade0f05ba16ad1ebad1da","resultsUrl":"https://agentforms.evmoore.workers.dev/v1/forms/68526fce1e4c58e489bc/results?token=0161c60392acb4f32bed3442ba79449d75e278c9970ade0f05ba16ad1ebad1da","embedSnippet":"<script src=\"https://agentforms.evmoore.workers.dev/embed.js\" data-agentforms-form=\"68526fce1e4c58e489bc\" data-agentforms-mode=\"inline\" data-agentforms-height=\"640px\"></script>","submissionsUrl":"https://agentforms.evmoore.workers.dev/v1/forms/68526fce1e4c58e489bc/submissions","embedPopupSnippet":"<script src=\"https://agentforms.evmoore.workers.dev/embed.js\" data-agentforms-form=\"68526fce1e4c58e489bc\" data-agentforms-mode=\"popup\" data-agentforms-label=\"Open form\"></script>"}},"exampleRequest":{"title":"Customer Feedback Form","schema":{"fields":[{"name":"full_name","type":"text","label":"Full Name","required":true},{"name":"email_address","type":"email","label":"Email Address","required":true},{"name":"feedback","type":"textarea","label":"Your Feedback","required":false}],"submitLabel":"Submit","thankYouMessage":"Thanks for your feedback, {{full_name}}!"}},"tags":[],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lbnNfZd0nUJ-Jt7FJmJ0y","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"agentforms-create:v1:1"}],"brandName":"agentforms.evmoore.workers.dev","brandSlug":"agentforms-evmoore-workers-dev-mpp","brandBaseUrl":"https://agentforms.evmoore.workers.dev","brandDocsUrl":null,"whatItDoes":"Creates a hosted web form (RSVP, intake, feedback, rating) and returns a share URL, embed snippet, QR code, and submission polling inbox","exampleAgentPrompt":"Create a hosted RSVP form called 'Summer Hackathon 2025' with fields for name (required text), email (required email), attendance as a yes/maybe/no radio, a 1–5 hype rating, and a hidden invitee_id field — send each submission as a signed webhook to https://hooks.example.com/rsvp and redirect to https://example.com/thanks after submit.","exampleUseCases":[{"title":"Event feedback collection with Slack alerts","prompt":"Mint me a feedback form for our conference that captures attendee name, email, overall rating (1–5 stars), and open comments. Wire each submission straight to our Slack channel so the team sees responses in real time."},{"title":"Product signup with attribution tracking","prompt":"Build a hosted form to collect early adopters for our beta — I need email, first name, use case (dropdown), and a hidden campaign_source field so we can track which referral link they came from. After they submit, bounce them to our welcome page."},{"title":"Customer intake with embedded web form","prompt":"Create an intake form for our service team with fields for company name, contact email, phone, problem description, and priority (dropdown). Give me the embed code so I can put it on our website, and poll the inbox every few minutes to grab new submissions."}],"resultDescription":"Returns a JSON object containing a shareable form URL, an HTML embed snippet, a QR code image URL, a unique form ID, and a polling inbox endpoint for retrieving typed submissions. Optional webhook delivers each new submission signed with HMAC-SHA256 to the configured HTTPS endpoint.","failureModes":["Invalid or missing form schema — returns 400 with field validation errors","Payment not included or insufficient — returns 402 payment required","Webhook URL is not a valid HTTPS endpoint — returns 400 validation error","Malformed field type (unsupported type value) — returns 400 with details","Rate limiting or worker overload — returns 503 or 429"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to collect structured responses from humans via a shareable, hosted form without building custom frontend infrastructure. Ideal for event RSVPs, feedback loops, intake flows, and surveys where submissions need to be polled or pushed via webhook to downstream systems like Slack, Google Sheets, or custom APIs. Best when you need attribution tracking via hidden fields or variable interpolation in form labels.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":10,"lastUsedAt":"2026-06-05T18:11:14.354Z","lastSuccessfullyRanAt":"2026-06-05T18:11:14.354Z","lastHealthCheckAt":"2026-10-10T12:33:37.690Z","isFirstParty":false,"canonicalSlug":"agentforms-evmoore-workers-dev-create-form-d1cd56aa"}