API keys
Create an API key, choose its Scopes and Sites, use it with the MCP server and revoke it. Covers what a key can and cannot do.
An API key lets software act as you. Use one when a script or an MCP client cannot sign in through a browser. The key can do only what its Scopes and Sites allow, and never more than your own role.
An API key authenticates to one thing: the MCP server at https://app.insaneforms.com/mcp. It does not work on the form endpoint, which needs no credentials, and it cannot download Files. See MCP for the tools it can call.
Create an API key
- Open Account settings and choose the API keys tab.
- Choose Create key.
- Enter a name, up to 100 characters. Use the name of the software that will hold the key, so you can find it later.
- Choose one or both Scopes:
- Submissions: read and triage Submissions.
- Manage: set up Sites, Forms and Destinations, and read the Activity log.
- Choose the Sites. All your Sites is the default. To limit the key, switch to specific Sites and pick at least one.
- Choose Create key.
The dialog then shows the key once, and an MCP client configuration with the key in it. Copy it now. Insane Forms stores only a hash of the key, so it cannot show it again. If you lose a key, revoke it and create another.
A key starts with ifk_. The API keys list shows the first 8 characters of each key, its name, Scopes, Sites, when it was last used and when it was created. The last-used time updates at most once a minute.
Scopes
A Scope sets the kind of work a key can do. Choose the fewest it needs.
| Scope | Allows |
|---|---|
| Submissions | List and count Submissions, read one, mark Submissions read or unread, move them between Inbox, Spam and Trash, and delete them from Trash. |
| Manage | Create, read, change and delete Sites and Forms. Add Destinations, switch them off and remove them. Read and re-send Deliveries. Set up Studio connections. Read the Activity log. |
Manage does not include reading Submissions. A key that needs both gets both Scopes.
Limit a key to Sites
With All your Sites, the key reaches every Site you can open, now and later. With chosen Sites, it reaches only those. A Site-limited key cannot create a Site, because a new Site is not one of the chosen ones.
If a Site is deleted, it leaves the key. A key left with no Sites is revoked.
What a key can reach
The key carries your access. Each call is checked against your current role at the time of the call, so a change to your role applies to existing keys at once.
- As an Owner or a Developer, a key with the right Scope reaches every Site in your Workspaces, or the chosen ones.
- As a Maintainer, a key can use the Submissions Scope on the Sites you were given. The Manage tools return an error.
What a key cannot do
These need you signed in to the app:
- Enable a Destination. A Recipient or webhook added through a key starts switched off, and you enable it in the app.
- Change your profile, password or two-factor settings.
- Invite or remove members, or change roles.
- Create or revoke API keys.
- Change Workspace settings or delete a Workspace.
- Reveal or rotate a webhook signing secret.
- Download Files, restore a deleted Site or Form, or export Submissions.
- See the content of a Submission inside a Delivery's details. Delivery lists and details through a key leave out field values and error text.
Each change a key makes is recorded in the Activity log with the key's name as the means.
Use a key
Send the key in an Authorization header to the MCP server. This configuration works in MCP clients that accept a bearer header:
{
"mcpServers": {
"insane-forms": {
"type": "http",
"url": "https://app.insaneforms.com/mcp",
"headers": { "Authorization": "Bearer <your-api-key>" }
}
}
}A request with a missing, malformed or revoked key gets 401. A key also stops working when its owner is suspended.
Revoke a key
- Open Account settings and choose the API keys tab.
- Open the menu on the key's row and choose Revoke key.
- Confirm.
Anything using the key stops working right away. A revoked key cannot be restored. The key leaves the list.
Keys and MCP clients
The API keys tab has a second list, MCP clients. Those are apps you allowed through a browser sign-in, not keys. You disconnect them there. See MCP.