{"uid":"cap_rrQhRMCZzWMoDPf1GyH7C","slug":"agentforms-evmoore-workers-dev-agentforms-embed-script-embed-js-a532cd17","name":"AgentForms Embed Script (embed.js)","description":"","url":"https://agentforms.evmoore.workers.dev/embed.js","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"object"},"example":{"request":{},"response":{"_nonJson":true,"_preview":"\n(function () {\n  var scripts = document.querySelectorAll('script[data-agentforms-form]');\n  scripts.forEach(function (s) {\n    var formId = s.getAttribute('data-agentforms-form');\n    var origin = s.getAttribute('data-agentforms-origin') || (new URL(s.src)).origin;\n    var mode = s.getAttribute('data-agentforms-mode') || 'inline';\n    var height = s.getAttribute('data-agentforms-height') || '640px';\n    var prefill = s.getAttribute('data-agentforms-prefill') || '';\n    if (!formId) return;\n    ","_contentType":"application/javascript; charset=utf-8"}},"exampleRequest":{},"tags":[],"displayCostAmount":"unknown","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unknown_unparsed","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"unknown","summary":"price unknown","primary":{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_nmswtzZ8B1HKZmsyiCUbG","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"unknown","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"agentforms.evmoore.workers.dev","brandSlug":"agentforms-evmoore-workers-dev-mpp","brandBaseUrl":"https://agentforms.evmoore.workers.dev","brandDocsUrl":null,"whatItDoes":"Serves the JavaScript embed snippet that renders a hosted AgentForms form inline on any webpage","exampleAgentPrompt":"Can you grab the embed.js script from AgentForms so I can drop the hosted form widget inline on my webpage?","exampleUseCases":[{"title":"Embed customer feedback form on website","prompt":"I need to put a feedback collection form directly on our homepage without redirecting users. Can you grab the embed.js script from AgentForms so I can drop it in there?"},{"title":"Display lead capture widget inline","prompt":"We're running a campaign landing page and want a sign-up form embedded right in the middle. Can you fetch the AgentForms embed snippet so the form appears inline with our content?"},{"title":"Add support request form to help page","prompt":"Our help section needs an inline form where users can submit support tickets without leaving the page. Can you get the AgentForms embed.js script so I can integrate it?"}],"resultDescription":"Returns a JavaScript file (embed snippet) that, when included in an HTML page, renders the hosted AgentForms form as an inline widget. The script handles form display, submission UX, and communication with the AgentForms backend.","failureModes":["Form ID not found or expired — script may return an error or empty widget","CDN or Cloudflare Worker outage — HTTP 5xx response","Invalid query parameters — script may not initialize correctly","Form has been closed or purged — widget renders with a closed/expired message"],"whenToPreferThis":"Use this endpoint when you need the client-side JavaScript to embed a hosted AgentForms form inline on a webpage, rather than linking directly to the hosted form URL (/f/{id}). Prefer this over the direct form URL when you want the form to appear seamlessly within an existing page layout without a redirect.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:42:34.875Z","isFirstParty":false}