📝 Agent Form

Hosted Forms for AI Agents

Agent creates a form. Human fills it in. Agent gets the data via webhook.

What it does

When an agent needs information from a human, it creates a hosted form with defined fields. The form URL is sent to the human (via email, Slack, etc.). When submitted, the data is posted to your webhook. No frontend code, no form validation, no hosting.

Why agents need this

Get started in 30 seconds

One API call. No SDK. No configuration.

cURL

curl -X POST https://www.agent-utils.com/api/form \
  -H "x-api-key: au_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Shipping Details",
    "fields": [
      {"name": "address", "label": "Shipping Address", "type": "text", "required": true},
      {"name": "priority", "label": "Priority", "type": "select", "options": ["standard", "express"]}
    ],
    "webhookUrl": "https://your-server.com/submitted"
  }'

Python

import requests

resp = requests.post(
    "https://www.agent-utils.com/api/form",
    headers={"x-api-key": "au_your_key"},
    json={
        "title": "Shipping Details",
        "fields": [
            {"name": "address", "label": "Shipping Address", "type": "text", "required": True},
            {"name": "priority", "label": "Priority", "type": "select", "options": ["standard", "express"]},
        ],
        "webhookUrl": "https://your-server.com/submitted",
    },
)
form_url = resp.json()["data"]["url"]
# Send form_url to the human

JavaScript

const res = await fetch("https://www.agent-utils.com/api/form", {
  method: "POST",
  headers: {
    "x-api-key": "au_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    title: "Shipping Details",
    fields: [
      { name: "address", label: "Shipping Address", type: "text", required: true },
      { name: "priority", label: "Priority", type: "select", options: ["standard", "express"] },
    ],
    webhookUrl: "https://your-server.com/submitted",
  }),
});
const { data } = await res.json();
// data.url = "https://www.agent-utils.com/f/abc123"

Use cases

Data collection

Agent asks a human to fill in missing information before proceeding

Configuration forms

Agent generates a setup form for a new integration or service

Feedback collection

Agent sends a form to collect user feedback on its output

Approval with notes

Human approves or rejects an action and adds contextual notes

AgentUtils vs. alternatives

Traditional tools like Typeform API, Jotform API, Formspree require SDK integration, credential management, and infrastructure setup. AgentUtils replaces all of that with a single HTTP call.

AgentUtilsAlternatives
Setup time30 secondsHours to days
SDK requiredNo (REST API)Yes
Credentials to manage1 API keyMultiple keys/tokens
InfrastructureZero-configProvision + configure

Related tools

All AgentUtils tools

Start building for free

500 free API calls per month. No credit card required.