Skip to content
v1
Get an API key

Two paths. Send data in from your own code with the REST API, or connect an AI client such as Claude to the MCP server.

1. Turn on the REST API and get an API key

Section titled “1. Turn on the REST API and get an API key”

A workspace admin opens Integrations, then Workspace integrations, then MCP & API in Funnel One.

  1. Under Workspace switches on the Overview, turn on REST API. It is off for every workspace until an admin turns it on; until then every call answers 403 api_disabled.
  2. Open API keys and choose + Add key. Keep the Leads write box ticked (it is on by default); this is the leads.manage scope. The key is shown once. Copy it into your secret store.
Terminal window
curl -X POST https://app.funnelone.ai/api/v1/leads \
-H "Authorization: Bearer $F1_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: signup-8f2c1a" \
-d '{"email":"sam@example.com","first_name":"Sam","last_name":"Rivera","company":{"domain":"example.com","name":"Example"}}'

A new lead answers 201 with lead_id, status, and the company_id and contact_id it was matched to when Funnel One could match it. Sending the same Idempotency-Key again within 24 hours returns the first answer, and after that answers 409 duplicate_request, so a retry never creates a second lead. See the REST overview for every field and Errors for what can go wrong.

A workspace admin first turns on MCP server under Workspace switches in Integrations, then Workspace integrations, then MCP & API. It is off by default.

The fastest way: let your AI agent do it.

Set it up with your AI agentPaste this into Claude Code, Codex, Cursor or any AI coding agent. It connects the agent's own app to Funnel One. You sign in yourself; the agent never sees a password or key.Fetch and follow the instructions to connect me to Funnel One from https://dev.funnelone.ai/agent-setup/prompt.md

Or do it yourself. In Claude Code:

Terminal window
claude mcp add --transport http funnelone https://app.funnelone.ai/mcp

Then type /mcp in Claude Code, pick funnelone and sign in to Funnel One in the browser. Every other client, step by step: Connect a client.