Browse and search developers
Get started
FormitAI developer platform overview
What you can build on FormitAI: the REST API, OAuth apps, MCP server, webhooks and embed SDK.
FormitAI gives developers four ways to work with forms: a REST API for your own code, an MCP server that lets AI clients build and publish forms in a workspace, signed webhooks that push form events to your own HTTPS endpoint, and an embed SDK that puts a published form on your site. This page explains what each surface does, how it authenticates, and what is not available yet, so you can pick the right starting point.
Available today
REST API
The REST API at https://api.formitai.com/v1 lets your own code list, create, edit, publish and delete forms and questions, read and delete responses, and manage webhooks. It authenticates with a workspace API key sent as Authorization: Bearer fmt_live_…, and each key carries scopes such as forms:read or responses:read. Every endpoint is listed in the API reference, which is generated from the same definitions the server uses.
MCP server
The FormitAI MCP server speaks the Model Context Protocol over Streamable HTTP at https://api.formitai.com/api/v1/mcp. MCP clients such as Claude and Cursor connect to it and call tools like list_forms, create_form, create_question, validate_publish and publish_form. The server has no hosted AI of its own: your MCP client's model decides what to build, and FormitAI applies the changes with the same permission and plan checks as the web app. MCP calls never spend FormitAI AI credits.
Clients authenticate with OAuth 2.1 (the user signs in with their FormitAI account and picks a workspace) or with a workspace API key sent as a bearer token. The full list of tools and their input schemas is generated from the server and published in the MCP tool reference.
Webhooks
Workspace webhooks send a signed HTTPS POST to your endpoint when something happens, for example form.submission.created, form.submission.partial, form.published, form.unpublished, form.created and form.deleted. Every delivery carries an X-Formit-Signature header (HMAC-SHA256 over the timestamp and raw body) so your receiver can prove the request came from FormitAI. Deliveries time out after 10 seconds and are attempted up to 5 times. An endpoint is disabled after 10 consecutive failures. You can manage webhooks in the app or with the MCP webhook tools.
Embed SDK
The embed SDK (embed.js) shows a published form on any website in one of six modes: standard, full page, popup, slider, popover or side tab. It can pass hidden fields for attribution and emit events when a respondent submits or closes the form. The embed needs no secret: it only loads public, published forms.
OAuth apps
If your product needs access to other people’s workspaces, register an OAuth app. Users approve it on a FormitAI consent screen and your app receives scoped REST API tokens for the workspace they chose, which they can disconnect at any time.
Which surface should I use?
| Goal | Use | Credential |
|---|---|---|
| Let an AI assistant draft, edit and publish forms | MCP server | OAuth sign-in, or a workspace API key |
| React to submissions in your own backend | Webhooks | Per-endpoint signing secret |
| Show a form on your website or app | Embed SDK | None (published forms only) |
| Read and write forms and responses from your own code | REST API | Workspace API key with scopes |
Quick start
- Sign in to FormitAI and open Dashboard, Settings, API keys & MCP. This page shows the MCP URL and ready-to-copy client configs.
- Connect an MCP client. Paste the MCP URL with no key and let the client sign in with OAuth, or create a workspace API key and send it as a bearer token.
- Ask your client to list the block types and build a form. The build-a-form walkthrough shows the exact tool order.
- Add a webhook endpoint so submissions reach your backend, and verify the signature on every delivery.
Everything you do through these surfaces is scoped to one workspace and limited by the role of the person who connected. A workspace Viewer can read forms over MCP but cannot change them, and only Owners and Admins can publish.
Related
Can't find what you need?