NisuformDocs

Use an AI coding agent

Let Claude Code, Cursor, v0, Lovable, Bolt or GitHub Copilot add your Nisuform form, with docs written for machines.

Nisuform needs no server code, API routes or environment variables, which makes it a good fit for coding agents. The agent only has to write a form that posts to your endpoint.

To let your assistant also create forms, change settings and read submissions in your account, connect the MCP server.

Copy the prompt from the dashboard

Open your form's Setup tab, choose AI tool and copy the prompt. It already contains your endpoint and your field names, so the agent does not have to guess.

  • With Your design selected, the prompt includes the styled embed from the form builder and asks the agent to add it exactly as it is, as a component if your site needs one.
  • With Your own styles selected, the prompt lists your fields and asks the agent to build the form in your site's own style.

Both prompts point the agent to the docs at https://nisuform.com/llms-full.txt.

Write your own prompt

Any prompt works as long as it names the endpoint and the docs:

Add a contact form to this site that posts to https://api.nisuform.com/s/YOUR_FORM_KEY.
Use the fields name, email and message. Show a success message after sending.
Follow the Nisuform docs at https://nisuform.com/llms-full.txt.

Docs for agents

URLWhat it contains
nisuform.com/llms.txtA short index of Nisuform with a link to every docs page.
nisuform.com/llms-full.txtEvery docs page, pricing and the FAQ in one plain-text file.
https://nisuform.com/docs/<page>.mdAny single docs page as Markdown. Add .md to the page URL, for example /docs/connect/javascript.md.

Every docs page also has a Copy Markdown button. The Open menu next to it shows the page as Markdown or opens it in ChatGPT, Claude or Cursor.

What to check in the agent's code

  • The form posts to your endpoint with POST, and every input has a name.
  • Field names match the names in your form builder, so validation and your inbox labels line up. See Fields and validation.
  • The hidden _gotcha honeypot is kept and stays empty.
  • fetch calls send Accept: application/json and read ok from the response.
  • The form key is used as a plain string. It is public by design, so it does not belong in a secret or an environment variable.