Contact form template: name, email, topic, message

Updated 2026-10-30

The shortest form most sites need. It asks for a name, email, topic and message, plus an optional phone number.

Make it with my AI

Paste this into your AI. It needs the creator MCP.

text
Create a form with AI Form API called "Contact us".
Description: Send us a message and we will reply as soon as we can.
Fields:
- full_name: short_text, required, "Your name"
- email: email, required
- topic: single_choice, required, options General question, Support, Sales, Press, Other
- message: long_text, required, max 3000 characters
- phone: phone, optional
Turn agent_fill on and notify_email on, then give me the public link and the embed code.

Tips

Questions

Can I put this contact form on my website?

Yes. Add the embed script tag, or just link to the public form page.

How do I get an email when someone writes?

Turn on the notify_email setting. It is off by default. Or add a webhook.

Will the sender get a reply from AI Form API?

No. We store the message. You reply from your own email.

Try the form

Live demo ยท nothing is saved

Contact us

Send us a message and we will reply as soon as we can.

What is this about? (required)

Optional. Add it if you prefer a call.

Or paste the JSON

Give this to your AI. It needs the AI Form API MCP server or an API key. It makes the form and sends you the link.

text
Create this form with the AI Form API create_form tool (or POST https://aiformapi.com/v1/forms with my API key). Then reply with the public_url.

{
  "title": "Contact us",
  "description": "Send us a message and we will reply as soon as we can.",
  "fields": [
    {
      "id": "full_name",
      "label": "Your name",
      "type": "short_text",
      "required": true,
      "max_length": 120
    },
    {
      "id": "email",
      "label": "Email",
      "type": "email",
      "required": true
    },
    {
      "id": "topic",
      "label": "What is this about?",
      "type": "single_choice",
      "required": true,
      "options": [
        "General question",
        "Support",
        "Sales",
        "Press",
        "Other"
      ]
    },
    {
      "id": "message",
      "label": "Your message",
      "type": "long_text",
      "required": true,
      "max_length": 3000
    },
    {
      "id": "phone",
      "label": "Phone",
      "type": "phone",
      "help": "Optional. Add it if you prefer a call."
    }
  ]
}

Or call the API

bash
curl -X POST https://aiformapi.com/v1/forms \
  -H "Authorization: Bearer $AIFORMAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Contact us","description":"Send us a message and we will reply as soon as we can.","fields":[{"id":"full_name","label":"Your name","type":"short_text","required":true,"max_length":120},{"id":"email","label":"Email","type":"email","required":true},{"id":"topic","label":"What is this about?","type":"single_choice","required":true,"options":["General question","Support","Sales","Press","Other"]},{"id":"message","label":"Your message","type":"long_text","required":true,"max_length":3000},{"id":"phone","label":"Phone","type":"phone","help":"Optional. Add it if you prefer a call."}]}'

JSON definition

json
{
  "title": "Contact us",
  "description": "Send us a message and we will reply as soon as we can.",
  "fields": [
    {
      "id": "full_name",
      "label": "Your name",
      "type": "short_text",
      "required": true,
      "max_length": 120
    },
    {
      "id": "email",
      "label": "Email",
      "type": "email",
      "required": true
    },
    {
      "id": "topic",
      "label": "What is this about?",
      "type": "single_choice",
      "required": true,
      "options": [
        "General question",
        "Support",
        "Sales",
        "Press",
        "Other"
      ]
    },
    {
      "id": "message",
      "label": "Your message",
      "type": "long_text",
      "required": true,
      "max_length": 3000
    },
    {
      "id": "phone",
      "label": "Phone",
      "type": "phone",
      "help": "Optional. Add it if you prefer a call."
    }
  ]
}