# The agent Source: https://docs.manypi.com/agent/chat Chat with an agent that browses, scrapes, analyses and acts on your workspace. The chat at the centre of the dashboard is a full agent, not a chatbot. It browses the live web, runs your scrapers, reads spreadsheets, queries your connected databases, saves leads, and asks you questions when it is unsure. ## Runs Every message that requires work becomes a **run**: ``` queued → planning → running → completed ↘ paused (waiting on you) ↘ failed / cancelled ``` While a run is going you see its steps stream live. When it finishes you get a result summary plus any **artifacts** — CSV files, datasets, documents — which stay downloadable from the run. Over the API, runs are [`POST /api/agents/runs`](/api-reference/agent/create-run) and [`GET /api/agents/runs/{id}`](/api-reference/agent/get-run). ## It asks questions When your instruction is ambiguous, the agent **pauses and asks** instead of guessing. That is a feature: a lead search that guesses wrongly about your ICP spends real credits producing the wrong list. In the dashboard, answer in the chat. Headlessly: **1. Poll the run** `GET /api/agents/runs/{id}` returns `status: "paused"` and the question in `result_summary`. **2. Answer it** `POST /api/agents/runs/{id}/reply` with `{ "message": "…" }` resumes the **same** run mid-thought — no new run, no lost context. Replying to a run that has already finished starts a follow-up run in the same conversation, inheriting its context and playbook. So *"find 25 more like those"* keeps saving leads rather than starting from nothing. Pass `"interrupt": true` to stop a still-working run and immediately start a new one with your message. ## Cancelling [`POST /api/agents/runs/{id}/cancel`](/api-reference/agent/cancel-run) stops a run right away. Cancellation is authoritative, not advisory — the run is marked cancelled immediately, so a wedged executor cannot keep it "running" forever and occupying one of your parallel-run slots. ## What the agent can do | Capability | Notes | | - | - | | Search and browse the web | Costs crawl credits per page. | | Run your saved scrapers | Structured, schema-validated extraction. | | Find and enrich leads | The `lead_generation` playbook — see [Finding leads](/leads/finding-leads). | | Analyse spreadsheets and files | Upload them or point at Vault artifacts. | | Query connected databases | Read-only Postgres, MySQL or BigQuery — see [Data](/agent/data). | | Build charts | The visualization Studio (Pro and Business). | | Call your MCP connectors | Third-party MCP servers you have connected. | ## Playbooks and sources A run can be pointed at specific inputs and behaviours: | Field | Meaning | | - | - | | `goal` | What you want, in plain language. | | `playbook` | A named behaviour, e.g. `lead_generation`. | | `sources` | Files, scraper runs or URLs to ground the run in. | | `output_schema` | A JSON schema the result must conform to. | | `max_steps` / `max_pages` | Budget guards for a long run. | ## Conversations, folders and brands Runs hang off **conversations**, which are scoped to your workspace and narrowed to the brand you are working in. `?brand=all` widens a listing to every brand in the workspace — useful for agencies — but never past the workspace. Organise conversations into **folders** from the sidebar. ## Parallel runs | Plan | Runs at once | | - | - | | Free | 1 | | Starter | 2 | | Pro | 5 | | Business | 10 | Pro and Business also get the full-size model with configurable reasoning effort; lower tiers run on the lighter models. > [card] [Skills](/agent/skills) > > Save an instruction set as a reusable, selectable playbook. # Data, Vault and Studio Source: https://docs.manypi.com/agent/data Where the agent's outputs live, and how to point it at your own data. ## Vault Every artifact a run produces — extracted datasets, CSVs, generated files — lands in the **Vault**. Artifacts stay linked to the run that made them, so you can always trace a number back to the job that produced it. Download them from the dashboard, or over the API: a run's detail response includes each artifact with a signed `download_url` valid for one hour. ```bash theme={null} curl https://app.manypi.com/api/agents/runs/{id} \ -H "Authorization: Bearer mpi_your_api_key" ``` ```json theme={null} { "id": "…", "status": "completed", "result_summary": "Extracted 412 rows across 9 pages.", "artifacts": [ { "name": "results.csv", "mime_type": "text/csv", "row_count": 412, "download_url": "https://…" } ] } ``` ## Connections > [!NOTE] > > Beta. Connect your own database and the agent can query it as part of a run — join your CRM data against freshly scraped leads, check which prospects are already customers, or analyse a table in plain language. Supported: **PostgreSQL**, **MySQL**, **BigQuery**. ```bash theme={null} curl -X POST https://app.manypi.com/api/connections \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "name": "Analytics replica", "type": "postgres", "config": { "host": "db.example.com", "port": 5432, "database": "analytics", "username": "readonly", "ssl": true }, "secret": "…" }' ``` Security specifics worth knowing: * The credential goes straight into an encrypted vault. It is **never** returned by the API — listing connections returns configuration and status only. * Queries run from a worker with a **static egress IP**, so you can allowlist it on your side. * ManyPI records whether the connection has been verified read-only. Give it a read-only user; there is no reason for it to have anything more. Test a connection any time with `POST /api/connections/{id}/test`. ## MCP connectors Connect third-party MCP servers to your workspace and their tools become available to the ManyPI agent inside a run. Credentials are encrypted on the way in and never returned. Manage them in **Settings → Integrations**, or at `/api/mcp-connectors`. ManyPI ships a catalogue of presets for common servers, and OAuth-based servers are authorised through a browser handshake. > [!NOTE] > > This is the *inbound* direction: other people's tools inside ManyPI. For the > outbound direction — ManyPI's tools inside Claude, Cursor or ChatGPT — see the > [MCP server](/mcp/introduction) tab. ## Studio > [!NOTE] > > Pro and Business plans. The visualization Studio turns a dataset — a scraper run, an artifact, a database query result — into charts you can save, share by link, and embed. Charts also render inline in chat when the agent decides a picture is clearer than a table. # Skills Source: https://docs.manypi.com/agent/skills Reusable instruction sets you can select in chat. A **skill** is a saved playbook: a title, a description and a block of instructions that gets injected into the agent's system prompt for that run. Use one whenever you find yourself pasting the same paragraph of context into chat repeatedly — *"always check the company's careers page"*, *"score every lead 1–10 against our ICP and explain why"*, *"format findings as a table with these columns"*. ## Premade and custom ManyPI ships a set of system skills. On top of those you can create your own, which are private to your workspace. ```bash Create a skill theme={null} curl -X POST https://app.manypi.com/api/skills \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "title": "Company research", "description": "Deep-dive a single company before a sales call", "emoji": "🔍", "system_prompt": "For the company given, research: what they sell, who their customers are, recent funding or hiring news, the tech on their site, and the two people most likely to own the buying decision. Present it as a one-page brief with sources." }' ``` List them with [`GET /api/skills`](/api-reference/agent/list-skills) — the response includes both the premade skills and your own. ## What a skill can and cannot change A skill shapes **behaviour**: what to look for, how to judge it, how to present it, what to never do. A skill cannot widen the agent's **access**. Custom skills are always created with the safe tool defaults, so instructions can direct the agent but never grant it capabilities your plan or your workspace does not already have. ## Writing a good skill > [accordion] Be specific about the output > > "Return a markdown table with columns Company, Fit score, Why, Source URL" > beats "summarise the findings" every time. > [accordion] State the disqualifiers > > Telling the agent what makes something *not* a match is usually more > valuable than describing what does. > [accordion] Demand sources > > "Cite the URL you found each fact on" turns a plausible answer into a > checkable one. > [accordion] Keep it one job > > A skill that researches companies *and* writes emails *and* scores leads > does all three worse than three separate skills. # Workflows Source: https://docs.manypi.com/agent/workflows Chain steps together and run them on a schedule or a webhook. > [!NOTE] > > Saving and running workflows requires a paid plan. Free workspaces can build one in the editor but must upgrade to save or run it. A **workflow** turns a repeated sequence of actions into something that runs without you: scrape a source, filter the results, enrich them, save leads, enroll into a campaign, post to a webhook. Build them in **Data → Workflows**. ## Triggers | Trigger | Available on | Behaviour | | - | - | - | | Manual | All paid plans | You press Run. | | Schedule | Pro, Business | Cron-style recurrence. | | Inbound webhook | Pro, Business | An external system POSTs to a unique URL and the workflow runs with that payload. | ## Limits | Plan | Active workflows | Advanced triggers | | - | - | - | | Free | 1 (build only) | — | | Starter | 3 | — | | Pro | 20 | ✓ | | Business | Unlimited | ✓ | ## Running one over the API ```bash theme={null} curl -X POST https://app.manypi.com/api/workflows/{id}/run \ -H "Authorization: Bearer mpi_your_api_key" ``` Execution history is at `GET /api/workflow-executions`, including per-step status and output for debugging a run that did not do what you expected. ## Inbound webhooks Each webhook-triggered workflow gets its own URL. POST JSON to it and the payload is available to the workflow's steps — that is how you wire ManyPI into a CRM, a form, or another automation tool. ## Outbound webhooks Separately, [webhooks](/integrations/webhooks) notify your own systems when something happens in ManyPI, such as a reply, a booked meeting, a won deal or a finished run, so you do not have to poll. Workflow event triggers and webhooks hear the same events. > [card] [Integrations](/integrations/overview) > > Calendars, CRMs, team chat, automation tools and webhooks. # Validate a key / get account info Source: https://docs.manypi.com/api-reference/account/get-user GET /api/user The cheapest way to confirm a key works. Returns the owning user, the workspace and brand these credentials act in (where imported leads land) and, for an API key, its permissions and rate limit. Accepts an API key or an OAuth access token. # Cancel an agent run Source: https://docs.manypi.com/api-reference/agent/cancel-run POST /api/agents/runs/{id}/cancel Stop a run immediately. Cancellation is authoritative rather than advisory — a `queued`, `planning` or `running` run is marked `cancelled` at once, so a wedged executor cannot keep it "running" and occupying one of your parallel-run slots. A `paused` run is cancelled through its cancel flag. Runs that already finished (`completed`, `failed`, `cancelled`) are left as they are. The response is `{ "ok": true }` in every case, including for an id that matches no run — read the run with `GET /api/agents/runs/{id}` to see its status. Requires the `agents` permission. # Create an agent run Source: https://docs.manypi.com/api-reference/agent/create-run POST /api/agents/runs Start an agent run on a natural-language goal. Asynchronous — poll `GET /api/agents/runs/{id}` for status and results. A run that hits an ambiguity **pauses** and asks a question rather than guessing; read it from `result_summary` and answer with `POST /api/agents/runs/{id}/reply` to resume the same run. Requires the `agents` permission. # Create a skill Source: https://docs.manypi.com/api-reference/agent/create-skill POST /api/skills Create a custom skill — a reusable instruction set injected into the agent's system prompt for a run. Instructions shape behaviour but never widen tool access: custom skills are always created with the safe defaults. Requires the `write` permission. # Delete an agent run Source: https://docs.manypi.com/api-reference/agent/delete-run DELETE /api/agents/runs/{id} Delete a run along with its events and artifacts. The response is `{ "ok": true }` whether or not a run with that id existed. To confirm it was there, fetch it first with `GET /api/agents/runs/{id}`. Requires the `write` permission. # Get an agent run Source: https://docs.manypi.com/api-reference/agent/get-run GET /api/agents/runs/{id} Full status for one run, plus its artifacts with signed download URLs valid for one hour. When `status` is `paused`, the agent's question is in `result_summary`. Requires the `read` permission. # List agent runs Source: https://docs.manypi.com/api-reference/agent/list-runs GET /api/agents/runs Your recent runs, newest first, narrowed to the workspace and brand you are working in. Requires the `read` permission. # List skills Source: https://docs.manypi.com/api-reference/agent/list-skills GET /api/skills Skills available to the caller: ManyPI's premade ones plus the workspace's own. Requires the `read` permission. # Reply to an agent run Source: https://docs.manypi.com/api-reference/agent/reply-to-run POST /api/agents/runs/{id}/reply Deliver a message into a run. - **Paused run** — the reply is submitted as the answer to the agent's pending question and the *same* run continues mid-thought. - **Finished run** (`completed` / `failed` / `cancelled`) — a follow-up run starts in the same conversation, inheriting its context and playbook, so "find 25 more like those" keeps saving leads. - **Still working** — `409`, unless you pass `interrupt: true`, which cancels it and starts a new run with your message. Requires the `agents` permission. # Create an API endpoint Source: https://docs.manypi.com/api-reference/endpoints/create-endpoint POST /api/endpoints Publish a scraper as a typed REST endpoint at `https://app.manypi.com/v1/e/{slug}`. Slugs are unique per account and resolve within the key owner's endpoints, so your slug namespace is your own. Requires the `write` permission. # Delete an endpoint Source: https://docs.manypi.com/api-reference/endpoints/delete-endpoint DELETE /api/endpoints/{id} Delete an endpoint permanently. Its URL stops answering at once. The response is `{ "ok": true }` whether or not an endpoint with that id existed. Requires the `write` permission. # Get an endpoint Source: https://docs.manypi.com/api-reference/endpoints/get-endpoint GET /api/endpoints/{id} One endpoint's settings and its 50 most recent invocations. Requires the `read` permission. # Get an endpoint result Source: https://docs.manypi.com/api-reference/endpoints/get-endpoint-result GET /v1/e/{slug}/results/{runId} Collect the result of a call that returned `202` — an `async` endpoint, or a sync one that ran past the inline budget. Returns `202` again while the run is still going. Requires the `endpoints:invoke` permission. # Invoke an endpoint Source: https://docs.manypi.com/api-reference/endpoints/invoke-endpoint GET /v1/e/{slug} Call one of your published endpoints, passing its parameters in the query string. Query values arrive as strings and are converted to the types the endpoint's `param_schema` declares. To send typed values or nested objects, use `POST` with a JSON body instead — it works whatever method the endpoint was created with. How a call resolves: a fresh cached result is returned immediately (no crawl credits spent; `X-ManyPI-Cache: hit`); otherwise the scrape runs inline, up to a ~110 second budget; if it exceeds that — or the endpoint is `async` — you get `202` with a run id to poll at `GET /v1/e/{slug}/results/{runId}`. Requires the `endpoints:invoke` permission. # Invoke an endpoint with a JSON body Source: https://docs.manypi.com/api-reference/endpoints/invoke-endpoint-post POST /v1/e/{slug} Call one of your published endpoints with its parameters as a JSON object. Values keep their JSON types, so numbers, booleans and nested objects arrive as sent. Works for every endpoint, whichever method it was created with. Resolves exactly like `GET`: a fresh cached result immediately, otherwise the scrape runs inline for up to ~110 seconds, then `202` with a run id. Requires the `endpoints:invoke` permission. # List API endpoints Source: https://docs.manypi.com/api-reference/endpoints/list-endpoints GET /api/endpoints Your published endpoints and the scrapers backing them. Requires the `read` permission. # Update an endpoint Source: https://docs.manypi.com/api-reference/endpoints/update-endpoint PATCH /api/endpoints/{id} Change an endpoint's settings, or take it offline with `is_active: false`. The slug and the backing scraper cannot be changed — create a new endpoint for that. Requires the `write` permission. # Advance an import Source: https://docs.manypi.com/api-reference/imports/advance-import POST /api/integrations/migrations/{id}/advance Run the next slice of a running import, about 15 seconds of work, and return where it stands. Call it in a loop until `job.status` is `done`, `failed` or `cancelled`. `worked: false` means another slice held the import at that moment (the scheduler, or a second caller), the other tool asked for a pause, or the import has finished. Nothing is lost; ask again a few seconds later. Every slice is safe to repeat. Leads dedupe on the same identity the CSV import uses, do-not-contact entries skip what is already listed, and queued leads and campaigns are never created twice. Requires the `write` permission. # Cancel an import Source: https://docs.manypi.com/api-reference/imports/cancel-import DELETE /api/integrations/migrations/{id} Stop an import that has not finished and erase its stored key. What already came over stays: leads, draft campaigns and do-not-contact entries are not removed. A cancelled import cannot be resumed; scan again to start a new one. An import that already finished is returned unchanged. Requires the `write` permission. # Get an import Source: https://docs.manypi.com/api-reference/imports/get-import GET /api/integrations/migrations/{id} One import: its status, scan, progress and, once finished, its result. Poll this while it runs. Requires the `read` permission. # List imports Source: https://docs.manypi.com/api-reference/imports/list-imports GET /api/integrations/migrations The workspace's 20 most recent imports, newest first. Works while the workspace is locked for billing, so a finished import can still be read. Requires the `read` permission. # Scan another tool Source: https://docs.manypi.com/api-reference/imports/scan-import POST /api/integrations/migrations Check a key for another outreach tool and scan that account, before anything is imported. Opens an import in status `scanned` that holds the scan; `POST /api/integrations/migrations/{id}` starts it. Supported tools and the credentials each takes: | `provider` | `credentials` | | --- | --- | | `instantly` | `api_key` (an API V2 key) | | `smartlead` | `api_key` | | `lemlist` | `api_key` | | `apollo` | `api_key` (a master key, for sequences to come over) | | `snovio` | `client_id`, `client_secret` | | `saleshandy` | `api_key` | Only the fields a tool takes are kept. The key is stored encrypted on the import and erased when the import finishes or is cancelled. It is never returned. To import contacts from a CRM or support tool already connected under **Integrations** (HubSpot, Pipedrive, Attio, Close, Zendesk, Intercom, Freshdesk), send `connection_id` instead. The connection's stored credentials are used and nothing is pasted. Requires the `write` permission. # Start an import Source: https://docs.manypi.com/api-reference/imports/start-import POST /api/integrations/migrations/{id} Say what to bring and start. The order is fixed: the do-not-contact list first, so nothing that arrives later is queued before its opt-out is known; then the chosen campaigns, recreated as **draft** campaigns with their email steps; then their leads, with custom variables as lead fields. Nothing is sent. The campaigns stay drafts with no inbox until you launch them in ManyPI. With `enrollNotContacted`, leads the old tool never emailed are queued in their new campaign, so the sequence carries on once it is launched. Leads that replied, bounced or unsubscribed are never queued. The first slice runs inside this request, so the response already shows progress. After that the import runs in slices: call `POST /api/integrations/migrations/{id}/advance` until `status` is `done`. An import nobody advances is picked up by ManyPI's scheduler, a few seconds every five minutes, so it finishes either way. Only campaign ids the scan found are used; others are dropped. Calling this on an import that is not `scanned` returns it unchanged. At most 100,000 leads per import, and the plan's lead allowance applies (leads over it are counted in `overLimit`). Custom fields need the Starter plan and queuing leads needs a paid plan; without them the import still runs and says what stayed behind in `warnings`. Requires the `write` permission. # Introduction Source: https://docs.manypi.com/api-reference/introduction The REST API behind ManyPI — leads, validation, outreach, agents and scraping. Everything the ManyPI dashboard does is available over REST. Same endpoints, same permissions, same credit accounting. ## Base URL ``` https://app.manypi.com ``` Published API endpoints live under the same host, on the `/v1/e/` path. ## Authentication Send a ManyPI API key as a bearer token on every request: ```bash theme={null} curl https://app.manypi.com/api/user \ -H "Authorization: Bearer mpi_your_api_key" ``` Create keys under **API Access** in the profile menu. That `/api/user` call is the cheapest way to confirm a key works — it returns the owning account, the key's permissions and its rate limit. OAuth 2.1 access tokens are accepted anywhere a key is, and resolve to the same user. They are how [MCP clients](/mcp/authentication) connect without a key. > [!WARNING] > > Keys are secrets. Keep them server-side, one per integration, and scoped to > the least they need. Never ship one in frontend JavaScript or commit one to a > repository. ## Permissions Keys carry only the permissions you grant them. A call outside a key's permissions is rejected exactly as an invalid key would be. | Permission | Grants | | - | - | | `read` | View scrapers, runs, results, leads and usage. | | `write` | Create, update and delete scrapers, endpoints, folders and saved leads. | | `scraper` | Start scrape runs. **Spends crawl credits.** | | `agents` | Start agent runs, reply to them, cancel them. **Spends credits.** | | `endpoints:invoke` | Call your published endpoints at `/v1/e/…`. | | `leads:validate` | Verify lead email addresses. **Spends validation credits.** | | `outreach:send` | Send email from your inboxes and enroll leads. | | `*` | Full access. | Each endpoint below states which permission it needs. > [card] [API keys and permissions](/platform/api-keys) > > Rotation, revocation, and the full route-to-permission mapping. ## Rate limits **60 requests per minute** per active key. OAuth tokens get the same. Exceeding the limit returns `429`; the window is one minute, so back off and retry. How many keys you can keep active in parallel depends on your plan. Revoked keys stop counting toward that limit. ## Responses All responses are JSON. Successful calls return `200`, except: | Code | When | | - | - | | `201` | A resource was created. | | `202` | Work was accepted and is running asynchronously. Poll for the result. | ## Errors Errors carry a human-readable `error`, and — where you might want to branch on it — a machine-readable `code`. ```json theme={null} { "error": "Your workspace is storing all 2,500 leads your plan holds.", "code": "lead_limit", "used": 2500, "limit": 2500 } ``` | Status | Meaning | | - | - | | `400` | The body or parameters failed validation. The message says which field. | | `401` | Missing, invalid or expired credential — or a key lacking the required permission. | | `402` | Out of credits, with overage off. | | `403` | A plan gate, a seat limit, or a permission the key does not hold. | | `404` | No such resource in this workspace. | | `409` | A conflict — a slug already in use, or a run that is still working. | | `429` | Rate limited. | | `5xx` | Something broke on our side. Retry with backoff. | ### Codes worth handling | Code | Meaning | What to do | | - | - | - | | `lead_limit` | Lead storage is full. | Archive leads, or upgrade. | | `outreach_locked` | Sending requires a paid plan. | Upgrade. | | `validation_credits_exhausted` | Out of validation credits. | Buy credits or enable overage. | ## Asynchronous work Anything that browses the web is asynchronous. The pattern is always the same: **1. Start it** `POST` returns a run id immediately — `run_id` for agent work, `runId` for scrapes. **2. Poll it** `GET` the run until its status is terminal. **3. Handle a pause** An agent run may reach `paused`, meaning it has a question for you. Read it from `result_summary` and answer with `POST /api/agents/runs/{id}/reply` — the same run resumes. Prefer not to poll? Add a [webhook](/integrations/webhooks) for `agent_run.completed` and ManyPI posts to your server when the run ends. ## Workspaces and brands A credential belongs to one workspace, and every call acts on that workspace. Leads are workspace-pooled. Inboxes, campaigns and sequences are **brand**-scoped — most list endpoints accept `?brand=` to narrow or `?brand=all` to widen across the workspace. > [card] [Core concepts](/concepts) > > Workspaces, brands, seats and the three credit types. # Bulk delete leads Source: https://docs.manypi.com/api-reference/leads/bulk-delete-leads DELETE /api/leads Permanently delete up to 500 leads. Consider archiving instead — archived leads stop appearing everywhere but stay recoverable. Requires the `write` permission. # Bulk update leads Source: https://docs.manypi.com/api-reference/leads/bulk-update-leads PATCH /api/leads Change status and/or archive state for up to 500 leads at once. Requires the `write` permission. # Declare a custom column Source: https://docs.manypi.com/api-reference/leads/create-field POST /api/leads/fields Declare a column so leads can carry it. Set `auto_research` and the agent fills it in on future lead searches without you restating it each time. Requires the `write` permission. # Delete a lead Source: https://docs.manypi.com/api-reference/leads/delete-lead DELETE /api/leads/{id} Permanently delete one lead. The response is `{ "ok": true }` whether or not a lead with that id existed. To confirm the lead was there, fetch it first with `GET /api/leads/{id}`. Requires the `write` permission. # Delete a saved search Source: https://docs.manypi.com/api-reference/leads/delete-research-profile DELETE /api/leads/research-profiles/{id} Delete a saved search. Leads it already found are kept. The response is `{ "ok": true }` whether or not a saved search with that id existed. Requires the `write` permission. # Export leads as CSV Source: https://docs.manypi.com/api-reference/leads/export-leads GET /api/leads/export Stream the filtered leads as CSV, up to 10,000 rows. Honours the same `status` and `q` filters as the list endpoint. Archived leads are excluded unless you ask for them. Requires the `read` permission. # Find company websites Source: https://docs.manypi.com/api-reference/leads/find-company-sites POST /api/leads/web-search Company websites for a target such as "marketing agencies in Austin", found by ManyPI's own search. Directories, review sites, marketplaces, media and LinkedIn or Meta pages are left out, and each company appears once. Nothing is scanned: read the sites yourself, or with the ManyPI Chrome extension's Find companies. Costs **1 crawl credit per results page**, whether or not the page held companies. Up to 5 pages per target. Requires the `write` permission. # Get lead capacity Source: https://docs.manypi.com/api-reference/leads/get-capacity GET /api/leads/capacity How many more leads the workspace can store. Read this before starting a large search or import — it changes every time a run saves a lead. Requires the `read` permission. # Get a lead Source: https://docs.manypi.com/api-reference/leads/get-lead GET /api/leads/{id} Fetch one lead with its custom columns and email status. Requires the `read` permission. # Import leads Source: https://docs.manypi.com/api-reference/leads/import-leads POST /api/leads/import Write a batch of leads. **Up to 100 rows per request** — chunk larger files client-side so a big import cannot outlive the request timeout and so progress is real. `declare_fields` lets the same request that carries the first chunk also declare the custom columns those rows write into. It is idempotent, so resending the declarations with every chunk is harmless. A full workspace still returns `200` — the rows that fitted were written — with `code: "lead_limit"` in the body. Requires the `write` permission. # List custom columns Source: https://docs.manypi.com/api-reference/leads/list-fields GET /api/leads/fields The workspace's declared lead columns, in display order. These are column *definitions*; the values live on each lead's `custom` object. Requires the `read` permission. # List leads Source: https://docs.manypi.com/api-reference/leads/list-leads GET /api/leads List and filter the workspace's leads, newest first. Also returns the declared custom columns, the past lead searches that produced these leads, the workspace total and the plan's lead limit — everything a grid needs in one call. When the workspace is locked for billing, the response keeps the same shape but carries `billingLock`, and `leads` holds placeholder rows rather than real leads. Check for `billingLock` before you store or act on the rows. Requires the `read` permission. # List saved searches Source: https://docs.manypi.com/api-reference/leads/list-research-profiles GET /api/leads/research-profiles The workspace's saved lead searches, plus past lead-generation campaigns that were never saved as a profile. Requires the `read` permission. # Create or update a saved search Source: https://docs.manypi.com/api-reference/leads/save-research-profile POST /api/leads/research-profiles Store a search without running it. Pass `id` to replace an existing profile in place: `criteria` replaces the stored criteria, and an omitted `name` is replaced by one generated from the criteria. To change only some fields — a rename, say — use `PATCH /api/leads/research-profiles/{id}`, which keeps whatever you leave out. Requires the `write` permission. # Start a lead search Source: https://docs.manypi.com/api-reference/leads/start-research POST /api/leads/research Launch the lead-generation agent against structured criteria, a saved search, or a set of seed leads ("find more like these"). The run is asynchronous: poll `GET /api/agents/runs` with the returned `conversation_id`. The run may pause with a clarifying question — answer it with `POST /api/agents/runs/{id}/reply` and the same run continues. `count` is clamped to the workspace's remaining lead capacity; when that happens the response carries a `clamped` block. A full workspace returns `403` with `code: "lead_limit"`. **With a saved search.** `criteria` sent alongside `profile_id` replaces the saved criteria as a whole — fields you leave out fall back to their defaults, not to the saved values. To change one field, read the saved search from `GET /api/leads/research-profiles`, merge your change, and send the full criteria. Because `save` defaults to `true`, the criteria you send are also written back to that saved search; send `save: false` to run without changing it. **Two responses that start no lead search.** Both apply only to a typed request, with no `profile_id` and no `seed_lead_ids`: - When `criteria` carries only a free-text `description` that does not read as a request for leads, ManyPI starts a plain agent run instead and the response includes `redirected: true`. Send `check_intent: false` to skip that check. - When the description names leads the workspace already has, the response is `{ "known": {...}, "description": "..." }` with no `run_id`, and no run starts. Send `force_search: true` to search anyway. Requires the `agents` permission. # Update a lead Source: https://docs.manypi.com/api-reference/leads/update-lead PATCH /api/leads/{id} Update one field, the status, the score, or the archive flag on a single lead. Setting `field` to a name that is not a core field writes into the lead's custom columns. Requires the `write` permission. # Update a saved search Source: https://docs.manypi.com/api-reference/leads/update-research-profile PATCH /api/leads/research-profiles/{id} Rename a saved search, change its kind, or replace its criteria. Anything you leave out keeps its stored value. `criteria`, when sent, replaces the stored criteria as a whole. Requires the `write` permission. # Suppress addresses Source: https://docs.manypi.com/api-reference/outreach/add-suppressions POST /api/outreach/suppressions Add addresses to the do-not-contact list. Import your existing list on day one — customers, competitors, anyone who has already asked you to stop. Up to 5,000 addresses per call. Addresses past the first 5,000 are dropped without an error, so split larger lists across calls. Requires the `write` permission. # Create a campaign Source: https://docs.manypi.com/api-reference/outreach/create-campaign POST /api/outreach/campaigns Bind a sequence to a sending inbox. After creating it, enroll leads with `POST /api/outreach/enroll`. Requires the `write` permission. # Create a sequence Source: https://docs.manypi.com/api-reference/outreach/create-sequence POST /api/outreach/sequences Create the email steps a campaign sends. Step 0 goes out on enrollment; each later step waits `wait_days` after the previous one and, with `thread_mode: "reply"`, threads under the first email. Merge variables: `{{first_name}}`, `{{company}}`, `{{title}}`, `{{domain}}`, `{{location}}`. Bodies are simple HTML — `

`, `
`, ``, ``. A/B variants inside a step require Pro or Business. Requires the `write` permission. # Delete a campaign Source: https://docs.manypi.com/api-reference/outreach/delete-campaign DELETE /api/outreach/campaigns Delete a campaign. Archiving (`PATCH` with `status: "archived"`) is usually the better choice — it keeps the history. The campaign's sequence is deleted with it when no other campaign uses that sequence. The response is `{ "ok": true }` whether or not a campaign with that id existed. To confirm it was there, fetch it first with `GET /api/outreach/campaigns/{id}`. Requires the `write` permission. # Enroll leads into a campaign Source: https://docs.manypi.com/api-reference/outreach/enroll-leads POST /api/outreach/enroll Queue the campaign's sequence for real sending, respecting the inbox's warmup and daily caps. Up to 1,000 leads per call; ids past the first 1,000 are counted in `skipped_over_limit`. Skipped rather than failed: leads with no email, leads already enrolled, unsubscribed or suppressed addresses, addresses that bounced, addresses known to be undeliverable, and — when the brand only writes to confirmed addresses — addresses that could not be confirmed. Each cause has its own counter; `summary` explains them in plain language. When the brand has *validate on enroll* turned on (the default), unchecked addresses are enrolled and checked in the background (`queued_for_validation`). The result is applied at send time, so an address that turns out undeliverable is never sent to. **Sending cannot be undone.** Requires a paid plan and the `outreach:send` permission. # Draft an email with AI Source: https://docs.manypi.com/api-reference/outreach/generate-email POST /api/outreach/generate AI-draft a cold email (`mode: "email"`) or a whole follow-up sequence (`mode: "sequence"`) from a plain-language brief, written against your brand context. This only drafts: nothing is saved and nothing is sent. Feed the result into `POST /api/outreach/sequences` or `POST /api/outreach/send`. Requires the `read` permission. # Get campaign analytics Source: https://docs.manypi.com/api-reference/outreach/get-campaign GET /api/outreach/campaigns/{id} One campaign's full analytics: headline stats, a per-step sent/opened breakdown, and every enrolled lead with its progress. The per-step breakdown is where you see whether the follow-ups are doing the work. Requires the `read` permission. # Get reply insights Source: https://docs.manypi.com/api-reference/outreach/get-insights GET /api/outreach/insights What one campaign's replies add up to: how many were real answers rather than bounces or auto-replies, how they read, and concrete, approvable suggestions for what to change. `campaign` is required. The reply mix is available on every plan; the `sentiment` breakdown needs reply intelligence (Pro or Business), which the response reports as `canUseAi`. Requires the `read` permission. # Get outreach stats Source: https://docs.manypi.com/api-reference/outreach/get-stats GET /api/outreach/stats Workspace-wide sending activity: 14 days of sends (sent, failed, opened per day), replies per day, unsubscribes, bounces, active enrollments, and today's sent versus the combined warmup-aware cap. Requires the `read` permission. # List campaigns Source: https://docs.manypi.com/api-reference/outreach/list-campaigns GET /api/outreach/campaigns Campaigns with per-campaign stats — enrolled, active, completed, sent, opened, replied — plus the sequence and inbox each is bound to. Requires the `read` permission. # List sending inboxes Source: https://docs.manypi.com/api-reference/outreach/list-inboxes GET /api/outreach/inboxes Every connected sending identity with its health: today's sends versus the warmup-aware cap, 14-day delivered/failed/opened/bounced, a rolling 24-hour bounce rate, whether the bounce guard has paused it, and a 0–100 health score. Use an inbox `id` as `smtp_config_id` when creating a campaign or sending. Requires the `read` permission. # List replies Source: https://docs.manypi.com/api-reference/outreach/list-replies GET /api/outreach/replies Everything that came back from your campaigns — human replies, auto-replies and bounces — with counts for filter chips and a sentiment summary. Reading replies requires any paid plan. The **sentiment fields** (`sentiment`, `sentiment_score`, `intent`, `summary`, `analyzed_at`) require Pro or Business and are stripped from the response on other plans. On those other plans the `sentiment` filter is **ignored, not rejected**: every reply comes back, and the response says `canSeeSentiment: false`. Check that flag before treating the results as filtered — otherwise, say, every reply gets routed as positive. Requires the `read` permission. # List sequences Source: https://docs.manypi.com/api-reference/outreach/list-sequences GET /api/outreach/sequences Saved email sequences with their inline steps. Brand-scoped; `?brand=all` widens to the whole workspace. Requires the `read` permission. # List suppressed addresses Source: https://docs.manypi.com/api-reference/outreach/list-suppressions GET /api/outreach/suppressions The workspace's do-not-contact list. Nothing on it is ever sent to, by any campaign, from any inbox, in any brand. Pass `format=csv` to download the whole list. Requires the `read` permission. # Unsuppress an address Source: https://docs.manypi.com/api-reference/outreach/remove-suppression DELETE /api/outreach/suppressions Remove one address from the list. This only clears the block — it does not re-enroll anyone, so a mistaken removal cannot by itself restart emails to someone who opted out. The response is `{ "ok": true }` whether or not the address was on the list. To know whether it was, search for it first with `GET /api/outreach/suppressions?q=`. Requires the `write` permission. # Send a one-off email Source: https://docs.manypi.com/api-reference/outreach/send-email POST /api/outreach/send Send a single email to a lead now, outside any sequence. Merge variables are rendered against the lead, the inbox's daily/warmup cap is respected, and the lead is marked `contacted`. **Cannot be undone.** Requires a paid plan and the `outreach:send` permission. # Remove leads from a campaign Source: https://docs.manypi.com/api-reference/outreach/unenroll-leads DELETE /api/outreach/enroll Cancel remaining steps for the given leads. Emails already sent cannot be recalled. Requires the `outreach:send` permission. # Update a campaign Source: https://docs.manypi.com/api-reference/outreach/update-campaign PATCH /api/outreach/campaigns Pause, resume or archive a campaign, or change its name, reply-to, daily limit, schedule or priority. Pausing stops further sends without losing progress. Requires the `write` permission. # Get a scraper run Source: https://docs.manypi.com/api-reference/scraping/get-scraper-run GET /api/runs/{runId} The status of one scraper run — the call to poll after `POST /api/scrape/{scraperId}`. `result` holds the inline copy of the extracted data once the run completes. Large results keep only a preview inline, so read the full data from `GET /api/{scraperId}/data/{runId}`. Requires the `read` permission. # Get scraper run results Source: https://docs.manypi.com/api-reference/scraping/get-scraper-run-data GET /api/{scraperId}/data/{runId} The extracted data for one run. It carries no status: until the run completes, the body is `null`. Check progress with `GET /api/runs/{runId}` and call this once `status` is `completed`. Requires the `read` permission. # List scraper runs Source: https://docs.manypi.com/api-reference/scraping/list-scraper-runs GET /api/runs Recent scraper runs across every scraper, with status and extracted data. Returned as a flat array, which is the shape polling-based integrations such as Zapier expect for a trigger. Requires the `read` permission. # List scrapers Source: https://docs.manypi.com/api-reference/scraping/list-scrapers GET /api/scrapers The workspace's scrapers with their schema, target URL, status and type. Requires the `read` permission. # Run a scraper Source: https://docs.manypi.com/api-reference/scraping/run-scraper POST /api/scrape/{scraperId} Queue a scraper run. **Asynchronous** — the call returns `202` immediately with a `runId`, so a slow page never times your request out. Poll `GET /api/runs/{runId}` until `status` is `completed` (or `failed`), then read the full result with `GET /api/{scraperId}/data/{runId}`. Or configure an outbound webhook to be notified when it completes. The body takes `url` only. Run settings such as timeouts and retries are not configurable per call. Requires the `scraper` permission. # Get a validation job Source: https://docs.manypi.com/api-reference/validation/get-job GET /api/leads/validate/{jobId} One validation job plus its per-address results. Poll this for progress and the final breakdown. Requires the `read` permission. # List validation jobs Source: https://docs.manypi.com/api-reference/validation/list-jobs GET /api/leads/validate The workspace's recent validation jobs, newest first. Requires the `read` permission. # Verify email addresses Source: https://docs.manypi.com/api-reference/validation/verify-emails POST /api/leads/validate Queue an SMTP mailbox probe for lead addresses, raw addresses, or both. Results are written back onto the leads as `email_status`, `email_provider`, `email_is_role` and `email_validated_at`. Pass `estimate_only` to price the run without queueing it. You are only charged for probes that actually run — cached results and addresses rejected by the cheap pre-check are free. Requires the `leads:validate` permission, deliberately separate from `write` so a general-purpose key cannot run up a validation bill. # Core concepts Source: https://docs.manypi.com/concepts Workspaces, brands, seats, leads and the three credit types. Five ideas explain how everything in ManyPI is organised. Read this once and the rest of the documentation is straightforward. ## Workspace A **workspace** is the account. It owns billing, the subscription, seats and every piece of data. Nothing crosses a workspace boundary — a different workspace is effectively a different customer. You switch workspaces from the account menu. Team plans invite members into a shared workspace, where leads, campaigns, chats and folders are pooled rather than private to whoever created them. ## Brand A **brand** is the company you are selling. It lives *inside* a workspace and owns that company's inboxes, campaigns, sequences, folders and chats. The brand carries your website, description, value proposition and personas. That context is injected into: * **lead searches**, so the agent can judge whether a company would actually want what you sell, and * **AI-drafted emails**, so you do not retype who you are on every message. One workspace with several brands is the agency case: one brand per client, each with its own sending domain and its own idea of a good lead. | Plan | Brands | | - | - | | Free | 1 | | Starter | 1 | | Pro | 3 | | Business | Unlimited | > [!NOTE] > > Leads are **workspace-pooled**, not brand-scoped. The brand filter in the > Leads grid is a lens you apply, not a wall the server enforces. Inboxes, > campaigns and sequences *are* brand-scoped. ## Lead A **lead** is one company-plus-contact record. Core fields are fixed (`company`, `full_name`, `title`, `email`, `phone`, `domain`, `linkedin_url`, `location`, `source_url`, `score`, `status`); everything else lives in custom columns you declare yourself. Statuses are `new`, `qualified`, `contacted` and `disqualified`. Two flags sit alongside them and are not statuses: **archived** (hidden from every view but still stored) and **unsubscribed** (opted out — never contacted again). Your plan caps how many leads a workspace can store: | Plan | Stored leads | | - | - | | Free | 50 | | Starter | 2,500 | | Pro | 25,000 | | Business | 100,000 | The cap is enforced up front: a lead search is clamped to the space you have left rather than spending credits finding leads it would have to throw away. ## Seats Paid plans are **per seat**, and credits pool across the workspace: three Starter seats share 3M AI credits, not 1M each. | Plan | Seats | | - | - | | Free | 1 | | Starter | up to 3 | | Pro | up to 10 | | Business | unlimited | ## Credits Three separate meters, each measuring a different real cost. > [card] AI credits > > 1 credit = 1 model token. Spent by agent runs, lead research, AI drafting > and reply analysis. > [card] Crawl credits > > 1 credit = 1 page scrape or search. Spent by scrapers, endpoints and the > agent's web browsing. > [card] Validation credits > > 1 credit = 1 SMTP mailbox probe. Spent by email validation. Included allowances, per seat per month: | Plan | AI credits | Crawls | Validations | Outreach emails | | - | - | - | - | - | | Free | 10,000 | 20 | 50 | — | | Starter | 1,000,000 | 250 | 1,000 | 1,000 | | Pro | 3,000,000 | 900 | 5,000 | 5,000 | | Business | 8,000,000 | 3,000 | 20,000 | 20,000 | When an allowance runs out you can either buy a credit pack or switch on **overage**, which meters the excess and bills it at the same unit rate ($0.00008 per AI credit, $0.04 per crawl, \$0.005 per validation). Overage has a spend cap you set per meter, so it can never surprise you. > [card] [Plans and billing in detail](/platform/plans-and-credits) > > Feature gates per tier, overage, credit packs and spend caps. ## How a run works Almost everything expensive in ManyPI is an **agent run**: a job with a goal, a status, streamed events and, at the end, a result and any artifacts. ``` queued → planning → running → completed ↘ paused (waiting on you) ↘ failed / cancelled ``` A run that hits an ambiguity pauses and asks a question rather than guessing. In the dashboard you answer it in the chat; over the API or MCP you read the question from the run and post a reply, and the *same* run resumes mid-thought. Your plan limits how many runs can be in flight at once (1 on Free, 2 on Starter, 5 on Pro, 10 on Business). # Introduction Source: https://docs.manypi.com/index ManyPI is the AI sales platform that finds your leads, verifies them, and emails them for you. ## What ManyPI does ManyPI is a sales platform built on an AI agent. You describe the customers you want; the agent goes out on the live web, finds real companies and people, enriches them with the fields you asked for, and saves them as leads. From there you verify the addresses, write a sequence, and send from your own inbox — all in the same workspace. Everything the dashboard can do is also available over the REST API and through the [ManyPI MCP server](/mcp/introduction), so the same workflow runs from your code or from an AI agent like Claude or Cursor. > [card] [Find leads](/leads/finding-leads) > > Describe your ideal customer. The agent researches the web and saves > enriched leads with exactly the columns you asked for. > [card] [Verify emails](/leads/email-validation) > > Probe every address before you send. Dead mailboxes never cost you a bounce. > [card] [Run outreach](/outreach/overview) > > Multi-step cold email from your own inboxes, with warmup, throttling, > open and reply tracking. > [card] [Read the replies](/outreach/replies) > > Replies land back in ManyPI, classified by sentiment and intent, with > suggested fixes for what is not working. ## The rest of the platform Lead generation and outreach sit on top of a general web-data agent. That layer is still there, and it is what makes the sales side work. > [card] [The agent](/agent/chat) > > Chat with an agent that browses, scrapes, analyses spreadsheets and queries > your database — and asks you questions when it needs to. > [card] [Scrapers](/scraping/scrapers) > > Reusable, schema-validated extractors for any page. Run them from the > dashboard, the API, or on a schedule. > [card] [API endpoints](/scraping/endpoints) > > Publish a scraper as a typed REST endpoint at > `app.manypi.com/v1/e/{'{slug}'}` and call it like any other API. > [card] [Workflows](/agent/workflows) > > Chain steps together and trigger them on a schedule or an inbound webhook. ## Start here > [card] [Quickstart](/quickstart) > > From signup to your first campaign in about ten minutes. > [card] [Core concepts](/concepts) > > Workspaces, brands, seats and the three credit types — read this once and the > rest of the docs make sense. > [card] [API reference](/api-reference/introduction) > > Every REST endpoint, with authentication and permission scopes. > [card] [MCP server](/mcp/introduction) > > Drive ManyPI from Claude, Cursor, ChatGPT or any MCP client. ## Need help? > [card] [Contact us](https://manypi.com/contact) > > Get support, ask questions, and share your thoughts. # Apollo Source: https://docs.manypi.com/integrations/apollo Move your saved contacts and sequences from Apollo to ManyPI. ## What comes over * Every **saved** contact. Apollo's wider database is not copied, only the people you saved. * Sequences as paused drafts, when the key is a master key * Contacts who unsubscribed, onto your do-not-contact list ## Get your API key **1. Open Settings, then Integrations** Or go straight to [Apollo's API settings](https://app.apollo.io/#/settings/integrations/api). **2. Open API keys** Next to **API**, click **Connect**, then **API keys**. **3. Create a master key** Create a new key, switch on **Set as master key**, and copy it. > [!NOTE] > > Without **Set as master key**, Apollo does not let ManyPI read your > sequences. Contacts still come over. ## Run the import **1. Open the wizard** In ManyPI, open **Integrations** in the sidebar, click **Switch from another tool**, and pick Apollo. **2. Paste your key** ManyPI checks it and scans the account. Nothing is imported yet: you see how many leads, campaigns and do-not-contact entries it found. **3. Choose what to bring** Everything starts ticked. Untick **Recreate the campaigns**, **Continue where they left off** or **Bring the do-not-contact list** to leave any of them behind. **4. Import** The import runs on ManyPI's servers. Close the window whenever you like; **Integrations** shows its progress until it is done. ## After the import * Campaigns arrive as **drafts**. Nothing sends until you connect an inbox and launch. See [Inboxes and warmup](/outreach/inboxes). * With **Continue where they left off**, leads Apollo had not emailed yet are queued in their new campaign, so the sequence picks up when you launch. * A lead with the same email as one you already have is merged, not duplicated. Imported leads count toward your plan's lead limit. * Custom variables become lead fields with the same names, so the copied emails keep their personalization. * Your key is stored encrypted while the import runs and erased when it ends. # Attio Source: https://docs.manypi.com/integrations/attio Import Attio people as leads, and send leads who reply or book back to Attio. ## Connect **1. Create an access token** In Attio, open **Workspace settings → Developers** (or go straight to [developer settings](https://app.attio.com/_/settings/developers)) and click **New access token**. **2. Give it access** Grant read-write access to **records** and **notes**, and read access to **object configuration**. Copy the token. **3. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Attio**, paste the token, and click **Connect**. ## What you can do > [accordion] Import contacts > > Open the Attio connection under **Integrations** and click **Import Attio > contacts**. Choose what they are: > > * **Prospects to reach out to** become leads you can add to campaigns. > * **Existing customers** go on your do-not-contact list, so nobody you > already work with gets cold email. > [accordion] Send leads > > In **Leads**, tick the leads you want (or filter the list), open > **Export**, and click **Send to Attio**. Leads already in Attio with the > same email are updated, not duplicated. > [accordion] Add leads automatically > > Two switches on the connection, both on by default: > > * **Add leads who reply positively**, with their reply as a note. > * **Add leads who book a meeting**, with the meeting as a note. > > These run on paid plans. Leads go to Attio as people. # Cal.com Source: https://docs.manypi.com/integrations/calcom Bookings land on the lead the moment they are made, and your booking page goes into every email. ## Connect **1. Create an API key in Cal.com** Open **Settings → Developer → API Keys** in Cal.com (or go straight to [API keys](https://app.cal.com/settings/developer/api-keys)), click **New**, give it a name, and copy the key. It starts with `cal_live_`. **2. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Cal.com**, paste the key, and click **Connect**. ManyPI registers a webhook in your Cal.com account, so bookings arrive the moment they are made. Disconnecting removes it again. ## What happens on a booking * The meeting shows up on the lead's timeline. * **Pause their campaigns when someone books** (on by default) stops the sequence, so nobody gets a follow-up after saying yes. * **Add new bookers as leads** (on by default) creates a lead for someone who books without being one yet. * Workflows and [webhooks](/integrations/webhooks) can react to it through the `meeting.booked` event. ## Your booking link Under **More settings**, pick the booking page Cal.com should use. Then write `{{booking_link}}` in any email, or insert it from **Sign off** in the email editor. Each send fills in that page's address. # Calendly Source: https://docs.manypi.com/integrations/calendly Booked calls land on the lead and pause their sequence, and your scheduling link goes into every email. ## Connect **1. Create a personal access token** In Calendly, open **Integrations & apps → API and webhooks** (or go straight to [API and webhooks](https://calendly.com/integrations/api_webhooks)). Under **Personal access tokens**, click **Generate new token** and copy it. **2. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Calendly**, paste the token, and click **Connect**. On Calendly's Standard plan and above, ManyPI registers a webhook and bookings arrive straight away. Calendly's free plan does not offer webhooks, so ManyPI checks for new bookings every few minutes instead. ## What happens on a booking * The meeting shows up on the lead's timeline. * **Pause their campaigns when someone books** (on by default) stops the sequence, so nobody gets a follow-up after saying yes. * **Add new bookers as leads** (on by default) creates a lead for someone who books without being one yet. * Workflows and [webhooks](/integrations/webhooks) can react to it through the `meeting.booked` event. ## Your booking link Under **More settings**, pick the booking page Calendly should use. Then write `{{booking_link}}` in any email, or insert it from **Sign off** in the email editor. Each send fills in that page's address. # Find companies Source: https://docs.manypi.com/integrations/chrome-extension/find-companies Search for the companies you want to reach, then scan their websites in the background. **Find companies** turns a description into a list of company websites and scans the ones you pick. **1. Search** Type who you are looking for, for example *marketing agencies in Austin*. Pick a country with the globe button if you want to narrow it down. **2. Pick the sites** ManyPI returns company websites, with directories, review sites, marketplaces and LinkedIn left out. Untick any you do not want. **More results** loads the next page. **3. Scan** **Scan sites** reads each ticked site, two at a time. It keeps going with the panel closed; the toolbar icon shows progress and Chrome tells you when it is done. ## Cost Each results page costs **1 crawl credit**, whether or not it held new companies. Scanning the sites uses no credits. ## Where the search runs The search runs on ManyPI's servers, never in your browser, so you are not asked to solve CAPTCHAs. The extension only opens the company sites you ticked. For automation, the same search is available as [Find company websites](/api-reference/leads/find-company-sites) in the API. # Install the Chrome extension Source: https://docs.manypi.com/integrations/chrome-extension/install Add ManyPI Email Finder and connect it to your ManyPI account. > [!NOTE] > > ManyPI Email Finder is coming soon to the Chrome Web Store. **1. Add it to Chrome** Find **ManyPI: Email Finder & Lead Extractor** in the Chrome Web Store and click **Add to Chrome**. Pin it from the puzzle icon in the toolbar so it is one click away. **2. Open the side panel** Click the ManyPI icon. The panel opens next to the page you are on. **3. Sign in with ManyPI** Click **Sign in with ManyPI** and approve the connection. Leads you send go to the workspace and brand you work in. ## Use an API key instead In the extension's settings, open **Advanced** and paste a ManyPI API key with the **Write** permission. Create one under **API Access** in your profile menu. ## Site access The first time you scan a site, Chrome asks to let ManyPI read it. You can allow one site at a time; **Find companies** asks once for all sites, because it scans sites you pick from a list. ## Sign out **Settings → Sign out** forgets the sign-in on this browser. Your scanned contacts stay in the browser until you clear them. To revoke the connection itself, disconnect it in **Apps & integrations** in ManyPI. # Chrome extension Source: https://docs.manypi.com/integrations/chrome-extension/overview Find emails, names and phone numbers on any company website and save them as leads in ManyPI. **ManyPI Email Finder** reads a company's website in your browser and pulls out the people behind it: names, titles, email addresses and phone numbers. Send them to ManyPI as leads in one click, or export a CSV. > [!NOTE] > > Coming soon to the Chrome Web Store. This page goes live with the listing. > [card] [Install](/integrations/chrome-extension/install) > > Add it to Chrome and sign in with your ManyPI account. > [card] [Scan a website](/integrations/chrome-extension/scan-a-website) > > One page, or the whole site: team, contact and Impressum pages first. > [card] [Find companies](/integrations/chrome-extension/find-companies) > > Type who you are looking for, pick the sites, scan them in the background. > [card] [Send to ManyPI](/integrations/chrome-extension/send-to-manypi) > > Contacts become leads in your workspace, duplicates merged. ## What it costs Scanning pages and websites uses **no AI credits**: the extension reads the pages in your browser. **Find companies** uses ManyPI's search and costs **1 crawl credit per results page**. ## Requirements * Chrome 116 or newer, or another Chromium browser (Edge, Brave, Arc). * A ManyPI account. Every scan needs you to be signed in. # Chrome extension privacy Source: https://docs.manypi.com/integrations/chrome-extension/privacy What the extension reads, what it stores and where it sends data. | | | | - | - | | **Reads** | Only pages you ask it to scan, and only while you are signed in. | | **Never reads** | Your browsing history, other tabs, LinkedIn or Meta pages. | | **Stores** | Your sign-in and scanned contacts, in this browser only. | | **Sends** | Contacts you choose to send, to your ManyPI workspace. Searches from Find companies go to ManyPI. Nothing goes anywhere else. | | **Runs** | No AI on your pages, no analytics, no code loaded from the internet. | ## Permissions | Permission | Why | | - | - | | Side panel | The extension's interface. | | Active tab, scripting | Read the page you ask it to scan. | | Site access | Read a whole site when you scan it; asked per site, or once for Find companies. | | Storage | Keep your sign-in and contacts in this browser. | | Identity | Sign in with ManyPI. | | Offscreen, alarms | Keep a scan running when the panel is closed. | | Notifications | Tell you when a long scan finishes. | ## Remove your data **⋯ → Clear** deletes the contacts stored in the extension. **Settings → Sign out** forgets the sign-in. Uninstalling removes everything the extension stored. # Scan a page or a website Source: https://docs.manypi.com/integrations/chrome-extension/scan-a-website Pull names, titles, emails and phone numbers out of a company's site. Open a company's website, open the ManyPI panel, and pick one: * **Scan website** reads the site: up to **30 pages**, or **100** on Deep (Settings → Scanning). Contact, team, Impressum, about and leadership pages come first, in English and German. It stops early once those are read and new pages stop turning up new people. * **This page only** reads the page you are on, including pages built with JavaScript. Contacts appear while it reads. If pages are left when it stops, **Scan more pages** carries on where it ended. ## What you get Each contact shows a name, title, email and phone number where the site published them, grouped by company. | Type | Meaning | | - | - | | **Personal** | A person's own address, found on the site. | | **Inbox** | A shared address such as info@ or hello\@. | | **Guess** | Worked out from the company's naming pattern (for example `first.last@`). Not confirmed: verify it before you send. | Titles like *Dr.*, *Mag.* or *MBA* are taken out of names and kept with the contact, so guesses use the person's real name. ## What it reads, and what it skips * It respects each site's `robots.txt`. * It skips pages behind a login and cookie walls, and says how many. * It never opens LinkedIn or Meta pages. * An agency's address in a site's footer is filed under that agency, not under the company you are scanning. > [!TIP] > > Guessed addresses are a starting point. Run them through > [email verification](/leads/email-validation) before a campaign. # Send contacts to ManyPI Source: https://docs.manypi.com/integrations/chrome-extension/send-to-manypi Save scanned contacts as leads in your workspace. Click **Send to ManyPI** to save every contact not sent yet, or use a company's **Send** button for just that company. Saved contacts get a check mark. * Leads land in the workspace and brand you work in, shown at the top of the panel. * Someone already in your leads is merged, not duplicated. * Each send appears in **Leads** as a batch called **Chrome extension**. By default, guessed addresses are sent as name and company only. Turn on **Send guessed emails too** in the extension's settings to include them. ## Export instead **⋯ → Export CSV** downloads the contacts, or one company's from its own menu. **Open table** shows every column on a full page, with sorting and search. ## If a send fails The extension keeps unsent contacts and tries again. Offline sends wait for your connection. If your plan's lead limit is reached, the panel says so and nothing is lost. # Close Source: https://docs.manypi.com/integrations/close Import Close contacts as leads, and send leads who reply or book back to Close. ## Connect **1. Create an API key** In Close, open **Settings → Developer → API Keys** (or go straight to [API keys](https://app.close.com/settings/developer/api-keys/)) and click **New API Key**. Copy it. **2. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Close**, paste the key, and click **Connect**. ## What you can do > [accordion] Import contacts > > Open the Close connection under **Integrations** and click **Import Close > contacts**. Choose what they are: > > * **Prospects to reach out to** become leads you can add to campaigns. > * **Existing customers** go on your do-not-contact list, so nobody you > already work with gets cold email. > [accordion] Send leads > > In **Leads**, tick the leads you want (or filter the list), open > **Export**, and click **Send to Close**. Leads already in Close with the > same email are updated, not duplicated. > [accordion] Add leads automatically > > Two switches on the connection, both on by default: > > * **Add leads who reply positively**, with their reply as a note. > * **Add leads who book a meeting**, with the meeting as a note. > > These run on paid plans. # Discord Source: https://docs.manypi.com/integrations/discord Post positive replies and booked meetings to a Discord channel. ## Connect **1. Open the server's integrations** In Discord, open **Server Settings → Integrations**. You need the Manage Webhooks permission. **2. Create a webhook** Click **Webhooks**, then **New Webhook**, and pick the channel. **3. Copy its URL** Click **Copy Webhook URL**. It starts with `https://discord.com/api/webhooks/`. **4. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Discord**, paste the URL, and click **Connect**. ## What gets posted Two switches on the connection, both on by default: * **Post when someone replies positively**: who replied, a one-line summary of their reply, and the campaign. * **Post when someone books a meeting**: who booked, the meeting and its time, and the calendar it came from. Each message has an **Open in ManyPI** link to the conversation. Notifications run on paid plans. Click **Test** on the connection to send a sample message to the channel. > [!TIP] > > Need every reply, bounce or deal change, or a format of your own? Use a > [webhook](/integrations/webhooks) instead and shape the message yourself. # Excel Source: https://docs.manypi.com/integrations/excel Import an Excel workbook as leads, with columns matched for you. There is nothing to connect. Drop an `.xlsx` file anywhere on **Leads**, or open **Leads → Import** and pick it. * The first sheet with rows in it is imported. * Columns are matched the way a CSV's are: "Company Name", "companyName" and "company" all land in Company. * Columns ManyPI does not recognize are kept as custom variables, so you can use them in emails. * A lead with the same email as one you already have is merged, not duplicated. The same importer takes CSV, TSV and JSON files, and rows pasted straight out of Excel. See [Managing leads](/leads/managing-leads). # Freshdesk Source: https://docs.manypi.com/integrations/freshdesk Keep your Freshdesk contacts out of cold email, or import them as leads. ## Connect **1. Copy your API key** In Freshdesk, click your profile picture, then **Profile settings**. Under **Your API Key** on the right, click **View API Key** and copy it. **2. Fill in the connection** Open **Integrations** in ManyPI, click **Freshdesk**, and enter: * **Helpdesk address**: `acme` if your help desk is `acme.freshdesk.com` * **API key**: the key you copied ## Import contacts Open the Freshdesk connection under **Integrations** and click **Import contacts**. Choose what they are: * **Existing customers** go on your do-not-contact list. This is the usual choice for a support tool: the people in it already pay you, and cold email is the fastest way to annoy them. * **Prospects to reach out to** become leads you can add to campaigns. Run it again whenever you want to pick up new contacts. Addresses already on the list are skipped. # Google Calendar & Meet Source: https://docs.manypi.com/integrations/google-calendar Stop follow-ups the moment a lead books, and book calls with a Meet link from any lead. Connect Google Calendar and ManyPI notices meetings with your leads. A lead who has a call on your calendar stops getting follow-ups, and you can book a call with a Google Meet link straight from their record. > [!NOTE] > > Google sign-in for Calendar is rolling out while Google reviews ManyPI's > access. If you do not see **Connect** yet, [Cal.com](/integrations/calcom) > or [Calendly](/integrations/calendly) work today. ## Connect **1. Open Integrations** In ManyPI, open **Integrations** in the sidebar and click **Google Calendar & Meet**. **2. Sign in with Google** Click **Connect**, choose your Google account, and approve. ManyPI watches your primary calendar. The first sync looks back 30 days to attach recent meetings to their leads, without pausing anything or sending notifications for them. ## What it does * **Pause their campaigns when someone books** (on by default). When a meeting with a lead lands on your calendar, their sequence stops, so nobody gets a follow-up after saying yes. * **Book meeting** on a lead's record creates a calendar event with a Google Meet link and invites them. * **Save Meet transcripts on the lead** (off by default). After a call, the Meet transcript is stored on the lead. Turning it on asks Google for one more permission. * Workflows and [webhooks](/integrations/webhooks) can react to bookings through the `meeting.booked` event. ## Disconnect Open the connection under **Integrations** and click **Disconnect**. You can also remove ManyPI from your Google account's third-party access page. # Google Chat Source: https://docs.manypi.com/integrations/google-chat Post positive replies and booked meetings to a Google Chat space. Webhooks in Google Chat are available on Google Workspace accounts. ## Connect **1. Open the space** In Google Chat, open the space and click its name at the top. **2. Add a webhook** Choose **Apps & integrations**, then **Add webhooks**. Give it a name (for example, ManyPI) and save. **3. Copy the URL** Copy the webhook URL. It starts with `https://chat.googleapis.com/v1/spaces/`. **4. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Google Chat**, paste the URL, and click **Connect**. ## What gets posted Two switches on the connection, both on by default: * **Post when someone replies positively**: who replied, a one-line summary of their reply, and the campaign. * **Post when someone books a meeting**: who booked, the meeting and its time, and the calendar it came from. Each message has an **Open in ManyPI** link to the conversation. Notifications run on paid plans. Click **Test** on the connection to send a sample message to the space. > [!TIP] > > Need every reply, bounce or deal change, or a format of your own? Use a > [webhook](/integrations/webhooks) instead and shape the message yourself. # Google Sheets Source: https://docs.manypi.com/integrations/google-sheets Import a sheet by its link, and export any list of leads to a new Google Sheet. ## Import a sheet A sheet shared with **Anyone with the link** imports without connecting anything. **1. Share the sheet** In Google Sheets, click **Share** and set General access to **Anyone with the link** (Viewer is enough). **2. Paste the link** In ManyPI, open **Leads → Import**, choose **From a Google Sheets link**, and paste the sheet's address. **3. Check the columns** ManyPI matches the columns the way it does for a CSV. Columns it does not recognize are kept as custom variables you can use in emails. To import a **private** sheet, connect Google first: open **Integrations**, click **Google Sheets**, then **Connect**. > [!NOTE] > > Google sign-in for Sheets is rolling out while Google reviews ManyPI's > access. Sheets shared by link import today. ## Export leads In **Leads**, filter or tick the leads you want, open **Export**, choose **Google Sheets**, and click **Send to Sheets**. ManyPI creates a new sheet in your Google Drive and opens it. Exporting needs the Google connection. # HubSpot Source: https://docs.manypi.com/integrations/hubspot Import HubSpot contacts as leads, and send leads who reply or book back to HubSpot. ## Connect Open **Integrations** in the sidebar, click **HubSpot**, then **Connect**, and approve ManyPI in HubSpot. If ManyPI asks for a token instead, connect with a private app: **1. Open Private Apps** In HubSpot, open **Settings → Integrations → Private Apps** (or go straight to [private apps](https://app.hubspot.com/l/private-apps)). **2. Create a private app** Under **Scopes**, tick `crm.objects.contacts.read` and `crm.objects.contacts.write`. **3. Copy the token** Create the app, copy its access token (it starts with `pat-`), and paste it in ManyPI. ## What you can do > [accordion] Import contacts > > Open the HubSpot connection under **Integrations** and click **Import HubSpot > contacts**. Choose what they are: > > * **Prospects to reach out to** become leads you can add to campaigns. > * **Existing customers** go on your do-not-contact list, so nobody you > already work with gets cold email. > [accordion] Send leads > > In **Leads**, tick the leads you want (or filter the list), open > **Export**, and click **Send to HubSpot**. Leads already in HubSpot with the > same email are updated, not duplicated. > [accordion] Add leads automatically > > Two switches on the connection, both on by default: > > * **Add leads who reply positively**, with their reply as a note. > * **Add leads who book a meeting**, with the meeting as a note. > > These run on paid plans. Leads go to HubSpot as contacts, matched by email. # Instantly Source: https://docs.manypi.com/integrations/instantly Move your leads, campaigns and block list from Instantly to ManyPI. ## What comes over * Every lead with its custom variables * Campaigns as paused drafts, steps and A/B variants included * Your block list, bounces and unsubscribes, onto your do-not-contact list * Leads not contacted yet, queued in the new campaign ## Get your API key **1. Open Settings in Instantly** Or go straight to [Integrations settings](https://app.instantly.ai/app/settings/integrations). **2. Go to Integrations, then API Keys** **3. Create a key** Click **Create API Key**, give it the scope `all:read` (or `all`), and copy it. > [!WARNING] > > Use an **API V2** key. Keys made for Instantly's old V1 API do not work. ## Run the import **1. Open the wizard** In ManyPI, open **Integrations** in the sidebar, click **Switch from another tool**, and pick Instantly. **2. Paste your key** ManyPI checks it and scans the account. Nothing is imported yet: you see how many leads, campaigns and do-not-contact entries it found. **3. Choose what to bring** Everything starts ticked. Untick **Recreate the campaigns**, **Continue where they left off** or **Bring the do-not-contact list** to leave any of them behind. **4. Import** The import runs on ManyPI's servers. Close the window whenever you like; **Integrations** shows its progress until it is done. ## After the import * Campaigns arrive as **drafts**. Nothing sends until you connect an inbox and launch. See [Inboxes and warmup](/outreach/inboxes). * With **Continue where they left off**, leads Instantly had not emailed yet are queued in their new campaign, so the sequence picks up when you launch. * A lead with the same email as one you already have is merged, not duplicated. Imported leads count toward your plan's lead limit. * Custom variables become lead fields with the same names, so the copied emails keep their personalization. * Your key is stored encrypted while the import runs and erased when it ends. # Intercom Source: https://docs.manypi.com/integrations/intercom Keep your Intercom users out of cold email, or import them as leads. ## Connect **1. Open the Developer Hub** In Intercom, open the [Developer Hub](https://app.intercom.com/a/apps/_/developer-hub) and create an app, or open one you already have. **2. Copy the access token** Go to **Configure → Authentication** and copy the access token. **3. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Intercom**, paste the token, and click **Connect**. ## Import contacts Open the Intercom connection under **Integrations** and click **Import contacts**. Choose what they are: * **Existing customers** go on your do-not-contact list. This is the usual choice for a support tool: the people in it already pay you, and cold email is the fastest way to annoy them. * **Prospects to reach out to** become leads you can add to campaigns. Run it again whenever you want to pick up new contacts. Addresses already on the list are skipped. # Lead intake URL Source: https://docs.manypi.com/integrations/lead-intake-url One private URL that Clay, Zapier, Make, n8n, a form or your own code can send leads to. The lead intake URL takes leads as JSON and saves them in your workspace, matched and deduplicated exactly like a CSV import. There is no API key: the URL itself is the secret. ## Get your URL Open **Integrations** in the sidebar, click **Lead intake URL**, then **Connect**. Copy the URL it shows: ``` https://app.manypi.com/api/integrations/inbound/ ``` > [!WARNING] > > Anyone with this URL can add leads to your workspace. Keep it in server-side > tools only, never in a public web page. To replace it, disconnect and connect > again; the old URL stops working. ## Send leads `POST` JSON in any of three shapes: ```bash One lead theme={null} curl -X POST https://app.manypi.com/api/integrations/inbound/ \ -H "Content-Type: application/json" \ -d '{"email":"sam@acme.com","first_name":"Sam","company":"Acme","custom":{"icebreaker":"Loved your post on pricing"}}' ``` ```bash Several leads theme={null} curl -X POST https://app.manypi.com/api/integrations/inbound/ \ -H "Content-Type: application/json" \ -d '[{"email":"sam@acme.com","company":"Acme"},{"email":"ana@globex.com","company":"Globex"}]' ``` ```bash Straight into a campaign theme={null} curl -X POST https://app.manypi.com/api/integrations/inbound/ \ -H "Content-Type: application/json" \ -d '{"campaign_id":"","leads":[{"email":"sam@acme.com","company":"Acme"}]}' ``` * **Field names are forgiving.** "Company Name", "companyName" and "company" all land in Company, the same as a CSV header. * **Custom variables go under `custom`.** Each key there becomes a custom variable the first time it is seen. Other unknown keys are kept only if a custom variable with that name already exists, so a payload full of metadata does not create dozens of columns. * **Up to 100 leads per request.** Plan lead limits apply as for any import. * **Duplicates** follow the connection's setting under **More settings**: merge (the default), overwrite, or skip. * **`campaign_id`** adds the new leads to that campaign, with the same checks as adding them by hand. The response says what happened: ```json theme={null} { "created": 1, "updated": 0, "skipped": 0, "over_limit": 0, "lead_ids": ["8c1f…"] } ``` Leads that arrive this way are grouped as one import called **Lead intake URL**, so you can filter the Leads grid to them. ## Common setups > [accordion] Clay > > Add an **HTTP API** column. Set the method to **POST**, paste the URL, and > map your Clay columns into the JSON body, for example `"email"`, > `"first_name"`, `"company"`, and anything personal under `"custom"`. > [accordion] Zapier > > Add a **Webhooks by Zapier → POST** action with the URL and payload type > **JSON**. See [Zapier](/integrations/zapier). > [accordion] Make > > Add an **HTTP → Make a request** module, method **POST**, body type JSON. > See [Make](/integrations/make). > [accordion] A form > > Form tools such as Typeform nest their answers, so pass submissions > through Zapier, Make or n8n and map the answers to flat fields like > `email` and `company`. A form handler of your own can post to the URL > directly. # lemlist Source: https://docs.manypi.com/integrations/lemlist Move your leads, campaign emails and unsubscribes from lemlist to ManyPI. ## What comes over * Every lead with its custom variables, icebreakers included * The email steps of your campaigns, as paused drafts * Unsubscribed people and domains, onto your do-not-contact list LinkedIn and call steps are listed in the import summary so you know they existed, but only email steps are copied. ## Get your API key **1. Open Settings in lemlist** Click your profile picture in [lemlist](https://app.lemlist.com/), then **Settings**. **2. Open the Integrations tab** **3. Generate a key** Click **Generate a new API key** and copy it. lemlist shows it once. ## Run the import **1. Open the wizard** In ManyPI, open **Integrations** in the sidebar, click **Switch from another tool**, and pick lemlist. **2. Paste your key** ManyPI checks it and scans the account. Nothing is imported yet: you see how many leads, campaigns and do-not-contact entries it found. **3. Choose what to bring** Everything starts ticked. Untick **Recreate the campaigns**, **Continue where they left off** or **Bring the do-not-contact list** to leave any of them behind. **4. Import** The import runs on ManyPI's servers. Close the window whenever you like; **Integrations** shows its progress until it is done. ## After the import * Campaigns arrive as **drafts**. Nothing sends until you connect an inbox and launch. See [Inboxes and warmup](/outreach/inboxes). * With **Continue where they left off**, leads lemlist had not emailed yet are queued in their new campaign, so the sequence picks up when you launch. * A lead with the same email as one you already have is merged, not duplicated. Imported leads count toward your plan's lead limit. * Custom variables become lead fields with the same names, so the copied emails keep their personalization. * Your key is stored encrypted while the import runs and erased when it ends. # Make Source: https://docs.manypi.com/integrations/make Send leads into ManyPI, start scenarios from ManyPI events, and call the ManyPI API from Make. Make talks to ManyPI with its built-in **HTTP** and **Webhooks** apps. ## Send leads into ManyPI **1. Copy your intake URL** In ManyPI, open **Integrations → Lead intake URL** and copy the URL. **2. Add an HTTP module** Add **HTTP → Make a request**. Set the URL, method **POST**, body type **Raw**, and content type **JSON (application/json)**. **3. Build the body** Map fields from earlier modules into JSON, for example: ```json theme={null} { "email": "{{1.email}}", "first_name": "{{1.name}}", "company": "{{1.company}}" } ``` Add `"campaign_id"` to put the leads straight into a campaign. See the [lead intake URL](/integrations/lead-intake-url) for every option. ## Start a scenario when something happens in ManyPI **1. Add a custom webhook** Start the scenario with **Webhooks → Custom webhook**, click **Add**, and copy the address Make creates. **2. Add a ManyPI webhook** In ManyPI, open the profile menu, then **Developers → Webhooks**. Add a webhook with Make's address and the events you want. **3. Learn the structure** In Make, click **Redetermine data structure**, then **Send test** on the ManyPI webhook. Make learns the payload's fields from it. See [Webhooks](/integrations/webhooks) for every event and its fields. ## Call the ManyPI API Add **HTTP → Make a request** with a header `Authorization` set to `Bearer mpi_your_api_key`, and pick the method and URL from the [API reference](/api-reference/introduction). Give the key only the permissions the scenario needs. # Microsoft Teams Source: https://docs.manypi.com/integrations/microsoft-teams Post positive replies and booked meetings to a Teams channel. Teams receives messages through a **Workflows** webhook. ManyPI sends them as Adaptive Cards, so they show a title, the details and an **Open in ManyPI** button. ## Connect **1. Open Workflows on the channel** In Teams, open the channel's **...** menu and choose **Workflows**. **2. Pick the webhook template** Choose **Post to a channel when a webhook request is received**. **3. Copy the URL** Finish the steps and copy the URL Teams gives you. **4. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Microsoft Teams**, paste the URL, and click **Connect**. ## What gets posted Two switches on the connection, both on by default: * **Post when someone replies positively**: who replied, a one-line summary of their reply, and the campaign. * **Post when someone books a meeting**: who booked, the meeting and its time, and the calendar it came from. Each message has an **Open in ManyPI** link to the conversation. Notifications run on paid plans. Click **Test** on the connection to send a sample message to the channel. > [!TIP] > > Need every reply, bounce or deal change, or a format of your own? Use a > [webhook](/integrations/webhooks) instead and shape the message yourself. # n8n Source: https://docs.manypi.com/integrations/n8n The ManyPI node for n8n: find and verify leads, run campaigns, and start workflows when a lead, reply or run arrives. The [`n8n-nodes-manypi`](https://www.npmjs.com/package/n8n-nodes-manypi) community node covers the ManyPI API, and its trigger starts workflows when something happens in ManyPI. It also works as a tool for n8n's AI Agent. ## Install In n8n, open **Settings → Community Nodes**, click **Install**, and enter: ``` n8n-nodes-manypi ``` ## Connect your account Pick **Authentication** on the node: > [tab] OAuth2 > > Create a **ManyPI OAuth2 API** credential, click **Connect my account**, > and approve in ManyPI. There is nothing to copy. Needs n8n 1.119 or later. > > An OAuth2 connection can do anything your ManyPI account can. Published > endpoints only accept API keys, so **Endpoint → Invoke** and **Get Result** > need the API key option. > [tab] API key > > Create a key under **API Access** in the ManyPI profile menu and add a > **ManyPI API** credential with it. Untick permissions the workflow never > needs. See [API keys and permissions](/platform/api-keys). ## What the node does | Resource | Operations | | - | - | | Lead | Create or Update, Delete, Delete Many, Export, Get, Get Capacity, Get Many, Import, Update, Update Many | | Lead Search | Create or Update, Delete, Get Many, Start | | Lead Column | Create, Get Many | | Email Verification | Get, Get Many, Verify | | Campaign | Create, Delete, Enroll Leads, Get, Get Many, Get Stats, Remove Leads, Update | | Sequence | Create, Get Many | | Email | Draft With AI, Send | | Inbox | Get Many | | Reply | Get Insights, Get Many | | Suppression | Add, Get Many, Remove | | Agent Run | Cancel, Create, Delete, Get, Get Many, Reply | | Skill | Create, Get Many | | Scraper | Get Many, Run | | Scraper Run | Get, Get Data, Get Many | | Endpoint | Create, Delete, Get, Get Many, Get Result, Invoke | ## ManyPI Trigger The **ManyPI Trigger** checks ManyPI on n8n's polling schedule and starts the workflow when: | Event | Fires when | | - | - | | New Lead | A lead is saved, optionally filtered by status, search text or lead search | | New Reply | A campaign gets a reply, auto-reply or bounce, optionally filtered by campaign and sentiment | | Email Verification Reached Status | A verification job finishes | | Agent Run Reached Status | An agent run reaches a status you pick. Add Paused to hear when it is waiting for an answer | | New Campaign | A campaign is created | | Scraper Run Reached Status | A scraper run reaches a status, Completed by default | When you activate the workflow, the trigger notes what already exists and fires only for what appears or changes after that. > [!TIP] > > For events the trigger does not cover, or to react within seconds, add a > **Webhook** trigger node and point a [ManyPI webhook](/integrations/webhooks) > at its production URL. ## Example workflows * **Weekly lead search**: Schedule Trigger → ManyPI **Lead Search → Start** → wait for **Agent Run Reached Status** (Completed) → **Campaign → Enroll Leads**. * **Positive replies to your CRM**: ManyPI Trigger **New Reply** with sentiment Positive → your CRM node. * **Verify before import**: Google Sheets → ManyPI **Email Verification → Verify** → **Lead → Import**. # Integrations Source: https://docs.manypi.com/integrations/overview Connect ManyPI to your calendar, CRM, team chat and the tools you are switching from. Open **Integrations** in the ManyPI sidebar to connect anything on this page. Most take one pasted key or one sign-in. Keys are stored encrypted and never shown again. ## Switch from another tool Bring your leads, campaigns and do-not-contact list over in a few clicks. [How switching works](/integrations/switch). > [card] [Instantly](/integrations/instantly) > [card] [Smartlead](/integrations/smartlead) > [card] [lemlist](/integrations/lemlist) > [card] [Apollo](/integrations/apollo) > [card] [Snov.io](/integrations/snovio) > [card] [Saleshandy](/integrations/saleshandy) ## Calendars Booked meetings land on the lead and stop their sequence. > [card] [Google Calendar & Meet](/integrations/google-calendar) > [card] [Cal.com](/integrations/calcom) > [card] [Calendly](/integrations/calendly) ## CRM Import contacts, and send leads who reply or book to your CRM. > [card] [HubSpot](/integrations/hubspot) > [card] [Pipedrive](/integrations/pipedrive) > [card] [Attio](/integrations/attio) > [card] [Close](/integrations/close) ## Customer support Keep existing customers out of cold email, or import them. > [card] [Zendesk](/integrations/zendesk) > [card] [Intercom](/integrations/intercom) > [card] [Freshdesk](/integrations/freshdesk) ## Spreadsheets > [card] [Google Sheets](/integrations/google-sheets) > [card] [Excel](/integrations/excel) ## Notifications Tell your team the moment someone replies positively or books. > [card] [Slack](/integrations/slack) > [card] [Discord](/integrations/discord) > [card] [Google Chat](/integrations/google-chat) > [card] [Microsoft Teams](/integrations/microsoft-teams) ## Automation > [card] [n8n](/integrations/n8n) > [card] [Zapier](/integrations/zapier) > [card] [Make](/integrations/make) > [card] [Pipedream](/integrations/pipedream) ## Build your own > [card] [Webhooks](/integrations/webhooks) > > A signed POST to your server when a reply, a booking, a won deal or a > finished run happens. > [card] [Lead intake URL](/integrations/lead-intake-url) > > One URL that Clay, a form or any script can send leads to. > [card] [REST API](/api-reference/introduction) > > Everything the dashboard does, with a scoped API key. > [card] [Workflow triggers](/agent/workflows) > > Start a ManyPI workflow from an inbound webhook, on Pro and Business. ## AI assistants and your own data > [card] [ManyPI in your AI client](/mcp/connect) > > Connect `mcp.manypi.com` to Claude, ChatGPT, Cursor and others, and run lead > generation and outreach in conversation. > [card] [Your tools inside ManyPI](/agent/data) > > Connect your MCP servers and PostgreSQL, MySQL or BigQuery databases so > the ManyPI agent can use them during a run. ## Missing an integration? > [card] [Request an integration](/integrations/request) > > Tell us which tool you need. Requests decide what we build next. # Pipedream Source: https://docs.manypi.com/integrations/pipedream Receive ManyPI events in a Pipedream workflow, check their signature, and call the ManyPI API from code. Pipedream suits workflows that need a little code: checking webhook signatures, reshaping a payload, or calling several APIs in a row. ## Start a workflow from ManyPI events **1. Add an HTTP trigger** Create a workflow with the **HTTP / Webhook** trigger and copy its URL. **2. Add a ManyPI webhook** In ManyPI, open the profile menu, then **Developers → Webhooks**. Add a webhook with Pipedream's URL, the events you want, and a signing secret. Store the same secret in Pipedream as an environment variable named `MANYPI_WEBHOOK_SECRET`. **3. Check the signature** Pipedream parses the JSON body for you. ManyPI sends compact JSON, so serializing the parsed body again gives back the exact bytes that were signed. Add a Node.js step: ```js theme={null} import { createHmac, timingSafeEqual } from "node:crypto"; export default defineComponent({ async run({ steps, $ }) { const raw = JSON.stringify(steps.trigger.event.body); const sig = steps.trigger.event.headers["x-webhook-signature"] ?? ""; const expected = createHmac("sha256", process.env.MANYPI_WEBHOOK_SECRET) .update(raw) .digest("hex"); if (sig.length !== expected.length || !timingSafeEqual(Buffer.from(sig), Buffer.from(expected))) { return $.flow.exit("Bad signature"); } return steps.trigger.event.body; }, }); ``` See [Webhooks](/integrations/webhooks) for every event and its fields. ## Call the ManyPI API From any Node.js step: ```js theme={null} export default defineComponent({ async run() { const res = await fetch("https://app.manypi.com/api/user", { headers: { Authorization: `Bearer ${process.env.MANYPI_API_KEY}` }, }); return await res.json(); }, }); ``` Store the key as an environment variable and give it only the permissions the workflow needs. Every endpoint is in the [API reference](/api-reference/introduction). ## Send leads into ManyPI Post to your [lead intake URL](/integrations/lead-intake-url) from a code step or the **Send any HTTP request** action, with the leads as JSON. # Pipedrive Source: https://docs.manypi.com/integrations/pipedrive Import Pipedrive people as leads, and send leads who reply or book back to Pipedrive. ## Connect **1. Copy your API token** In Pipedrive, click your profile, then **Personal preferences**, and open the **API** tab (or go straight to [API settings](https://app.pipedrive.com/settings/api)). Copy your personal API token. **2. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Pipedrive**, paste the token, and click **Connect**. ## What you can do > [accordion] Import contacts > > Open the Pipedrive connection under **Integrations** and click **Import Pipedrive > contacts**. Choose what they are: > > * **Prospects to reach out to** become leads you can add to campaigns. > * **Existing customers** go on your do-not-contact list, so nobody you > already work with gets cold email. > [accordion] Send leads > > In **Leads**, tick the leads you want (or filter the list), open > **Export**, and click **Send to Pipedrive**. Leads already in Pipedrive with the > same email are updated, not duplicated. > [accordion] Add leads automatically > > Two switches on the connection, both on by default: > > * **Add leads who reply positively**, with their reply as a note. > * **Add leads who book a meeting**, with the meeting as a note. > > These run on paid plans. Leads go to Pipedrive as people. # Missing an integration? Source: https://docs.manypi.com/integrations/request Tell us which tool you want ManyPI to work with. Requests decide what we build next. If a tool you use is not on the [Integrations](/integrations/overview) list, email us. We read every request, and the tools people ask for most are the ones we build next. > [card] [Email us your request](mailto:ask@support.manypi.com?subject=Integration%20request\&body=Tool%3A%20%0AWhat%20I%20want%20it%20to%20do%3A%20%0AHow%20I%20use%20it%20today%3A%20) > > `ask@support.manypi.com` ## What helps us most * **The tool**, with a link if it is not well known. * **What you want to happen.** For example: "when a lead replies positively, create a deal in our CRM", or "import my contacts from it". * **How you work around it today**, if you do. ## Connect it yourself in the meantime Most tools can already be wired up without a dedicated integration: > [card] [Webhooks](/integrations/webhooks) > > Send replies, bookings, deals and finished runs to any URL. > [card] [Lead intake URL](/integrations/lead-intake-url) > > Let any tool that can send a webhook add leads to ManyPI. > [card] [n8n, Zapier, Make](/integrations/n8n) > > Connect ManyPI to thousands of apps without code. > [card] [REST API](/api-reference/introduction) > > Everything the dashboard does, from your own code. # Saleshandy Source: https://docs.manypi.com/integrations/saleshandy Move your prospects, sequences and do-not-contact lists from Saleshandy to ManyPI. ## What comes over * Every prospect with its custom fields * Sequences as paused drafts, variants included * Your do-not-contact lists, onto your do-not-contact list ## Get your API key **1. Open Settings in Saleshandy** Or go straight to [API Key settings](https://my.saleshandy.com/settings/api-key). **2. Go to API Key** **3. Create a key and copy it** ## Run the import **1. Open the wizard** In ManyPI, open **Integrations** in the sidebar, click **Switch from another tool**, and pick Saleshandy. **2. Paste your key** ManyPI checks it and scans the account. Nothing is imported yet: you see how many leads, campaigns and do-not-contact entries it found. **3. Choose what to bring** Everything starts ticked. Untick **Recreate the campaigns**, **Continue where they left off** or **Bring the do-not-contact list** to leave any of them behind. **4. Import** The import runs on ManyPI's servers. Close the window whenever you like; **Integrations** shows its progress until it is done. ## After the import * Campaigns arrive as **drafts**. Nothing sends until you connect an inbox and launch. See [Inboxes and warmup](/outreach/inboxes). * With **Continue where they left off**, leads Saleshandy had not emailed yet are queued in their new campaign, so the sequence picks up when you launch. * A lead with the same email as one you already have is merged, not duplicated. Imported leads count toward your plan's lead limit. * Custom variables become lead fields with the same names, so the copied emails keep their personalization. * Your key is stored encrypted while the import runs and erased when it ends. # Slack Source: https://docs.manypi.com/integrations/slack A message in a Slack channel when someone replies positively or books a meeting. ManyPI posts to Slack through an incoming webhook, which belongs to one channel. ## Connect **1. Create a Slack app** Go to [api.slack.com/apps](https://api.slack.com/apps), click **Create New App**, then **From scratch**, and pick your workspace. **2. Turn on incoming webhooks** Open **Incoming Webhooks** and switch it on. **3. Add a webhook** Click **Add New Webhook to Workspace**, pick the channel, and copy the URL. It starts with `https://hooks.slack.com/services/`. **4. Paste it in ManyPI** Open **Integrations** in the sidebar, click **Slack**, paste the URL, and click **Connect**. ## What gets posted Two switches on the connection, both on by default: * **Post when someone replies positively**: who replied, a one-line summary of their reply, and the campaign. * **Post when someone books a meeting**: who booked, the meeting and its time, and the calendar it came from. Each message has an **Open in ManyPI** link to the conversation. Notifications run on paid plans. Click **Test** on the connection to send a sample message to the channel. > [!TIP] > > Need every reply, bounce or deal change, or a format of your own? Use a > [webhook](/integrations/webhooks) instead and shape the message yourself. # Smartlead Source: https://docs.manypi.com/integrations/smartlead Move your leads, campaigns and lead statuses from Smartlead to ManyPI. ## What comes over * Every lead in every campaign, with its custom fields * Campaigns as paused drafts, variants included * Bounced, unsubscribed and do-not-contact leads, onto your do-not-contact list ## Get your API key **1. Open Settings in Smartlead** Or go straight to [your profile settings](https://app.smartlead.ai/app/settings/profile). **2. Find the API Key section** Click **Activate API** if you have not used the API before. **3. Copy the key** ## Run the import **1. Open the wizard** In ManyPI, open **Integrations** in the sidebar, click **Switch from another tool**, and pick Smartlead. **2. Paste your key** ManyPI checks it and scans the account. Nothing is imported yet: you see how many leads, campaigns and do-not-contact entries it found. **3. Choose what to bring** Everything starts ticked. Untick **Recreate the campaigns**, **Continue where they left off** or **Bring the do-not-contact list** to leave any of them behind. **4. Import** The import runs on ManyPI's servers. Close the window whenever you like; **Integrations** shows its progress until it is done. ## After the import * Campaigns arrive as **drafts**. Nothing sends until you connect an inbox and launch. See [Inboxes and warmup](/outreach/inboxes). * With **Continue where they left off**, leads Smartlead had not emailed yet are queued in their new campaign, so the sequence picks up when you launch. * A lead with the same email as one you already have is merged, not duplicated. Imported leads count toward your plan's lead limit. * Custom variables become lead fields with the same names, so the copied emails keep their personalization. * Your key is stored encrypted while the import runs and erased when it ends. # Snov.io Source: https://docs.manypi.com/integrations/snovio Move your prospect lists, drip campaigns and do-not-email lists from Snov.io to ManyPI. ## What comes over * Every prospect in your lists * The email steps of your campaigns, as paused drafts * Your do-not-email lists, onto your do-not-contact list ## Get your API credentials Snov.io uses two values, a **User ID** and a **Secret**. Paste both. **1. Open Account settings in Snov.io** Or go straight to [the API tab](https://app.snov.io/account/api). **2. Go to the API tab** **3. Copy both values** Copy your **User ID** and **API Secret**. ## Run the import **1. Open the wizard** In ManyPI, open **Integrations** in the sidebar, click **Switch from another tool**, and pick Snov.io. **2. Paste your key** ManyPI checks it and scans the account. Nothing is imported yet: you see how many leads, campaigns and do-not-contact entries it found. **3. Choose what to bring** Everything starts ticked. Untick **Recreate the campaigns**, **Continue where they left off** or **Bring the do-not-contact list** to leave any of them behind. **4. Import** The import runs on ManyPI's servers. Close the window whenever you like; **Integrations** shows its progress until it is done. ## After the import * Campaigns arrive as **drafts**. Nothing sends until you connect an inbox and launch. See [Inboxes and warmup](/outreach/inboxes). * With **Continue where they left off**, leads Snov.io had not emailed yet are queued in their new campaign, so the sequence picks up when you launch. * A lead with the same email as one you already have is merged, not duplicated. Imported leads count toward your plan's lead limit. * Custom variables become lead fields with the same names, so the copied emails keep their personalization. * Your key is stored encrypted while the import runs and erased when it ends. # Switch from another tool Source: https://docs.manypi.com/integrations/switch Bring your leads, campaigns and do-not-contact list over from the outreach tool you use today. Paste your current tool's API key and ManyPI brings over what you have built there. It scans first, so you see what it found before anything is imported. ## Pick your old tool > [card] [Instantly](/integrations/instantly) > [card] [Smartlead](/integrations/smartlead) > [card] [lemlist](/integrations/lemlist) > [card] [Apollo](/integrations/apollo) > [card] [Snov.io](/integrations/snovio) > [card] [Saleshandy](/integrations/saleshandy) ## What comes over | | | | - | - | | **Leads** | With their custom variables, merged into any you already have. | | **Campaigns** | Recreated as drafts with their email steps and variants. | | **Where you left off** | Leads the old tool had not emailed yet are queued in the new campaign. | | **Do-not-contact** | Block lists, bounces and unsubscribes, so nobody who opted out hears from you again. | Nothing sends until you connect an inbox and launch. The key is stored encrypted and erased when the import ends, and the import keeps going if you close the tab. ## Another tool For a tool not listed, export its leads and drop the file anywhere on **Leads**. ManyPI matches the columns the way it does for any CSV or Excel file. | Tool | Where the export is | | - | - | | Reply.io | **People**, select all, then **Export to CSV** | | Woodpecker | **Prospects**, select all, then **Export** | | Mailshake | **Recipients** in the campaign, then **Export to CSV** | | Outreach | **Prospects**, select all, then **Export to CSV** | | Salesloft | **People**, select all, then **Export** | | Hunter | **Leads**, choose the list, then **Export to CSV** | Do-not-contact lists exported the same way can be added to your [suppression list](/outreach/replies#suppression-list). ## From code or an AI assistant The same import runs over REST and from the MCP server: > [card] [Imports API](/api-reference/imports/scan-import) > > Scan, start, advance and cancel an import. > [card] [MCP import tools](/mcp/tools/imports) > > `scan_import`, `start_import` and the rest. # Webhooks Source: https://docs.manypi.com/integrations/webhooks Get a signed POST on your own server when a reply comes in, a meeting is booked, a deal is won or a run finishes. A webhook sends a `POST` to a URL you choose whenever one of the events you picked happens. It belongs to the workspace, so everyone in it sees the same list. ## Add a webhook **1. Open Webhooks** In ManyPI, open the profile menu, choose **Developers → Webhooks**, and click **New webhook**. **2. Paste your URL** It must be `https` and reachable from the internet. **3. Pick a scope** What the webhook covers: * **Whole workspace**: everything. * **One brand**: only that brand's events. * **One campaign**: replies, bounces, meetings and campaign events for that campaign. * **One scraper**: that scraper's runs. The events on offer follow from the scope: a campaign scope cannot hear "Deal won". Members limited to some brands can only pick those brands, their campaigns, or their own scrapers. **4. Pick events and save** Optionally add a **signing secret** so you can check each request came from ManyPI. Then open the webhook's menu and click **Send test**. ## Events | Event | When | | :- | :- | | `lead.created` | A lead was saved, by an agent, an import or by hand. | | `lead.status_changed` | A lead moved between new, qualified, contacted or disqualified. | | `reply.received` | Someone wrote back. Out-of-office replies are not included. | | `reply.analyzed` | A reply was scored, with `sentiment`, `intent` and `summary`. | | `email.bounced` | A message came back undelivered. | | `meeting.booked` | A lead booked a call through a connected calendar. | | `enrollment.completed` | A lead reached the end of a campaign without replying. | | `enrollment.unsubscribed` | A lead opted out of a campaign. | | `deal.created` | A deal was opened. | | `deal.stage_changed` | A deal moved between open stages. | | `deal.won`, `deal.lost` | A deal reached a won or lost stage. | | `agent_run.completed`, `agent_run.failed` | An agent run ended. Includes `leads_found`. | | `scraper_run.completed`, `scraper_run.failed` | A scraper run ended. Completed runs include `result`. | ## Payload ```json theme={null} { "id": "evt_8812", "type": "reply.received", "created_at": "2026-10-17T09:12:03.120Z", "workspace_id": "5b0c…", "brand_id": "9f1e…", "data": { "reply_id": "…", "lead_id": "…", "campaign_id": "…", "from_email": "jordan@example.com", "subject": "Re: Quick question", "body_text": "Sounds good, send me some times." } } ``` `data` holds the event's own fields. `id` is the same on every retry of the same event, so use it to ignore duplicates. Scraper events also carry the fields the older scraper-only webhooks sent (`event`, `runId`, `scraperId`, `status`, `result`, `metadata`), so receivers written for them keep working. ## Headers | Header | Value | | :- | :- | | `X-Webhook-Event` | The event type, for example `reply.received` | | `X-Webhook-Id` | Same as `id` in the body | | `X-Webhook-Delivery` | Unique per webhook and event | | `X-Webhook-Attempt` | `1` on the first try, then `2`, `3`, … | | `X-Webhook-Signature` | Only when the webhook has a signing secret | ## Verify the signature The signature is a hex HMAC SHA-256 of the **raw** request body, keyed with your signing secret. Compute it over the bytes you received, before parsing the JSON. ```js Node.js theme={null} import { createHmac, timingSafeEqual } from "node:crypto"; export function verify(rawBody, signature, secret) { const expected = createHmac("sha256", secret).update(rawBody).digest("hex"); return ( typeof signature === "string" && signature.length === expected.length && timingSafeEqual(Buffer.from(signature), Buffer.from(expected)) ); } ``` ```python Python theme={null} import hashlib import hmac def verify(raw_body: bytes, signature: str, secret: str) -> bool: expected = hmac.new(secret.encode(), raw_body, hashlib.sha256).hexdigest() return hmac.compare_digest(expected, signature or "") ``` `created_at` is inside the signed body. Refuse requests older than a few minutes if you want to block replays. ## Delivery and retries * Answer with any `2xx` within 8 seconds. Do slow work after you respond. * Redirects are not followed, so use the final URL. * A failed delivery is retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 8 hours: six attempts in all. * After 25 failed attempts in a row the webhook pauses itself and shows **Paused after failures**. Fix the receiver, use **Send test**, then **Resume**. * Events usually arrive within a minute or two. ## Manage webhooks with the API The webhook routes accept a session or an API key (`Authorization: Bearer mpi_…`). | Method | Path | Body | | :- | :- | :- | | `GET` | `/api/webhooks` | Lists webhooks, and the brands, campaigns and scrapers you can scope to | | `POST` | `/api/webhooks` | `{ "url", "scope_type", "scope_id", "events", "secret" }` | | `PATCH` | `/api/webhooks/{id}` | Any of the above, plus `"enabled"`. Leave out `secret` to keep it; send `null` to remove it | | `DELETE` | `/api/webhooks/{id}` | | | `POST` | `/api/webhooks/{id}/test` | Sends a `webhook.test` event now and returns the response code | `scope_type` is `workspace`, `brand`, `campaign` or `scraper`, and `scope_id` is the brand, campaign or scraper id (leave it out for `workspace`). A workspace can have up to 20 webhooks. The signing secret is never returned. ```bash theme={null} curl -X POST https://app.manypi.com/api/webhooks \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{"url":"https://example.com/manypi","scope_type":"workspace","events":["reply.received","meeting.booked"],"secret":"a-long-random-string"}' ``` # Zapier Source: https://docs.manypi.com/integrations/zapier Send leads into ManyPI, start Zaps from ManyPI events, and call the ManyPI API from Zapier. Zapier talks to ManyPI through its built-in **Webhooks by Zapier** app, which needs a paid Zapier plan. ## Send leads into ManyPI Use the [lead intake URL](/integrations/lead-intake-url), so there is no key to manage. **1. Copy your intake URL** In ManyPI, open **Integrations → Lead intake URL** and copy the URL. **2. Add a POST action** In your Zap, add **Webhooks by Zapier → POST**. Paste the URL and set **Payload Type** to **JSON**. **3. Map the fields** Under **Data**, add `email`, `first_name`, `company` and any other fields from earlier steps. To add the lead to a campaign at the same time, add `campaign_id`. ## Start a Zap when something happens in ManyPI **1. Add a Catch Hook trigger** Start the Zap with **Webhooks by Zapier → Catch Hook** and copy the URL Zapier gives you. **2. Add a ManyPI webhook** In ManyPI, open the profile menu, then **Developers → Webhooks**. Add a webhook with Zapier's URL and the events you want, for example **Reply received** and **Meeting booked**. **3. Send a test** Click **Send test** on the webhook, then **Test trigger** in Zapier. The event's fields show up under **Data**. See [Webhooks](/integrations/webhooks) for every event and its fields. ## Call the ManyPI API To start a lead search, enroll leads or anything else the API does, add **Webhooks by Zapier → Custom Request** with a header: ``` Authorization: Bearer mpi_your_api_key ``` Pick the method and URL from the [API reference](/api-reference/introduction), and give the key only the permissions the Zap needs. ## Polling for scraper runs If you cannot receive a webhook, `GET https://app.manypi.com/api/runs?limit=20` returns recent scraper runs as a flat list, the shape a polling trigger expects. A run keeps its id from `pending` to `completed`, so filter to `status: completed` before you deduplicate, or the Zap fires once while the run is still queued. # Zendesk Source: https://docs.manypi.com/integrations/zendesk Keep your Zendesk customers out of cold email, or import them as leads. ## Connect Zendesk needs three things: your subdomain, an agent email and an API token. **1. Create an API token** In Zendesk, open **Admin Center → Apps and integrations → Zendesk API**. Turn on **Token access**, click **Add API token**, and copy it. **2. Fill in the connection** Open **Integrations** in ManyPI, click **Zendesk**, and enter: * **Subdomain**: `acme` if your help center is `acme.zendesk.com` * **Agent email**: the email of the agent who created the token * **API token**: the token you copied ## Import contacts Open the Zendesk connection under **Integrations** and click **Import contacts**. Choose what they are: * **Existing customers** go on your do-not-contact list. This is the usual choice for a support tool: the people in it already pay you, and cold email is the fastest way to annoy them. * **Prospects to reach out to** become leads you can add to campaigns. Run it again whenever you want to pick up new contacts. Addresses already on the list are skipped. # Email validation Source: https://docs.manypi.com/leads/email-validation Probe every address before you send, so dead mailboxes never cost you a bounce. ManyPI verifies email addresses with a **real SMTP mailbox probe** from a dedicated sending host — not a guess from a pattern database. The result is written back onto the lead and used automatically to protect your sending reputation. ## Statuses | Status | Meaning | Blocks sending? | | - | - | - | | `valid` | The mailbox exists and accepts mail. | No | | `invalid` | The server rejected the address. | **Yes** | | `no_mx` | The domain has no mail server at all. | **Yes** | | `disposable` | A throwaway-address provider. | **Yes** | | `catch_all` | The domain accepts everything, so the mailbox cannot be confirmed. | No | | `unknown` | The probe was inconclusive (greylisting, timeout, blocking). | No | > [!NOTE] > > `catch_all` and `unknown` deliberately do **not** block sending. Catch-all > covers a large share of real B2B domains, and refusing to write to them would > cost far more genuine prospects than the occasional bounce it avoids. If you > would rather be strict, turn on **Skip unverifiable** in the brand's > deliverability settings. ## Running a validation ### From the dashboard Select leads in the grid and choose **Verify emails**. You get a price estimate first — how many addresses are billable versus already known — and the grid shows live progress as the job runs. ### From the API ```bash theme={null} curl -X POST https://app.manypi.com/api/leads/validate \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "lead_ids": ["8f1c…", "b207…"] }' ``` You can pass `lead_ids`, a raw `emails` array, or both. Add `"estimate_only": true` to price the run without queueing it. ```json Response theme={null} { "job_id": "…", "total": 2, "estimate": { "billable": 1, "free": 1 } } ``` Poll [`GET /api/leads/validate/{jobId}`](/api-reference/validation/get-job) for progress and the per-address breakdown. This endpoint requires the **`leads:validate`** permission on your API key — deliberately separate from plain `write`, so a general-purpose key cannot run up a validation bill. ## What you are charged for One validation credit per **probe that actually runs**. You are not charged for: * addresses ManyPI already has a fresh result for (results are cached and re-used across your workspace), * addresses rejected by the cheap pre-check — malformed syntax, or a domain with no MX record at all. The estimate returned before a run splits the batch into `billable` and `free` so there are no surprises. Included allowances match your outreach volume exactly (1,000 / 5,000 / 20,000 per seat per month on Starter / Pro / Business), on the principle that verifying everything you send should cost nothing extra. Beyond that, overage is \$0.005 per validation. Out of credits with overage off, the endpoint returns `402` with `code: "validation_credits_exhausted"`. ## Automatic validation on enroll By default, enrolling leads into a campaign **validates them first**. Addresses that come back undeliverable are skipped rather than sent to, which is the single most effective bounce guard there is. Both behaviours are per-brand settings, so an agency's cold-outbound brand and its warm-referral brand can differ: | Setting | Default | Effect | | - | - | - | | **Validate on enroll** | On | Queue a validation for any lead whose address has not been checked recently. | | **Skip unverifiable** | Off | Also refuse `catch_all` and `unknown`, not just the three hard-fail statuses. | ## Reading results Validation writes onto the lead itself: * `email_status` — one of the statuses above * `email_provider` — the receiving mail provider (Google, Microsoft, …) * `email_is_role` — `true` for role addresses like `info@` or `sales@` * `email_validated_at` — when it was checked Filter the grid by any of these, or export them — they are columns in the CSV. > [!TIP] > > Role addresses (`info@`, `contact@`, `sales@`) are usually valid *and* usually > worthless for cold outreach. Filter on `email_is_role` before you enroll. # Finding leads Source: https://docs.manypi.com/leads/finding-leads Describe your ideal customer and let the agent source, enrich and save real leads. Lead generation is a specialised agent run. You give it criteria; it searches the live web, opens candidate sites, cross-checks what it finds, and writes enriched leads into your workspace as it goes. ## Starting a search Open **Leads → Find leads**, or call [`POST /api/leads/research`](/api-reference/leads/start-research). ### The description does most of the work ```text theme={null} B2B SaaS companies in the DACH region selling to marketing teams, 20–200 employees, that have raised a seed or Series A round. I want the founder or VP Marketing with a work email. Skip agencies and consultancies. ``` Write it the way you would brief a junior researcher: who they are, why they qualify, and what would disqualify them. ### Structured criteria The fields beside the description are what the agent enforces, and what gets saved when you store the search as a profile. | Field | What it does | | - | - | | `description` | Free-text ICP. The backbone of the instruction. | | `count` | How many **new** leads to save. Clamped to your remaining plan capacity. | | `locations` | Countries, regions or cities. | | `industries` | Industry or vertical tags. | | `company_size` | Free text on purpose — `"5-50 employees"`, `"Series A"`, `"under $5M ARR"`. | | `titles` | Roles to reach inside each company. | | `keywords` | Signals a company must show (technology, marketplace presence, phrases). | | `exclusions` | Hard excludes. Matches are dropped, not saved and flagged. | | `required_fields` | Any of `email`, `phone`, `full_name`, `title`, `linkedin_url`, `location`. A lead missing a required field is not saved. | | `extra_columns` | Extra researched columns, written to the lead's custom fields. | | `sources` | Where to look — directories, marketplaces, maps, specific sites. | | `notes` | Anything the structured fields do not cover. | > [!TIP] > > `required_fields: ["email"]` is the default and usually the right one. Adding > `phone` as required will cut your yield sharply, because most B2B sites do not > publish direct phone numbers. ### Extra columns `extra_columns` is where lead research turns into lead *enrichment*. Each entry is a name plus a description of what to look for: ```json theme={null} "extra_columns": [ { "name": "Ecommerce platform", "description": "Shopify, WooCommerce, custom, or unknown" }, { "name": "Pricing page", "description": "Direct URL to their pricing page if public" }, { "name": "Hiring", "description": "Are they currently hiring sales roles?" } ] ``` Each becomes a column in the Leads grid and a key on the lead's `custom` object, so you can filter, export and merge on it like any other field. ## Find more like these Select existing leads and choose **Find similar**. ManyPI snapshots those leads into the criteria and searches for companies that match their shape. Over the API this is `seed_lead_ids` on [`POST /api/leads/research`](/api-reference/leads/start-research). The seeds are copied into the saved criteria, so the search stays re-runnable even after those leads change. ## Saved searches A search saved as a **profile** keeps its structured criteria, so you can re-open it, edit it and run it again. Re-running only saves companies you do not already have, which makes a saved search a recurring lead source rather than a one-off. Profiles are managed at [`/api/leads/research-profiles`](/api-reference/leads/list-research-profiles), and every run stamps the profile it came from — that is what the campaign filter in the Leads grid groups by. ## What happens during a run **1. Planning** The agent turns your criteria plus your brand context into a research plan. **2. Sourcing** It searches and crawls: directories, company sites, marketplaces, maps and whatever `sources` you named. **3. Qualifying** Each candidate is checked against your criteria and exclusions. Failures are dropped silently rather than saved as noise. **4. Enriching** Required fields and extra columns are researched per company. **5. Saving** Leads are written in batches as they are confirmed, so you see results while the run is still going. ### It will ask you questions If your criteria are ambiguous the run **pauses** and asks. In the dashboard the question appears in the chat. Over the API the run's status becomes `paused` and the question is in `result_summary`; answer with [`POST /api/agents/runs/{id}/reply`](/api-reference/agent/reply-to-run) and the same run continues. ## Capacity and limits Your plan caps stored leads (50 / 2,500 / 25,000 / 100,000). Before a run starts, ManyPI reads your remaining capacity and **clamps `count` to it**. If you asked for 50 and have room for 8, the response tells you so: ```json theme={null} { "run_id": "…", "count": 8, "clamped": { "requested": 50, "allowed": 8, "limit": 2500 } } ``` A completely full workspace returns `403` with `code: "lead_limit"`. Archive leads you are done with, or upgrade. Check headroom any time with [`GET /api/leads/capacity`](/api-reference/leads/get-capacity). ## Cost Lead research spends **AI credits** (reasoning and extraction) and **crawl credits** (one per page fetched or search performed). A 25-lead search on a well-indexed niche typically costs a few dozen crawls; a hard niche where the agent has to dig costs more. ## Doing it from an AI assistant With the [MCP server](/mcp/introduction) connected: ```text theme={null} Find me 25 e-commerce agencies in Germany with 5–50 employees and a contact email, then show me what you saved. ``` Your assistant calls `generate_leads`, polls `get_agent_run`, answers any clarifying question with `reply_to_agent`, and reads results with `search_leads`. # Managing leads Source: https://docs.manypi.com/leads/managing-leads Fields, custom columns, statuses, import, export and deduplication. The Leads grid is the working surface for everything ManyPI has found or you have imported. It is workspace-wide: teammates on a paid plan see and act on the same pool. ## Lead fields ### Core fields Fixed columns every lead has: `company` · `full_name` · `title` · `email` · `phone` · `domain` · `linkedin_url` · `location` · `source_url` · `score` · `status` Validation writes four more: `email_status`, `email_provider`, `email_is_role` and `email_validated_at`. ### Custom columns Anything else is a custom column you declare yourself, with a label, a type and an optional description. Values live on the lead's `custom` object. Set **auto-research** on a column and the agent fills it in on future runs without you restating it in every search. Declare columns in the grid's column menu, or over the API with [`POST /api/leads/fields`](/api-reference/leads/create-field). > [!NOTE] > > Columns are declared separately from values on purpose — a column you add now > and fill later has no data to be inferred from, so it has to exist in its own > right. ## Statuses and flags | Value | Meaning | | - | - | | `new` | Untouched. | | `qualified` | You have reviewed it and want it. | | `contacted` | Outreach has gone out. Set automatically when an email sends. | | `disqualified` | Not a fit. Stays stored so it is not re-found. | Two flags are **not** statuses: * **Archived** — hidden from every view and from exports, but still stored and still counted against... nothing. Archiving is how you free plan capacity without deleting history. * **Unsubscribed** — the recipient opted out. They are excluded from every send permanently. Filter by either with `?status=archived` or `?status=unsubscribed`. ## Importing **Leads → Import** accepts CSV, a pasted block, or manual entry. Map your columns onto ManyPI fields; anything unmapped can be declared as a new custom column in the same step. ### Duplicate handling Choose what happens when an incoming row matches a lead you already have: | Mode | Behaviour | | - | - | | `merge` *(default)* | Fill in blanks on the existing lead, keep what is already there. | | `overwrite` | Incoming values win. | | `skip` | Leave the existing lead untouched. | Matching is by email, falling back to domain plus name. A row with neither has nothing to be filed under and is skipped. ### Over the API [`POST /api/leads/import`](/api-reference/leads/import-leads) takes **up to 100 rows per request**. Chunk larger files client-side — that is what the dashboard importer does, and it is why a ten-thousand-row file shows real progress instead of a spinner that eventually times out. ```bash theme={null} curl -X POST https://app.manypi.com/api/leads/import \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "duplicates": "merge", "declare_fields": [ { "label": "Ecommerce platform", "type": "text" } ], "rows": [ { "company": "Acme GmbH", "full_name": "Lena Roth", "title": "Head of Growth", "email": "lena@acme.de", "domain": "acme.de", "custom": { "ecommerce_platform": "Shopify" } } ] }' ``` The response reports exactly what happened: ```json theme={null} { "created": 1, "updated": 0, "skippedDuplicate": 0, "skippedNoIdentity": 0, "skippedOverLimit": 0, "failed": [], "remaining": 2499, "declared": ["ecommerce_platform"] } ``` If the workspace filled up mid-import the response still returns `200` — the rows that fitted were written — with `code: "lead_limit"` so your client can report it honestly. ## Exporting [`GET /api/leads/export`](/api-reference/leads/export-leads) streams the filtered set as CSV, up to 10,000 rows, honouring the same `status` and `q` filters as the grid. Archived leads are excluded unless you ask for them. ## Bulk actions Select rows and change status, archive, restore or delete in one go. Over the API that is `PATCH /api/leads` and `DELETE /api/leads` with up to 500 ids per call. ```bash theme={null} curl -X PATCH https://app.manypi.com/api/leads \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "ids": ["8f1c…", "b207…"], "status": "qualified" }' ``` ## Searching and filtering `GET /api/leads` supports: | Parameter | Effect | | - | - | | `q` | Free text across company, name, email and domain. | | `status` | A lead status, or `archived` / `unsubscribed`. | | `campaign` | The agent run (lead search) that produced the leads. | | `brand` | Narrow to one brand's leads, or `all`. | | `limit` / `offset` | Paging. Max 500 per page. | The response also returns `customFields`, `campaigns` (your past lead searches with counts), `workspaceTotal` and `leadLimit`, which is everything a client needs to render the grid without a second round-trip. # MCP authentication Source: https://docs.manypi.com/mcp/authentication Browser sign-in or an API key — how each works and which to choose. The MCP server accepts two credentials, and both resolve to the same ManyPI user. Either way the server itself stores nothing: it forwards your credential to the ManyPI REST API on every call, which is where authorization, rate limiting and credit accounting happen. ## Option 1 — Sign in with your browser (OAuth 2.1) Supported by **Claude Code**, **Claude.ai & Desktop**, **Cursor** and **VS Code**. Nothing to paste. The client registers itself with ManyPI, opens a browser, you approve, and it connects. **1. Add the server without a header** ```bash theme={null} claude mcp add --transport http manypi https://mcp.manypi.com/mcp -s user ``` **2. The client discovers the auth flow** Its first call gets a `401` carrying a `WWW-Authenticate` challenge that points at ManyPI's protected-resource document, which names the authorization server and its dynamic-registration endpoint. **3. You approve** Your browser opens ManyPI's consent screen. Approve, and the client receives an access token. **4. It just works** Every subsequent tool call carries that token. ### Why prefer it * No long-lived secret sitting in a config file. * Revocable per client from **Settings → Connected apps** — revoking kills that client's sessions and invalidates its tokens immediately, so a connected agent stops being able to act as you the moment you say so. * Standards-based: RFC 7591 dynamic client registration, RFC 9728 protected-resource metadata, OAuth 2.1 with PKCE. > [!NOTE] > > Reviewing and revoking grants is a session-only operation. An API key or an > OAuth token cannot enumerate or tear down your other connections — you have to > be signed in to the dashboard. ## Option 2 — API key Works with **every** client. Create a key under **API Access** in the profile menu and send it as a header: ``` Authorization: Bearer mpi_your_api_key ``` ### Which permissions to grant | Doing this over MCP | Needs | | - | - | | `search_leads`, `list_*`, `get_*`, `outreach_stats` | `read` | | `generate_leads`, `run_agent`, `reply_to_agent` | `agents` | | `create_sequence`, `create_campaign`, `update_campaign`, `draft_email` | `write` | | `scan_import`, `start_import`, `continue_import`, `cancel_import` | `write` | | `run_scraper` | `scraper` | | `enroll_leads`, `send_email` | `outreach:send` | A key that lacks a permission fails that tool with a permission error while the rest keep working — so you can hand an assistant a research-only key and keep sending under your own control. > [!WARNING] > > A key with `outreach:send` can email your prospects from your domain. Keep it > out of shared configs and out of version control. > [card] [API keys and permissions](/platform/api-keys) > > The full permission catalogue, rate limits and rotation guidance. ## Scope of a connection One credential means one ManyPI workspace. The tools act on whichever workspace that credential belongs to, using the brand you are currently working in. ## Rate limits 60 requests per minute, whether you authenticate with a key or an OAuth token. A burst of tool calls in one conversation is well inside that; a runaway loop is not, and will start receiving `429`. # Antigravity Source: https://docs.manypi.com/mcp/clients/antigravity Add ManyPI to Google Antigravity's agent. In the Agent panel, open **MCP servers → Add server**, or edit the MCP config and add: ```json theme={null} { "mcpServers": { "manypi": { "serverUrl": "https://mcp.manypi.com/mcp", "headers": { "Authorization": "Bearer mpi_your_api_key" } } } } ``` Note the key is `serverUrl`, not `url`. Refresh the server list and ManyPI's tools are available to the agent. > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # ChatGPT Source: https://docs.manypi.com/mcp/clients/chatgpt Add ManyPI to ChatGPT as a custom connector in developer mode. Custom connectors need a paid ChatGPT plan with developer mode turned on. **1. Turn on developer mode** Open **Settings → Connectors → Advanced** and switch on **Developer mode**. **2. Create the connector** Under **Connectors**, click **Create**, name it `ManyPI`, and paste: ``` https://mcp.manypi.com/mcp ``` **3. Add your key** Add a custom header so every call is authenticated: ``` Authorization: Bearer mpi_your_api_key ``` **4. Use it in a chat** Start a new chat, open the **+** menu, choose **Developer mode**, and pick **ManyPI**. > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Claude.ai and Claude Desktop Source: https://docs.manypi.com/mcp/clients/claude Add ManyPI as a custom connector in Claude on the web, desktop and mobile. A connector added on claude.ai is also available in Claude Desktop and the Claude mobile apps signed in to the same account. ## Sign in with your browser **1. Add a custom connector** Open **Settings → Connectors** and click **Add custom connector**. **2. Name it and paste the URL** Name it `ManyPI` and paste: ``` https://mcp.manypi.com/mcp ``` Leave the advanced OAuth fields empty. Claude reads them from ManyPI. **3. Connect** Click **Connect**. ManyPI opens in a new window; approve, and the connector goes live. **4. Turn it on in a chat** In a conversation, open the tools menu and make sure **ManyPI** is enabled. On Team and Enterprise plans, an owner may need to add the connector for the organization first under **Admin settings → Connectors**. ## Use an API key instead Add the connector the same way. When Claude asks for an Authorization header, paste: ``` Authorization: Bearer mpi_your_api_key ``` > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Claude Code Source: https://docs.manypi.com/mcp/clients/claude-code Add ManyPI to Claude Code with one command and sign in with your browser. Claude Code connects to ManyPI over HTTP and can sign in with your browser, so there is no key to copy. ## Sign in with your browser **1. Add the server** ```bash theme={null} claude mcp add --transport http manypi https://mcp.manypi.com/mcp -s user ``` `-s user` makes ManyPI available in every project. Leave it out to add it to the current project only. **2. Authenticate** Start Claude Code, run `/mcp`, choose **manypi**, then **Authenticate**. Your browser opens ManyPI; approve the connection. **3. Check it** Run `/mcp` again. **manypi** shows as connected with its tools listed. ## Use an API key instead For CI, a shared machine, or anywhere a browser is not available: ```bash theme={null} claude mcp add --transport http manypi https://mcp.manypi.com/mcp \ --header "Authorization: Bearer mpi_your_api_key" -s user ``` > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Codex Source: https://docs.manypi.com/mcp/clients/codex Add ManyPI to the OpenAI Codex CLI. Codex starts MCP servers as local processes, so ManyPI is reached through `mcp-remote`, a small bridge that runs with `npx`. You need Node.js installed. **1. Edit the config** Add to `~/.codex/config.toml`: ```toml theme={null} [mcp_servers.manypi] command = "npx" args = ["-y", "mcp-remote", "https://mcp.manypi.com/mcp", "--header", "Authorization: Bearer mpi_your_api_key"] ``` **2. Restart Codex** Start a new `codex` session. Run `/mcp` to see ManyPI and its tools. > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # GitHub Copilot CLI Source: https://docs.manypi.com/mcp/clients/copilot-cli Add ManyPI to the GitHub Copilot command-line agent. In a Copilot CLI session, run `/mcp add` and choose an **HTTP** server with `https://mcp.manypi.com/mcp` and an `Authorization` header. Or add it to your Copilot MCP config directly: ```json theme={null} { "mcpServers": { "manypi": { "type": "http", "url": "https://mcp.manypi.com/mcp", "headers": { "Authorization": "Bearer mpi_your_api_key" } } } } ``` Run `/mcp` to check that ManyPI is connected. > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Cursor Source: https://docs.manypi.com/mcp/clients/cursor Add ManyPI to Cursor and sign in with your browser. ## Sign in with your browser **1. Add the server** Create `~/.cursor/mcp.json` to use ManyPI in every project, or `.cursor/mcp.json` in one project: ```json theme={null} { "mcpServers": { "manypi": { "url": "https://mcp.manypi.com/mcp" } } } ``` **2. Log in** Open **Cursor Settings → MCP**. **manypi** shows a **Login** button; click it and approve in your browser. **3. Check it** The server turns green and lists its tools. Ask in the Agent chat. ## Use an API key instead ```json theme={null} { "mcpServers": { "manypi": { "url": "https://mcp.manypi.com/mcp", "headers": { "Authorization": "Bearer mpi_your_api_key" } } } } ``` > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Factory (Droid) Source: https://docs.manypi.com/mcp/clients/factory Add ManyPI to Factory's Droid agent. Add to `~/.factory/mcp.json`: ```json theme={null} { "mcpServers": { "manypi": { "type": "http", "url": "https://mcp.manypi.com/mcp", "headers": { "Authorization": "Bearer mpi_your_api_key" } } } } ``` Start a new Droid session and run `/mcp` to see ManyPI and its tools. > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Gemini CLI Source: https://docs.manypi.com/mcp/clients/gemini-cli Add ManyPI to Google's Gemini CLI. **1. Edit the settings** Add to `~/.gemini/settings.json`: ```json theme={null} { "mcpServers": { "manypi": { "httpUrl": "https://mcp.manypi.com/mcp", "headers": { "Authorization": "Bearer mpi_your_api_key" } } } } ``` **2. Check it** Run `gemini`, then `/mcp`. ManyPI is listed with its tools. > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Goose Source: https://docs.manypi.com/mcp/clients/goose Add ManyPI to Goose as a remote extension, on desktop or the CLI. **1. Add an extension** On desktop, open **Settings → Extensions → Add**. On the CLI, run `goose configure` and choose **Add Extension**. **2. Choose the remote type** Pick **Remote Extension (Streamable HTTP)** and paste: ``` https://mcp.manypi.com/mcp ``` **3. Add your key** Add a request header: ``` Authorization: Bearer mpi_your_api_key ``` > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Kiro Source: https://docs.manypi.com/mcp/clients/kiro Add ManyPI to Kiro for one workspace or for your user. Edit `.kiro/settings/mcp.json` in a workspace, or `~/.kiro/settings/mcp.json` for your user. Kiro reaches ManyPI through `mcp-remote`, which runs with `npx` (you need Node.js): ```json theme={null} { "mcpServers": { "manypi": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.manypi.com/mcp", "--header", "Authorization: Bearer mpi_your_api_key"] } } } ``` Save the file, then open the MCP servers panel in Kiro. ManyPI is listed with its tools; reconnect it there if it does not start on its own. > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # OpenCode Source: https://docs.manypi.com/mcp/clients/opencode Add ManyPI to OpenCode as a remote MCP server. Add ManyPI to `opencode.json` in a project, or to `~/.config/opencode/opencode.json` to use it everywhere: ```json theme={null} { "$schema": "https://opencode.ai/config.json", "mcp": { "manypi": { "type": "remote", "url": "https://mcp.manypi.com/mcp", "enabled": true, "headers": { "Authorization": "Bearer mpi_your_api_key" } } } } ``` Restart OpenCode and the ManyPI tools are available to the agent. > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # VS Code Source: https://docs.manypi.com/mcp/clients/vscode Add ManyPI to GitHub Copilot in VS Code and sign in with your browser. ## Sign in with your browser **1. Add the server** Create `.vscode/mcp.json` in your project: ```json theme={null} { "servers": { "manypi": { "type": "http", "url": "https://mcp.manypi.com/mcp" } } } ``` Or add it for your user from a terminal: ```bash theme={null} code --add-mcp '{"name":"manypi","type":"http","url":"https://mcp.manypi.com/mcp"}' ``` **2. Start it** Run **MCP: List Servers** from the Command Palette, pick **manypi**, then **Start**. VS Code opens ManyPI in your browser for approval. **3. Use it** Open Copilot Chat in **Agent** mode. The ManyPI tools are in the tools picker. ## Use an API key instead ```json theme={null} { "servers": { "manypi": { "type": "http", "url": "https://mcp.manypi.com/mcp", "headers": { "Authorization": "Bearer mpi_your_api_key" } } } } ``` > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Windsurf Source: https://docs.manypi.com/mcp/clients/windsurf Add ManyPI to Windsurf's Cascade agent. **1. Open the MCP config** Go to **Settings → Cascade → MCP servers → Add**, or edit `~/.codeium/windsurf/mcp_config.json` directly. **2. Add ManyPI** Windsurf reaches HTTP servers through `mcp-remote`, which runs with `npx` (you need Node.js): ```json theme={null} { "mcpServers": { "manypi": { "command": "npx", "args": ["-y", "mcp-remote", "https://mcp.manypi.com/mcp", "--header", "Authorization: Bearer mpi_your_api_key"] } } } ``` **3. Refresh** Click **Refresh** in the MCP panel. ManyPI's tools appear in Cascade. > [!NOTE] > > Replace `mpi_your_api_key` with a key from **API Access** in the profile > menu. It needs `read`, plus `agents` to find leads, `write` to draft emails > and create sequences, campaigns and imports, and `outreach:send` to send. > See [API keys and permissions](/platform/api-keys). ## Try it Ask your assistant something like: ``` Find 25 boutique fitness studios in Denver with an owner or manager email, then draft a three-step sequence offering them a free trial week. ``` > [card] [Recipes](/mcp/recipes) > > Full conversations from ideal customer to launched campaign. > [card] [Tool reference](/mcp/tools) > > Every tool, its arguments and what it does. Something not working? See [Troubleshooting](/mcp/connect#troubleshooting). # Connect a client Source: https://docs.manypi.com/mcp/connect Pick your AI client for step-by-step setup. Every client uses the same server URL. Every client points at the same endpoint: ``` https://mcp.manypi.com/mcp ``` ## Pick your client > [card] [Claude Code](/mcp/clients/claude-code) > > Browser sign-in > [card] [Claude.ai and Desktop](/mcp/clients/claude) > > Browser sign-in > [card] [ChatGPT](/mcp/clients/chatgpt) > > API key > [card] [Cursor](/mcp/clients/cursor) > > Browser sign-in > [card] [VS Code](/mcp/clients/vscode) > > Browser sign-in > [card] [Codex](/mcp/clients/codex) > > API key > [card] [Gemini CLI](/mcp/clients/gemini-cli) > > API key > [card] [GitHub Copilot CLI](/mcp/clients/copilot-cli) > > API key > [card] [OpenCode](/mcp/clients/opencode) > > API key > [card] [Factory (Droid)](/mcp/clients/factory) > > API key > [card] [Goose](/mcp/clients/goose) > > API key > [card] [Windsurf](/mcp/clients/windsurf) > > API key > [card] [Antigravity](/mcp/clients/antigravity) > > API key > [card] [Kiro](/mcp/clients/kiro) > > API key ## Two ways to sign in * **With your browser (OAuth).** Nothing to paste. Claude Code, Claude.ai and Desktop, Cursor and VS Code support it. * **With an API key.** Works in every client. Create one under **API Access** in the profile menu and send it as `Authorization: Bearer mpi_…`. > [!TIP] > > Use browser sign-in where you can: there is no key to leak, and you can > revoke the connection from **Settings → Connected apps** at any time. An API key needs `read`, plus `agents` to find leads, `write` to draft emails and create sequences, campaigns and imports, and `outreach:send` to send. See [API keys and permissions](/platform/api-keys) and [Authentication](/mcp/authentication). ## Any other client If your client supports MCP over Streamable HTTP, point it at `https://mcp.manypi.com/mcp` with an `Authorization: Bearer` header. If it only starts local processes (stdio), bridge with `mcp-remote` (needs Node.js): ```bash theme={null} npx -y mcp-remote https://mcp.manypi.com/mcp \ --header "Authorization: Bearer mpi_your_api_key" ``` ## Troubleshooting > [accordion] The tool list is empty > > Almost always authentication. Check the header is exactly > `Authorization: Bearer mpi_…`, and confirm the key works: > > ```bash theme={null} > curl https://app.manypi.com/api/user -H "Authorization: Bearer mpi_your_api_key" > ``` > [accordion] 401 Unauthorized > > The key is missing, revoked or expired, or a browser sign-in has expired > and the client needs to sign in again. Reconnect from the client's MCP > panel. > [accordion] A tool returns a permission error > > The key exists but lacks that permission. Finding leads needs `agents`, > drafting and creating things needs `write`, sending needs `outreach:send`. > See [API keys and permissions](/platform/api-keys). > [accordion] Sending tools fail with outreach\_locked > > `enroll_leads` and `send_email` need a paid plan. Everything else works on > the free plan. # MCP server Source: https://docs.manypi.com/mcp/introduction Run ManyPI's lead generation and outreach from Claude, Cursor, ChatGPT or any MCP client. ManyPI hosts a public [Model Context Protocol](https://modelcontextprotocol.io) server. Connect it once and your AI assistant can find leads, draft sequences, create campaigns, send outreach and import from the tool you used before, all in conversation and in your ManyPI workspace. ``` https://mcp.manypi.com/mcp ``` > [card] [Connect a client](/mcp/connect) > > Setup for Claude, Cursor, VS Code, ChatGPT, Codex, Gemini CLI and more. > [card] [Tool reference](/mcp/tools) > > All 24 tools, their arguments and what they do. > [card] [Authentication](/mcp/authentication) > > Sign in with your browser, or use an API key. > [card] [Recipes](/mcp/recipes) > > Complete conversations that go from ICP to launched campaign. ## What it can do | Area | Tools | | - | - | | **Lead generation** | `generate_leads`, `search_leads` | | **Agent** | `run_agent`, `get_agent_run`, `reply_to_agent` | | **Outreach content** | `list_sequences`, `create_sequence`, `draft_email` | | **Campaigns** | `list_campaigns`, `get_campaign`, `create_campaign`, `update_campaign` | | **Sending** | `list_inboxes`, `enroll_leads`, `send_email`, `outreach_stats` | | **Imports** | `scan_import`, `start_import`, `continue_import`, `get_import`, `cancel_import` | | **Scraping** | `list_scrapers`, `run_scraper`, `get_scraper_runs` | ## How it is built Three properties are worth knowing before you connect it to anything. > [accordion] The server holds no secrets > > Every request carries **your** credential as `Authorization: Bearer …`, and > each tool forwards it to the ManyPI REST API. The MCP server itself stores > nothing — no keys, no tokens, no data. Authorization, rate limiting and > credit accounting all happen in the ManyPI API, exactly as they do for a > direct REST call. > [accordion] One credential = one workspace > > Whichever credential you connect determines which ManyPI workspace the tools > act on. To work across brands, switch brand in ManyPI, or pass brand-aware > parameters where the underlying endpoint supports them. > [accordion] It is stateless > > A fresh server and transport are built per request, so many users with > different credentials are served concurrently and safely. There is no > session to expire and nothing to reconnect. ## Tools are annotated for safety Every tool declares whether it reads, writes, or does something irreversible. MCP clients use those hints to decide what to run automatically and what to ask you about first. | Class | Meaning | Examples | | - | - | - | | **Read-only** | Changes nothing. | `search_leads`, `list_campaigns`, `outreach_stats`, `draft_email` | | **Write** | Creates or updates ManyPI data. Additive. | `create_sequence`, `create_campaign` | | **Write + web** | Additive, and reaches the open internet. | `run_agent`, `generate_leads`, `run_scraper` | | **Destructive** | Overwrites state, or cannot be undone outside ManyPI. | `update_campaign`, `enroll_leads`, `send_email` | > [!WARNING] > > `enroll_leads` and `send_email` queue **real email to real people**. Nothing > sent can be recalled, so they are annotated destructive even though they are > additive inside ManyPI — clients that auto-approve plain writes should still > stop and ask before these. Both also require a paid ManyPI plan. `draft_email` is annotated read-only despite being a POST: it returns generated text and persists nothing. No sequence is saved, no email is sent. ## Requirements * A ManyPI account. Lead generation, validation and scraping work on the free plan; **sending** requires a paid plan. * A client that speaks MCP over Streamable HTTP, or `mcp-remote` for stdio-only clients. > [card] [Connect your client](/mcp/connect) > > Copy-paste setup for every supported client. # Recipes Source: https://docs.manypi.com/mcp/recipes Complete conversations that go from an ICP description to a launched campaign. These are things to actually say to your assistant once the [MCP server is connected](/mcp/connect). Each shows the tools involved so you can see what is happening underneath. ## Find leads and review them ```text theme={null} Find me 25 e-commerce agencies in Germany and Austria with 5–50 employees that build Shopify stores. I need a contact email and the founder or head of growth. Then show me what you saved. ``` `generate_leads` → `get_agent_run` → `search_leads` The run is asynchronous, so your assistant will poll. If the agent needs a clarification the run goes `paused` with the question in `result_summary`; your assistant answers it with `reply_to_agent` and the **same** run continues. ## Refine an existing search ```text theme={null} That list has too many one-person shops. Find 25 more, but only agencies with a real team page and at least five people. ``` `reply_to_agent` on the finished run — it starts a follow-up in the same conversation, inheriting the lead-generation playbook, so results keep landing in your leads rather than in a chat message. ## Draft a sequence ```text theme={null} Draft a three-step cold email sequence for these leads. We help agencies find new clients without cold-calling. Ask for a 15-minute call. Keep it under 100 words per email. ``` `draft_email` with `mode: "sequence"`. Nothing is saved yet — read it, ask for edits, and only then: ```text theme={null} Good. Save that as a sequence called "Agency outbound Q3". ``` `create_sequence` ## Launch a campaign ```text theme={null} Which inboxes do I have? ``` `list_inboxes`: check the health score and the remaining headroom (`cap - sent24h`, a rolling 24 hours) before you commit to a volume. ```text theme={null} Create a campaign called "DACH agencies Q3" using that sequence and my lena@getacme.com inbox, capped at 40 emails a day. ``` `create_campaign` ```text theme={null} Enroll the 25 leads from the search into it. ``` `enroll_leads` > [!WARNING] > > This queues real email. Your client should ask before running it — that is why > the tool is annotated destructive. Enroll a handful first and read what > actually goes out. ## Check on a running campaign ```text theme={null} How is the DACH agencies campaign doing? Show me the per-step breakdown. ``` `list_campaigns` → `get_campaign` The per-step numbers are the useful part: a healthy step-1 open rate with no replies is an offer problem, not a subject-line problem. ```text theme={null} Give me the last two weeks of sending across the whole workspace. ``` `outreach_stats` ## Pause everything ```text theme={null} Pause all my active campaigns. ``` `list_campaigns` → `update_campaign` per campaign. Progress is kept; resuming picks up where it stopped. ## Move over from Instantly ```text theme={null} I'm moving from Instantly. Here is my API V2 key: … Show me what's in the account before importing anything. ``` `scan_import`. The answer lists the campaigns, lead counts, the do-not-contact list and the mailboxes. Nothing has been imported yet. ```text theme={null} Bring the two "Q3" campaigns and their leads, plus the do-not-contact list. Keep going until it's done. ``` `start_import` → `continue_import` until `done` → `get_import` The campaigns arrive as **drafts** with their email steps, and leads Instantly never emailed are already queued in them. Nothing sends until you pick an inbox and launch each one under **Outreach → Campaigns** in ManyPI. Smartlead, lemlist, Apollo, Snov.io and Saleshandy work the same way. > [!NOTE] > > The key passes through the conversation. To keep it out of the chat, start > the import from **Integrations → Switch from another tool** in the dashboard > and ask your assistant to follow it with `get_import`. ## A one-off email ```text theme={null} Send a short note to the lead at acme.de from my lena@ inbox — they replied on LinkedIn and asked for the pricing page. ``` `search_leads` → `send_email` ## Scrape something ```text theme={null} Run my "competitor pricing" scraper against https://example.com/pricing and show me what came back. ``` `list_scrapers` → `run_scraper` → `get_scraper_runs` ## Chain it with your own work Because MCP clients hold several servers at once, ManyPI composes with whatever else you have connected: ```text theme={null} Take the leads from that search, look up each company in our CRM, and only enroll the ones that aren't already customers. ``` `search_leads` → your CRM's tools → `enroll_leads` ## Habits worth keeping > [accordion] Read before you send > > Ask to see the drafted email and the lead list in the conversation before > enrolling. It costs one message and prevents the mistake that cannot be > undone. > [accordion] Start with five leads > > Enroll a handful, read what actually lands in the recipient's inbox, then > scale. > [accordion] Give the assistant a research-only key > > A key without `outreach:send` lets an assistant do all the finding and > drafting while sending stays under your own hand. > [accordion] Check inbox health before a big push > > `list_inboxes` first. A paused inbox or a low health score means the volume > you are planning will not go out anyway. # Tool reference Source: https://docs.manypi.com/mcp/tools Every tool the ManyPI MCP server exposes. Twenty-four tools, grouped the way you use them. Each lists its arguments and its safety annotation: the hint MCP clients use to decide what to run automatically and what to confirm with you first. > [card] [Agent](/mcp/tools/agent) > > `run_agent`, `get_agent_run`, `reply_to_agent` > [card] [Lead generation](/mcp/tools/lead-generation) > > `generate_leads`, `search_leads` > [card] [Outreach content](/mcp/tools/outreach-content) > > `list_inboxes`, `list_sequences`, `create_sequence`, `draft_email` > [card] [Campaigns](/mcp/tools/campaigns) > > `list_campaigns`, `get_campaign`, `create_campaign`, `update_campaign` > [card] [Sending](/mcp/tools/sending) > > `enroll_leads`, `send_email`, `outreach_stats` > [card] [Imports](/mcp/tools/imports) > > `scan_import`, `start_import`, `continue_import`, `get_import`, `cancel_import` > [card] [Scraping](/mcp/tools/scraping) > > `list_scrapers`, `run_scraper`, `get_scraper_runs` # Agent tools Source: https://docs.manypi.com/mcp/tools/agent Start agent runs, follow them and answer their questions. ## `run_agent` > [!NOTE] > > Write · reaches the web Run the ManyPI agent on a natural-language goal: scrape sites, research, analyse data, turn a site into an API. Asynchronous — returns a `run_id` and `conversation_id`. | Argument | Type | | | - | - | - | | `goal` | string | **Required.** What you want ManyPI to do, in plain language. | For finding leads, prefer `generate_leads`. ## `get_agent_run` > [!NOTE] > > Read-only Check the status and result of agent and lead-gen runs. | Argument | Type | | | - | - | - | | `conversation_id` | uuid | From `run_agent` / `generate_leads`. Omit for your most recent runs. | | `limit` | 1–50 | How many runs to return. | Statuses: `queued` / `planning` / `running` (working), `paused` (waiting on you — the question is in `result_summary`), `completed` / `failed` / `cancelled` (done — see `result_summary`). ## `reply_to_agent` > [!NOTE] > > Write · reaches the web Answer an agent that is waiting for input, or send a follow-up to a finished run. Resumes the **same** run if it was paused; otherwise starts a follow-up run in the same conversation. | Argument | Type | | | - | - | - | | `run_id` | uuid | **Required.** The run to answer. | | `message` | string | **Required.** Your answer or follow-up, up to 8,000 characters. | # Campaigns tools Source: https://docs.manypi.com/mcp/tools/campaigns Create, read and update outreach campaigns. ## `list_campaigns` > [!NOTE] > > Read-only List campaigns with per-campaign stats — enrolled, active, completed, sent, opened, replied. Takes no arguments. ## `get_campaign` > [!NOTE] > > Read-only One campaign's full analytics: headline stats, a per-step sent/opened breakdown, and every enrolled lead with its progress. | Argument | Type | | | - | - | - | | `campaign_id` | uuid | **Required.** | ## `create_campaign` > [!NOTE] > > Write Bind a sequence to a sending inbox. | Argument | Type | | | - | - | - | | `name` | string | **Required.** | | `sequence_id` | uuid | **Required.** From `list_sequences` / `create_sequence`. | | `smtp_config_id` | uuid | **Required.** From `list_inboxes`. | | `reply_to` | email | Override the reply-to address. | | `daily_limit` | 1–2000 | Never exceeds the inbox's own cap. | ## `update_campaign` > [!NOTE] > > Destructive · idempotent Pause, resume, archive, or change a campaign's name, reply-to or daily limit. Pausing stops further sends without losing progress. | Argument | Type | | | - | - | - | | `campaign_id` | uuid | **Required.** | | `status` | `active` \| `paused` \| `archived` | | | `name`, `reply_to`, `daily_limit` | | | Annotated destructive because it overwrites existing fields and archiving is this API's closest thing to a delete — but applying the same patch twice lands on the same state, so it is also idempotent. # Import tools Source: https://docs.manypi.com/mcp/tools/imports Move from Instantly, Smartlead, lemlist, Apollo and others. Move from Instantly, Smartlead, lemlist, Apollo, Snov.io or Saleshandy without leaving the conversation: scan the account, choose what to bring, and let the import run. It does what **Integrations → Switch from another tool** does in the dashboard, and nothing it creates sends email until you launch it. `scan_import` → `start_import` → `continue_import` (repeat) → `get_import` > [!WARNING] > > `scan_import` takes the other tool's API key as an argument, so the key passes > through your AI client's conversation. ManyPI stores it encrypted on the > import and erases it when the import ends. If you would rather the key never > touch the chat, start the import from **Integrations → Switch from another > tool** in the dashboard; `get_import` can still follow it from here. ## `scan_import` > [!NOTE] > > Write · reaches the web Check the other tool's key and scan the account: campaigns with their step and lead counts, total leads, do-not-contact list size, and sending mailboxes. Opens an import in status `scanned`. Nothing is imported yet. | Argument | Type | | | - | - | - | | `provider` | enum | **Required.** `instantly` · `smartlead` · `lemlist` · `apollo` · `snovio` · `saleshandy` | | `api_key` | string | The tool's API key. Instantly needs a V2 key; Apollo a master key for sequences to come over. | | `client_id` | string | Snov.io only: the API user ID. | | `client_secret` | string | Snov.io only: the API secret. | ## `start_import` > [!NOTE] > > Destructive · reaches the web Start a scanned import. In order: the do-not-contact list, then the chosen campaigns as **draft** campaigns with their email steps, then their leads, with custom variables as lead fields. Runs the first slice and returns the progress. | Argument | Type | | | - | - | - | | `import_id` | uuid | **Required.** From `scan_import`. | | `campaign_ids` | string\[] | Campaign ids from the scan. Defaults to every campaign it found. | | `recreate_campaigns` | boolean | Recreate the campaigns as drafts. Defaults to `true`. | | `import_leads` | boolean | Defaults to `true`. | | `do_not_contact` | boolean | Bring the block list, bounces and unsubscribes. Defaults to `true`. | | `continue_sequences` | boolean | Queue leads the old tool never emailed into their new draft campaign. Defaults to `true`; needs a paid plan. | | `duplicates` | enum | An existing lead: `merge` fills its empty fields (default), `overwrite` replaces them, `skip` leaves it alone. | Annotated destructive because it merges into existing leads and adds to the do-not-contact list, which stops mail to those addresses from every campaign. It sends nothing: the campaigns have no inbox until you launch them in ManyPI. With lemlist and Smartlead, leads come over through the chosen campaigns, so a lead in no chosen campaign stays behind. One import brings at most 100,000 leads, and your plan's lead allowance applies. ## `continue_import` > [!NOTE] > > Write · reaches the web Run the next slice, about 15 seconds of work, of a running import. Repeat until `job.status` is `done`. `worked: false` means another process held the import at that moment; ask again shortly. Slices are safe to repeat. An import nobody continues still finishes on ManyPI's scheduler, only more slowly. | Argument | Type | | | - | - | - | | `import_id` | uuid | **Required.** | ## `get_import` > [!NOTE] > > Read-only One import, or the 20 most recent when no id is given. Statuses: `scanned`, `running`, `done`, `failed`, `cancelled`. Progress carries the phase, counts of leads created and merged, campaigns and steps recreated, addresses put on do-not-contact and leads queued, plus warnings. A finished import maps each old campaign id to its new ManyPI campaign in `result.campaignMap`. | Argument | Type | | | - | - | - | | `import_id` | uuid | Omit for the recent imports. | ## `cancel_import` > [!NOTE] > > Destructive · idempotent Stop an import that has not finished and erase its stored key. Everything already imported stays. A cancelled import cannot be resumed. | Argument | Type | | | - | - | - | | `import_id` | uuid | **Required.** | # Lead generation tools Source: https://docs.manypi.com/mcp/tools/lead-generation Find new leads and search the ones you have. ## `generate_leads` > [!NOTE] > > Write · reaches the web Find and enrich B2B leads. Describe your ideal customer; poll `get_agent_run` for progress and read results with `search_leads`. | Argument | Type | | | - | - | - | | `description` | string | **Required.** e.g. *"e-commerce agencies in Germany, 5–50 employees, with emails"*. | ## `search_leads` > [!NOTE] > > Read-only Search the workspace's saved leads. | Argument | Type | | | - | - | - | | `query` | string | Matches company, name, email or domain. | | `status` | enum | `new` · `qualified` · `contacted` · `disqualified` | | `limit` | 1–500 | Defaults to 100. | # Outreach content tools Source: https://docs.manypi.com/mcp/tools/outreach-content Inboxes, sequences and email drafts. ## `list_inboxes` > [!NOTE] > > Read-only List connected sending inboxes with per-inbox health: `sent24h` against the warmup-aware `cap`, 14-day delivered/failed/opened/bounced, and a 0–100 health score. `sent24h` is a rolling 24 hours, not a calendar day, so headroom is `cap - sent24h` at the moment you ask. Use an inbox `id` as `smtp_config_id` elsewhere. Takes no arguments. ## `list_sequences` > [!NOTE] > > Read-only List saved email sequences with their inline steps. A `reply` step has an empty subject on purpose: it goes out as "Re:" the first step's subject. Takes no arguments. ## `create_sequence` > [!NOTE] > > Write Create the email steps a campaign sends. | Argument | Type | | | - | - | - | | `name` | string | **Required.** Internal name. | | `description` | string | Optional. | | `steps` | array (1–10) | **Required.** Ordered steps. | Each step: `subject`, `body_html`, `wait_days` (0–90), `thread_mode` (`new` / `reply`). Step 0 goes out on enrollment and is always `new`; a `reply` step threads under the first email. Merge variables: `{{first_name}}`, `{{company}}`, `{{title}}`, `{{domain}}`, `{{location}}`. Bodies are simple HTML — `

`, `
`, ``, `
`. ## `draft_email` > [!NOTE] > > Write · reaches the web AI-draft a cold email or a whole follow-up sequence. Returns `{subject, html}` or `{steps: […]}`. **Persists nothing**: feed the result into `create_sequence` or `send_email`. Annotated as a write because it spends the workspace's AI credits and calls a model, so clients ask before running it rather than auto-approving it as a read. | Argument | Type | | | - | - | - | | `instructions` | string | **Required.** What you are selling / your ask. | | `mode` | `email` \| `sequence` | Defaults to `email`. | | `steps` | 2–5 | Number of steps when `mode` is `sequence`. Defaults to 3. | | `lead_id` | uuid | An example lead to tailor the tone toward. | # Scraping tools Source: https://docs.manypi.com/mcp/tools/scraping Run your scrapers and read their results. ## `list_scrapers` > [!NOTE] > > Read-only List the workspace's scrapers — id, name, target URL, type. Takes no arguments. ## `run_scraper` > [!NOTE] > > Write · reaches the web Run a saved scraper. Asynchronous — returns a `runId`; read the extracted data with `get_scraper_runs`. | Argument | Type | | | - | - | - | | `scraper_id` | string | **Required.** From `list_scrapers`. | | `url` | url | Override the scraper's target for this run. | ## `get_scraper_runs` > [!NOTE] > > Read-only Recent scraper runs with status and extracted data. | Argument | Type | | | - | - | - | | `limit` | 1–100 | | # Sending tools Source: https://docs.manypi.com/mcp/tools/sending Enroll leads, send email and read the results. > [!WARNING] > > Both tools below queue **real email to real people** and require a paid ManyPI > plan. Nothing sent can be recalled. ## `enroll_leads` > [!NOTE] > > Destructive · reaches the web Enroll leads into a campaign, queuing the sequence for real sending and respecting the inbox's warmup and daily caps. Leads with no email, or already enrolled, are skipped. | Argument | Type | | | - | - | - | | `campaign_id` | uuid | **Required.** | | `lead_ids` | uuid\[] (1–1000) | **Required.** From `search_leads`. | ## `send_email` > [!NOTE] > > Destructive · reaches the web Send a single one-off email to a lead now, outside any sequence. Renders merge variables against the lead, respects the inbox's cap, and marks the lead contacted. | Argument | Type | | | - | - | - | | `smtp_config_id` | uuid | **Required.** From `list_inboxes`. | | `subject` | string | **Required.** Merge variables allowed. | | `html` | string | **Required.** Simple HTML. | | `lead_id` | uuid | Used for merge variables and as the default recipient. | | `to` | email | Explicit recipient; defaults to the lead's address. | ## `outreach_stats` > [!NOTE] > > Read-only Workspace-wide activity: 14 days of sends (sent/failed/opened per day), replies per day, active enrollments, and `sent24h` against `capToday`, the combined cap of all inboxes. `sent24h` is a rolling 24 hours, the window the cap itself rolls over. Rates are percentages: a `bounceRate14d` of 9.2 means 9.2%. Takes no arguments. # Campaigns Source: https://docs.manypi.com/outreach/campaigns Bind a sequence to an inbox, enroll leads, and watch what happens. A **campaign** is where content meets delivery: one sequence, one sending setup, plus the rules about when and how fast to send. ## Creating a campaign ```bash theme={null} curl -X POST https://app.manypi.com/api/outreach/campaigns \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "name": "DACH agencies — Q3", "sequence_id": "…", "smtp_config_id": "…", "daily_limit": 40 }' ``` | Field | Meaning | | - | - | | `sequence_id` | The sequence to send. | | `smtp_config_id` | The sending inbox (an `id` from [`/api/outreach/inboxes`](/api-reference/outreach/list-inboxes)). | | `reply_to` | Override the reply-to address for this campaign. | | `daily_limit` | Cap for this campaign. Never exceeds the inbox's own cap. | ## Send window Campaigns can be restricted to business hours in the recipient-relevant timezone: | Setting | Meaning | | - | - | | `schedule_enabled` | Turn the window on. | | `send_days` | Days of the week, `0`–`6`. Defaults to Mon–Fri. | | `send_from` / `send_to` | Local time bounds, `HH:MM`. | | `timezone` | The timezone those bounds are read in. | | `track_opens` | Whether to embed the open-tracking pixel. | | `priority` | `1`–`10`. Higher wins the next slot when campaigns share an inbox. | > [!TIP] > > Tuesday–Thursday, 08:00–11:00 local is the standard advice and it holds up. > Avoid sending on the hour exactly — ManyPI already staggers sends inside the > window for you. ## Enrolling leads Enrollment is what actually queues real email. ```bash theme={null} curl -X POST https://app.manypi.com/api/outreach/enroll \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "campaign_id": "…", "lead_ids": ["8f1c…", "b207…"] }' ``` Up to 1,000 leads per call. ManyPI skips, rather than fails on: * leads with no email address, * leads already enrolled in this campaign, * unsubscribed or suppressed addresses, * addresses that bounced the last time you wrote, * addresses known to be undeliverable, * unconfirmed addresses, when the brand only writes to confirmed ones. Each cause comes back as its own counter (`skipped_no_email`, `skipped_unsubscribed`, `skipped_bounced` and so on), next to `enrolled`, `requested` and a plain-language `summary`. For the number left out, use `requested - enrolled`. If the brand has **validate on enroll** turned on (the default), leads with unchecked addresses are enrolled and checked in the background (`queued_for_validation`). The result is applied at send time, so an address that turns out undeliverable is never sent to. > [!WARNING] > > Enrollment is not reversible in the sense that matters: an email that has gone > out cannot be recalled. Pausing a campaign stops *future* sends only. Test > with a handful of leads before you enroll a list of 800. Requires a paid plan — `403` with `code: "outreach_locked"` otherwise. ## One-off sends For a single email outside any sequence: ```bash theme={null} curl -X POST https://app.manypi.com/api/outreach/send \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "smtp_config_id": "…", "lead_id": "8f1c…", "subject": "Following up, {{first_name}}", "html": "

Hi {{first_name}}, …

" }' ``` Merge variables are rendered against the lead, the inbox's daily/warmup cap is respected, and the lead is marked `contacted`. ## Pausing, resuming, archiving ```bash theme={null} curl -X PATCH https://app.manypi.com/api/outreach/campaigns \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "id": "…", "status": "paused" }' ``` | Status | Effect | | - | - | | `active` | Sending. | | `paused` | Sends held. Progress kept; resuming picks up where it stopped. | | `archived` | Retired. Nothing sends, and it drops out of the default list. | ## Analytics [`GET /api/outreach/campaigns/{id}`](/api-reference/outreach/get-campaign) returns the full picture: * headline stats — enrolled, active, completed, sent, opened, replied * a **per-step breakdown**, which is where you see the follow-up doing the work * every enrolled lead with its current step and status Workspace-wide activity — 14 days of sends, opens, replies, bounces, unsubscribes and today's sent-versus-cap — is at [`GET /api/outreach/stats`](/api-reference/outreach/get-stats). > [!TIP] > > Read the per-step breakdown before you rewrite step 1. A campaign with a > healthy step-1 open rate and no replies has an offer problem, not a subject > line problem. # Inboxes and warmup Source: https://docs.manypi.com/outreach/inboxes Connect your sending mailboxes, ramp them safely, and watch their health. An **inbox** is a mailbox ManyPI sends through. Everything about your deliverability — the cap, the ramp, the pause guard, the health score — hangs off it. Manage them in **Outreach → Sending**, or read them over the API with [`GET /api/outreach/inboxes`](/api-reference/outreach/list-inboxes). ## Connecting > [tab] Gmail / Google Workspace > > Click **Connect Gmail** and authorise. OAuth means no app password to > rotate, and revoking access in your Google account revokes it here too. > [tab] Outlook / Microsoft 365 > > Click **Connect Outlook** and authorise. Same OAuth flow. > [tab] SMTP > > Any provider: host, port, username, password, TLS. Credentials are > encrypted at rest and never returned by the API. > > Use **Test connection** before you save — it does a real handshake and a > test send to yourself. > [!WARNING] > > Send cold outreach from a **secondary domain** (`getacme.com`, > `acme-team.com`), never the domain your invoices and support mail come from. > Reputation damage on your primary domain is slow and painful to undo. ### Before you send anything Set up authentication on the sending domain. Without it you will land in spam regardless of how good ManyPI's throttling is. | Record | Why | | - | - | | **SPF** | Authorises your provider to send for the domain. | | **DKIM** | Cryptographically signs your mail. | | **DMARC** | Tells receivers what to do with failures, and gets you reports. | ## Warmup A brand-new domain sending 500 emails on day one gets filtered. Warmup ramps the daily cap gradually instead. | Setting | What it does | | - | - | | `warmup_enabled` | Turns the ramp on. Leave it on for any new domain or mailbox. | | `warmup_start` | Emails allowed on day one. | | `warmup_increment` | How much the cap grows each day. | | `daily_limit` | The ceiling the ramp climbs toward. | The effective cap is always `min(warmup cap for today, daily_limit)`. The scheduler uses that number — not the raw limit — so a campaign can never out-send its inbox's warmup. > [!TIP] > > A reasonable ramp for a fresh Google Workspace mailbox: start at 10, increment > by 5 per day, ceiling 150. Faster than that is where people get burned. ## Health Each inbox reports a rolling picture over the last 14 days: * sends today versus today's cap * delivered, failed, opened, bounced * a 24-hour bounce rate * whether the **bounce guard** has paused it * a 0–100 **health score** The score is delivery success, lightly penalised while un-warmed and heavily penalised for bounces. That weighting is deliberate: a failed send never reached anyone, while a bounce is a receiving server recording that you wrote to an address which does not exist — that is the thing that actually costs an inbox its reputation. ### The bounce guard If the 24-hour bounce rate crosses the safety threshold, ManyPI **pauses the inbox automatically** and records why. Sends stop; nothing is lost. Fix the cause — almost always an unvalidated list — and resume. > [card] [Email validation](/leads/email-validation) > > Validating before you enroll is the fix for nearly every bounce problem. ## Multiple inboxes More inboxes means more daily volume without pushing any single mailbox past a safe cap. Campaigns can use them in several ways: | Strategy | Behaviour | | - | - | | `single` | Every send goes through one inbox. | | `rotate` | Cycle through the campaign's inboxes. | | `round_robin` | Even distribution across inboxes. | | `provider_match` | Match the sending inbox to the recipient's provider (Google → Google, Microsoft → Microsoft). | Per-seat inbox limits: 2 on Starter, 5 on Pro, 15 on Business. The workspace cap is that number times your seat count. ## Priority When several campaigns share an inbox they compete for the same paced send slots. Each campaign has a priority from 1 to 10 — higher wins the next slot. Use it to make sure a hot campaign is not starved by a long-running background one. ## Reading inbox health over the API ```bash theme={null} curl https://app.manypi.com/api/outreach/inboxes \ -H "Authorization: Bearer mpi_your_api_key" ``` ```json theme={null} { "inboxes": [ { "id": "…", "name": "Lena — outbound", "from": "lena@getacme.com", "sent24h": 34, "cap": 60, "dailyLimit": 60, "sent14d": 402, "failed14d": 3, "opened14d": 121, "bounced14d": 2, "bounceRate14d": 0.5, "bounceRate24h": 0.0, "warmupEnabled": true, "warmingUp": false, "sendingPausedAt": null, "sendingPausedReason": null, "health": 92 } ] } ``` Use an inbox `id` as the `smtp_config_id` when creating a campaign or sending a one-off email. `sent24h` is measured over a rolling 24 hours rather than the calendar day, because that is the window `cap` itself rolls over — comparing calendar-day sends against a rolling cap would read as headroom the inbox does not have. `cap` is the warmup-aware limit actually in force; `dailyLimit` is the configured ceiling it ramps toward. Both bounce rates are percentages, so `0.5` means 0.5%. # Outreach overview Source: https://docs.manypi.com/outreach/overview How cold email works in ManyPI, end to end. ManyPI sends cold email from **your own mailboxes**, not from a shared ManyPI domain. That means your deliverability is yours: your domain, your reputation, your replies landing in your inbox. ## The four pieces **1. Inbox** A mailbox you connect, over Gmail/Outlook OAuth or plain SMTP. It carries the daily cap, the warmup schedule and the health score. **2. Sequence** The email steps: step 1 plus timed follow-ups, with merge variables so one template personalises across every lead. **3. Campaign** Binds one sequence to one inbox, and carries the send window, daily limit, tracking and priority. **4. Enrollment** A lead placed into a campaign. ManyPI schedules the steps, sends them within the caps, and stops the moment they reply. ``` Leads ──enroll──▶ Campaign ──uses──▶ Sequence │ └──sends through──▶ Inbox ──▶ Prospect │ Replies ◀──────────────────────┘ ``` ## The sending loop ManyPI's scheduler runs continuously and decides, for every due enrollment, whether it may send right now: 1. Is the campaign active and inside its send window (days of week, hours, timezone)? 2. Has the inbox hit today's cap? The cap is the **warmup-aware** number, not the raw daily limit. 3. Has the campaign hit its own daily limit? 4. Is the address suppressed, unsubscribed or known-undeliverable? 5. Has the lead replied? If so, remaining steps are cancelled. Sends are **staggered**, not fired in a burst — twenty emails at 09:00:00 looks exactly like what it is. ## What stops a sequence | Event | Effect | | - | - | | Lead replies | All remaining steps cancelled for that lead. | | Lead unsubscribes | Cancelled, and the address is suppressed workspace-wide. | | Hard bounce | Cancelled, address marked undeliverable, never retried. | | Campaign paused | All sends held; progress is kept and resumes on unpause. | | Bounce rate spike | The **inbox** is paused automatically to protect it. | ## Plan gates Sending to leads requires a **paid plan**. Free workspaces can connect an inbox, build sequences, create campaigns and send test emails to themselves — they just cannot enroll leads or send to them. | | Free | Starter | Pro | Business | | - | - | - | - | - | | Send to leads | — | ✓ | ✓ | ✓ | | Emails / seat / month | — | 1,000 | 5,000 | 20,000 | | Inboxes / seat | 1 (setup only) | 2 | 5 | 15 | | Inbox warmup | — | ✓ | ✓ | ✓ | | Open & reply tracking | — | ✓ | ✓ | ✓ | | A/B variants | — | — | ✓ | ✓ | | Reply sentiment & fixes | — | — | ✓ | ✓ | Hitting a gate over the API returns `403` with `code: "outreach_locked"`. ## Where to go next > [card] [Inboxes & warmup](/outreach/inboxes) > > Connect Gmail, Outlook or SMTP, and ramp a new domain safely. > [card] [Sequences](/outreach/sequences) > > Steps, merge variables, threading, AI drafting and A/B variants. > [card] [Campaigns](/outreach/campaigns) > > Send windows, daily limits, enrollment and per-campaign analytics. > [card] [Replies & deliverability](/outreach/replies) > > Sentiment, bounces, suppressions and unsubscribes. # Replies and deliverability Source: https://docs.manypi.com/outreach/replies Everything that comes back: replies, sentiment, bounces, unsubscribes and suppressions. Reply capture is not a reporting nicety. It is what **stops a sequence** when someone answers and what **detects bounces** before they wreck an inbox — which is why every paid plan gets it, not just the top tier. ## The Replies inbox **Outreach → Replies** shows everything that came back, filterable by campaign and kind: | Kind | What it is | | - | - | | `reply` | A human answered. | | `auto_reply` | Out-of-office or an automated acknowledgement. | | `bounce` | The message could not be delivered. | Over the API: [`GET /api/outreach/replies`](/api-reference/outreach/list-replies), with `?campaign=`, `?kind=`, `?sentiment=`, `?limit=` and `?offset=`. ## Reply intelligence > [!NOTE] > > Pro and Business plans. Replies are classified so you can triage a hundred of them in a minute: | Sentiment | Meaning | | - | - | | `positive` | Interested. Follow up now. | | `neutral` | Acknowledged, no clear signal. | | `negative` | Not interested. | | `objection` | Interested but blocked — price, timing, incumbent. | | `unsubscribe` | Asking to be removed. | | `ooo` | Out of office. | | `referral` | Pointing you at the right person. | Each classified reply also carries an `intent`, a short `summary` and a `sentiment_score`. Per campaign, [`GET /api/outreach/insights?campaign=…`](/api-reference/outreach/get-insights) adds the reply mix, a sentiment breakdown and concrete, approvable suggestions for what to change. > [!NOTE] > > On plans without reply intelligence the sentiment fields are stripped from the > API response entirely, not merely hidden in the UI — the endpoint is reachable > with an API key, and a client-side gate is not a gate. > > On those plans the `sentiment` filter on > [`GET /api/outreach/replies`](/api-reference/outreach/list-replies) is ignored > rather than rejected, so every reply comes back. The response says > `canSeeSentiment: false` — check it before treating the list as filtered. ## Bounces A bounce is recorded against the send, the lead and the inbox: * the lead's `email_status` is set to the failing status, so it is never emailed again, * the enrollment stops, * the inbox's 24-hour bounce rate updates, and if it crosses the threshold the **bounce guard pauses that inbox automatically**. Hard bounces are permanent (the mailbox does not exist); soft bounces are transient (full mailbox, temporary server failure) and are treated far less harshly. > [card] [Prevent bounces at the source](/leads/email-validation) > > Validate before you enroll. It is the fix for nearly every bounce problem. ## Unsubscribes Every campaign email can carry an unsubscribe link. When someone uses it: 1. the lead is flagged `unsubscribed`, 2. their address is added to the workspace suppression list, 3. all remaining steps for them are cancelled. Unsubscribed leads still appear in the grid — filter with `?status=unsubscribed` — so you keep the record without ever contacting them again. ## Suppression list The workspace's do-not-contact list. Nothing on it is ever sent to, by any campaign, from any inbox, in any brand. Addresses land there from unsubscribes, hard bounces, and manual additions. ```bash Add addresses theme={null} curl -X POST https://app.manypi.com/api/outreach/suppressions \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "emails": ["someone@example.com", "nope@example.org"] }' ``` ```bash Export the list theme={null} curl "https://app.manypi.com/api/outreach/suppressions?format=csv" \ -H "Authorization: Bearer mpi_your_api_key" ``` ```bash Remove one theme={null} curl -X DELETE "https://app.manypi.com/api/outreach/suppressions?email=someone@example.com" \ -H "Authorization: Bearer mpi_your_api_key" ``` > [!NOTE] > > Removing an address only clears the block. It does not re-enroll anyone, so a > mistaken removal cannot by itself restart emails to someone who opted out. Import your existing do-not-contact list here on day one — customers, competitors, anyone who has already asked you to stop. ## Staying compliant ManyPI gives you the machinery; using it correctly is on you. * Include a working unsubscribe link and honour it immediately (ManyPI does this for you automatically). * Use a real, monitored reply-to address and a genuine physical address in your signature where required. * Do not disguise who you are or what the message is about. * Cold B2B email is regulated differently in different jurisdictions — GDPR in the EU, CAN-SPAM in the US, PECR in the UK. Know which applies to the people you are writing to. > [!WARNING] > > This is not legal advice. If you are sending at volume into the EU, get the > legitimate-interest basis for your outreach reviewed by someone qualified. # Sequences Source: https://docs.manypi.com/outreach/sequences Multi-step cold email templates with merge variables, threading and A/B variants. A **sequence** is the content: step 1 plus the follow-ups. It knows nothing about who receives it or which mailbox sends it — that is the campaign's job — so one sequence can be reused across campaigns, brands and inboxes. ## Steps Each step has: | Field | Meaning | | - | - | | `subject` | Subject line. Merge variables allowed. | | `body_html` | Body as simple HTML. | | `wait_days` | Days to wait after the previous step. Step 1 is always `0`. | | `thread_mode` | `new` starts a fresh thread; `reply` threads under the first email. | A `reply` step sends as `Re:` the first email's subject, so the recipient sees one conversation rather than four unrelated messages. Step 1 is always `new`. A sequence can have up to 10 steps. > [!TIP] > > Three steps over eight days converts about as well as seven steps over a > month, and annoys far fewer people. Start with `0 / 3 / 5` day gaps. ## Merge variables | Variable | Fills with | | - | - | | `{{first_name}}` | Lead's first name | | `{{company}}` | Company name | | `{{title}}` | Job title | | `{{domain}}` | Company domain | | `{{location}}` | Location | ```html theme={null}

Hi {{first_name}},

I saw {{company}} is hiring in {{location}} — usually a sign the outbound team is stretched.

Worth a quick look at how we'd fill the top of your funnel?

``` > [!WARNING] > > A variable with no value renders empty, which produces `"Hi ,"`. Only use a > variable in the subject or first line when the field is required on the lead — > set `required_fields` accordingly when you [find > leads](/leads/finding-leads). ## Body HTML Bodies are **simple HTML** on purpose: `

`, `
`, ``, `
`. No images, no tracking pixels beyond ManyPI's own open tracking, no CSS-heavy templates. Plain-looking mail from a real person outperforms a designed newsletter in cold outbound, and it also survives spam filtering far better. ## Drafting with AI Click **Draft with AI**, or call [`POST /api/outreach/generate`](/api-reference/outreach/generate-email). Describe what you are selling and ManyPI writes the email — or the whole sequence — against your brand context. ```bash theme={null} curl -X POST https://app.manypi.com/api/outreach/generate \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "instructions": "We help e-commerce agencies find new client leads without cold-calling. Ask for a 15-minute call.", "mode": "sequence", "steps": 3 }' ``` ```json theme={null} { "steps": [ { "subject": "Quick question about {{company}}", "html": "

Hi {{first_name}},

…", "wait_days": 0 }, { "subject": "", "html": "

Following up…

", "wait_days": 3 }, { "subject": "", "html": "

Last note…

", "wait_days": 5 } ] } ``` The generator only **drafts**. Nothing is saved and nothing is sent — feed the result into a sequence or a one-off send. Pass a `lead_id` to tailor the tone toward that kind of recipient. > [!NOTE] > > The brand's description, value proposition and personas are injected > automatically, which is why the instructions box only needs to say what is > different about *this* message. ## A/B variants > [!NOTE] > > Pro and Business plans. Give a step two subject or body variants and ManyPI splits enrollments between them, then reports per-variant opens and replies in the campaign analytics. Run it until the difference is real, then keep the winner. Test one thing at a time. A variant that changes the subject *and* the offer tells you nothing about either. ## Managing sequences over the API ```bash Create theme={null} curl -X POST https://app.manypi.com/api/outreach/sequences \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "name": "Agency outbound Q3", "steps": [ { "subject": "Quick question about {{company}}", "body_html": "

Hi {{first_name}},

…

", "wait_days": 0, "thread_mode": "new" }, { "subject": "", "body_html": "

Following up on the above.

", "wait_days": 3, "thread_mode": "reply" } ] }' ``` ```bash List theme={null} curl https://app.manypi.com/api/outreach/sequences \ -H "Authorization: Bearer mpi_your_api_key" ``` Sequences are **brand-scoped**. A sequence created while working in one brand belongs to that brand; use `?brand=all` on the list endpoint to see every brand's sequences at once. # API keys and permissions Source: https://docs.manypi.com/platform/api-keys Create keys, scope them to exactly what they need, and keep them safe. Every programmatic call into ManyPI — REST or [MCP](/mcp/introduction) — is authenticated with a ManyPI API key, or with an OAuth access token obtained through the MCP consent flow. ## Creating a key Open the profile menu → **API Access** → **Create new API key**. Pick the permissions it needs, then copy the key — it starts with `mpi_` and is shown once. ```bash theme={null} curl https://app.manypi.com/api/user \ -H "Authorization: Bearer mpi_your_api_key" ``` That endpoint is the cheapest way to confirm a key works: it returns the owning user, the key's permissions and its rate limit. ## Permissions Keys are scoped. A key only carries the permissions you granted it. On most routes a call outside them is answered `401`, exactly as an invalid key would be — so when a key that works elsewhere gets a `401`, check its permissions before you replace it. The scraper routes (`/api/scrape*`) and published endpoints (`/v1/e/…`) say so explicitly with a `403` instead. | Permission | Grants | | - | - | | `read` | View scrapers, runs, results, leads and usage. Read-only — a key with only this can never change anything. | | `write` | Create, update and delete scrapers, endpoints, folders and saved leads. Does not include *running* anything. | | `scraper` | Start scrape runs and re-runs. **Spends crawl credits.** | | `agents` | Start agent runs, reply to their questions, cancel them. **Spends credits.** | | `endpoints:invoke` | Call your published endpoints at `app.manypi.com/v1/e/…`. | | `leads:validate` | Verify lead email addresses. **Spends validation credits.** | | `outreach:send` | Send email from your inboxes and enroll leads into campaigns. | | `*` | Full access. | A new key starts with every permission ticked, so it works with any integration — Zapier, n8n, MCP — out of the box. Untick what the key will never need before you create it. > [!WARNING] > > `outreach:send` is the one to think hardest about. A key with it can send mail > from your domain to your leads. Grant it only to systems you fully trust, and > never put it in a browser, a mobile app or a public repository. ### How permissions map to routes | Route pattern | Required | | - | - | | `GET /api/agents/*` | `read` or `agents` | | `POST /api/agents/*` | `agents` | | `/api/scrape*` | `scraper` | | `POST /api/outreach/{send,test-send,enroll}` | `outreach:send` | | `POST /api/outreach/campaigns/{id}/launch` | `outreach:send` | | `GET /api/leads/validate*` | `read` or `leads:validate` | | `POST /api/leads/validate` | `leads:validate` | | `/v1/e/{slug}` | `endpoints:invoke` | | Any other `GET` | `read` | | Any other write | `write` | Reading a validation job is a read; *starting* one spends credits — which is why a bare `write` key cannot run up a validation bill. > [!NOTE] > > Keys issued before the permission catalogue existed are honoured with their > original access, so upgrading did not break anyone's live integration. Keys > created today get exactly the permissions you pick. ## Rate limits **60 requests per minute** per active key by default. OAuth access tokens get the same 60/minute. How many keys you can keep active in parallel depends on your plan. Revoked keys stay associated with your account for the audit trail but stop counting toward that limit. Exceeding the limit returns `429`. Back off and retry — the window is one minute. ## Rotating and revoking Revoke a key the moment it might be exposed. Revocation is immediate: in-flight requests fail, and every future call with that key is rejected. To rotate without downtime: create the new key, deploy it, confirm traffic has moved, then revoke the old one. ## Keeping keys safe > [accordion] Server-side only > > Never ship a ManyPI key in frontend JavaScript, a mobile binary or anything > a user can open. Proxy through your own backend. > [accordion] One key per integration > > Separate keys per system means you can revoke one without taking the others > down, and the usage log tells you which system did what. > [accordion] Least privilege > > A reporting dashboard needs `read`. It does not need `outreach:send`. > [accordion] Environment variables > > Keep keys in your secret manager or environment, never in the repository. > Add `.env` to `.gitignore` before the first commit, not after. ## OAuth instead of keys MCP clients that support OAuth 2.1 can connect with **no key at all**: the client registers itself, you approve it in the browser, and it acts as you until you revoke it. Review and revoke connected apps in **Settings → Connected apps**. Revoking kills that client's sessions and invalidates its tokens immediately. > [card] [MCP authentication](/mcp/authentication) > > How the OAuth handshake works and when to prefer it over a key. # Brands and teams Source: https://docs.manypi.com/platform/brands-and-teams Run several companies from one workspace, and invite people into it. ## Brands A **brand** is the company you are selling. It owns that company's inboxes, campaigns, sequences, folders and chats, and it carries the context that makes the agent's output specific rather than generic. ### What to fill in | Field | Why it matters | | - | - | | Name | Used in drafts and in the brand switcher. | | Website | The agent reads it to understand what you actually do. | | Description | What you sell, in one paragraph. | | Value proposition | Why a prospect should care. This lands in cold emails. | | Personas | Who you sell to. Drives lead qualification and email tone. | > [!TIP] > > This is the highest-leverage five minutes in ManyPI. The brand is injected > into every lead search — so the agent can judge *"would this company want > it?"* — and into every AI-drafted email. A workspace with a thin brand > produces exactly the generic output people complain about. ### One brand or several One workspace with several brands is the **agency case**: one client per brand, each with its own sending domain, its own idea of a good lead, and its own campaigns and replies. | Plan | Brands | | - | - | | Free | 1 | | Starter | 1 | | Pro | 3 | | Business | Unlimited | ### What is and is not brand-scoped | Brand-scoped | Workspace-wide | | - | - | | Inboxes | Leads | | Campaigns | Suppression list | | Sequences | Billing and credits | | Chats and folders | Seats and members | | Deliverability settings | API keys | Leads being pooled is deliberate: the public API has callers relying on it, and the brand filter in the grid is a lens you apply, not a wall the server imposes. Most list endpoints accept `?brand=` to narrow or `?brand=all` to widen across the workspace. Per-brand deliverability settings — **validate on enroll** and **skip unverifiable** — let an agency's cold-outbound brand and its warm-referral brand behave differently, which is the whole point of the separation. ## Teams Every paid plan is team-capable. Invite members from **Settings → Organization**; credits pool across seats rather than being divided per person. | Plan | Seats | | - | - | | Free | 1 | | Starter | up to 3 | | Pro | up to 10 | | Business | unlimited | ### What teammates share Leads, campaigns, sequences, chats and folders inside the workspace are shared, not private to whoever created them. That is what makes a pooled lead list workable — a teammate can act on a lead you found without you handing it over. Members can be restricted to specific brands, in which case those are the only brands they see anywhere: the switcher, the picker and the brands screen. > [!NOTE] > > Exceeding your seat limit blocks sending rather than silently over-billing you. > The API returns `403` with a seats-exceeded error. # Plans and credits Source: https://docs.manypi.com/platform/plans-and-credits What each plan includes, how credits work, and what happens when you run out. ## Plans All paid plans are **per seat** and team-capable. Credits pool across the workspace. | | Free | Starter | Pro | Business | | - | - | - | - | - | | Price / seat / month | \$0 | \$20 | \$50 | \$125 | | Price / seat / year | — | \$200 | \$500 | \$1,250 | | AI credits / seat / mo | 10,000 | 1,000,000 | 3,000,000 | 8,000,000 | | Crawls / seat / mo | 20 | 250 | 900 | 3,000 | | Email validations / seat / mo | 50 | 1,000 | 5,000 | 20,000 | | Outreach emails / seat / mo | — | 1,000 | 5,000 | 20,000 | | Stored leads | 50 | 2,500 | 25,000 | 100,000 | | Parallel agent runs | 1 | 2 | 5 | 10 | | Seats | 1 | 3 | 10 | Unlimited | | Sending inboxes / seat | 1 (setup only) | 2 | 5 | 15 | | Brands | 1 | 1 | 3 | Unlimited | | Active workflows | 1 (build only) | 3 | 20 | Unlimited | ### Feature gates | Feature | Free | Starter | Pro | Business | | - | - | - | - | - | | Find and enrich leads | ✓ | ✓ | ✓ | ✓ | | Verify email addresses | ✓ | ✓ | ✓ | ✓ | | Scrapers and API endpoints | ✓ | ✓ | ✓ | ✓ | | **Send** outreach | — | ✓ | ✓ | ✓ | | Save and run workflows | — | ✓ | ✓ | ✓ | | Schedule & webhook triggers | — | — | ✓ | ✓ | | A/B email variants | — | — | ✓ | ✓ | | Reply sentiment and fixes | — | — | ✓ | ✓ | | Full-size agent model | — | — | ✓ | ✓ | | Visualization Studio | — | — | ✓ | ✓ | Free workspaces can build everything — inboxes, sequences, campaigns, workflows — and only hit the wall at the point of *sending* or *running*. That is deliberate: you should be able to see the whole product before you pay for it. ## Credits Three meters, each measuring a different real cost. | Credit | Unit | Rate beyond your allowance | | - | - | - | | **AI credits** | 1 model token | $0.00008 per credit ($80 / 1M) | | **Crawl credits** | 1 page scrape or search | $0.04 per crawl ($40 / 1k) | | **Validation credits** | 1 SMTP mailbox probe | $0.005 each ($5 / 1k) | ### What spends what | Action | Spends | | - | - | | Lead search | AI + crawls | | Agent run / chat | AI + crawls | | Scraper run or endpoint call | Crawls (and AI for extraction) | | AI email drafting | AI | | Reply sentiment analysis | AI | | Email validation | Validation credits | | Sending an outreach email | Nothing — it counts against your monthly email allowance | Validation allowances mirror outreach volume exactly, on the principle that verifying everything you send should cost nothing extra. ## Running out You have two options, and you can use both. > [tab] Credit packs > > One-off top-ups that never expire: > > | Pack | Price | > | - | - | > | 1,000,000 AI credits | \$80 | > | 1,000 crawl credits | \$40 | > [tab] Overage > > Switch on metered overage and work simply continues past your allowance, > billed at the unit rates above. > > Set a **spend cap per meter**. When a meter hits its cap, that kind of work > stops — so overage can never surprise you with a bill you did not choose. > > Email validation has no pack: it is pure pay-as-you-go metered usage under > your own cap. With overage off and the pool empty, the API tells you plainly: | Situation | Response | | - | - | | Out of scrape/AI credits | `402` | | Out of validation credits | `402`, `code: "validation_credits_exhausted"` | | Lead storage full | `403`, `code: "lead_limit"` | | Outreach on a free plan | `403`, `code: "outreach_locked"` | | Over your seat count | `403`, seats-exceeded error | ## Watching usage **Dashboard → Usage** shows consumption per meter over your chosen window, with the current pool and what is projected for the month. Programmatically, `GET /api/plan` returns your resolved tier and every feature limit, which is what the dashboard itself uses to gate features before you hit a server-side `403`. ## Billing Billing runs on [Polar](https://polar.sh). Manage your subscription, payment method and invoices from **Settings → Billing**, which opens the customer portal. Plan changes take effect as follows: upgrades apply immediately with a prorated charge; downgrades are deferred to the end of the current period so you keep what you have already paid for. # Quickstart Source: https://docs.manypi.com/quickstart Find your first leads, verify them, and send your first campaign. This walkthrough takes you from a new account to a live cold-email campaign. Every step also has an API and MCP equivalent, linked as you go. > [!NOTE] > > The free plan finds and stores up to 50 leads and includes 50 email > validations, so you can complete steps 1–3 without paying. **Sending** to > leads (step 5) requires a paid plan. ## Step 1 — Create your workspace **1. Sign up** Go to [app.manypi.com](https://app.manypi.com) and create an account. **2. Verify your email** Confirm the address so the workspace is activated. **3. Describe your brand** In **Settings → Brands**, tell ManyPI what you sell: website, a short description, your value proposition and who you sell to. This is not paperwork. The brand is injected into every lead search (so the agent can judge *"would this company want it?"*) and into every AI-drafted email. Skipping it is the single most common reason results feel generic. ## Step 2 — Find your first leads Open **Leads → Find leads** and describe your ideal customer. ```text Example search theme={null} E-commerce agencies in Germany and Austria, 5–50 employees, that build Shopify stores. I need a contact email and the founder or head of growth. Skip anyone who only does SEO. ``` Fill in the structured fields next to the description — locations, industries, titles, required fields, and any **extra columns** you want researched (for example `pricing_page` or `tech_stack`). Then set how many leads you want and start the run. The agent works asynchronously. It searches, crawls, cross-checks and saves leads as it goes, and it will **pause and ask you a question** if your criteria are ambiguous — answer it in the chat and the same run continues. > [!TIP] > > Save the search as a profile. Re-running it later only saves *new* companies, > so a saved search becomes a recurring lead source. > [card] [Lead generation in depth](/leads/finding-leads) > > Criteria, seed leads ("find more like these"), custom columns and limits. ## Step 3 — Verify the email addresses Select your new leads and choose **Verify emails**. ManyPI does a real SMTP mailbox probe from a dedicated sending IP and writes a status back onto each lead: `valid`, `invalid`, `catch_all`, `no_mx`, `disposable` or `unknown`. Addresses that are already known-good are free — you are only charged for probes that actually run. > [card] [Email validation](/leads/email-validation) > > What each status means, what it costs, and how sends are blocked automatically. ## Step 4 — Connect a sending inbox Go to **Outreach → Sending** and connect the mailbox you want to send from. Gmail and Outlook connect over OAuth; anything else works over SMTP. Leave **warmup** on for a new domain. ManyPI ramps the daily volume up over time instead of blasting from day one, and it stops sending automatically if your bounce rate spikes. > [!WARNING] > > Send from a *secondary* domain, not your primary one. Cold outreach reputation > damage is hard to undo and you do not want it on the domain your invoices come > from. ## Step 5 — Write a sequence and launch **1. Create a sequence** **Outreach → Sequences → New**. Write step 1, then add follow-ups with a `wait_days` gap. Use merge variables so one template personalises across every lead: ```html theme={null}

Hi {{first_name}},

I noticed {{company}} builds Shopify stores — we help agencies like yours find their next 20 clients without cold-calling.

Worth a 15-minute look?

``` Or click **Draft with AI**, describe what you are selling, and let ManyPI write the whole sequence against your brand. **2. Create a campaign** A campaign binds one sequence to one sending inbox, and carries the send window, daily limit and tracking settings. **3. Enroll your leads** Select leads in the Leads grid and enroll them. Step 1 goes out on the next send slot; follow-ups are scheduled automatically and stop the moment someone replies. > [!TIP] > > You now have a running campaign. Watch **Outreach → Replies** for what comes > back, and **Outreach → Overview** for sends, opens, replies and bounces. ## Do the same thing over the API Everything above is a REST call. Create an API key under **API Access** in the profile menu and grant it the permissions you need. ```bash Find leads theme={null} curl -X POST https://app.manypi.com/api/leads/research \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "criteria": { "description": "E-commerce agencies building Shopify stores", "locations": ["Germany", "Austria"], "titles": ["Founder", "Head of Growth"], "required_fields": ["email"], "count": 25 } }' ``` ```bash Verify addresses theme={null} curl -X POST https://app.manypi.com/api/leads/validate \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "lead_ids": ["8f1c…", "b207…"] }' ``` ```bash Enroll into a campaign theme={null} curl -X POST https://app.manypi.com/api/outreach/enroll \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "campaign_id": "…", "lead_ids": ["8f1c…"] }' ``` > [card] [API reference](/api-reference/introduction) > > Full endpoint reference, authentication and permission scopes. ## Or drive it from your AI assistant Connect the ManyPI MCP server once and your assistant can run the entire workflow in conversation — find leads, draft the sequence, create the campaign and enroll. ```bash Claude Code theme={null} claude mcp add --transport http manypi https://mcp.manypi.com/mcp -s user ``` > [card] [MCP server](/mcp/introduction) > > Setup for Claude, Cursor, VS Code, ChatGPT, Codex, Gemini CLI and more. # API endpoints Source: https://docs.manypi.com/scraping/endpoints Publish a scraper as a typed REST endpoint on your own slug. An **endpoint** wraps a scraper in a stable, typed REST URL. You define the slug, the parameters it accepts and the shape it returns; ManyPI handles caching, validation and the async fallback. ``` https://app.manypi.com/v1/e/{slug} ``` This is the "turn any website into an API" part of ManyPI — the same machinery the sales side runs on, exposed for your own integrations. ## Creating an endpoint ```bash theme={null} curl -X POST https://app.manypi.com/api/endpoints \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "slug": "product-price", "name": "Product price lookup", "method": "GET", "scraper_id": "…", "param_schema": { "type": "object", "properties": { "url": { "type": "string" } }, "required": ["url"] }, "freshness": "cached_ok", "cache_ttl_seconds": 3600, "mode": "sync" }' ``` | Field | Meaning | | - | - | | `slug` | The URL segment. Lowercase letters, digits and dashes. Unique per account. | | `method` | `GET` or `POST`. | | `scraper_id` | The scraper that backs it. | | `param_schema` | JSON Schema for the input. Validated on every call. | | `output_schema` | JSON Schema for the response. | | `freshness` | `cached_ok` serves a cached result within TTL; `always_fresh` re-scrapes every time. | | `cache_ttl_seconds` | 0 – 604800 (one week). | | `mode` | `sync` waits for the result; `async` returns a run id immediately. | ## Calling it ```bash theme={null} curl "https://app.manypi.com/v1/e/product-price?url=https://example.com/p/42" \ -H "Authorization: Bearer mpi_your_api_key" ``` Query-string values arrive as text and are converted to the types your `param_schema` declares. To send numbers, booleans or nested objects as they are, `POST` the parameters as a JSON body instead — that works for every endpoint, whichever method it was created with: ```bash theme={null} curl -X POST https://app.manypi.com/v1/e/product-price \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com/p/42" }' ``` The call requires the **`endpoints:invoke`** permission on the key. Slugs resolve within the key owner's endpoints, so your slug namespace is your own. ### How a call resolves **1. Cache** If `freshness` is `cached_ok` and a fresh result exists, it is returned immediately — no crawl credits spent. **2. Synchronous scrape** Otherwise the scrape runs inline, up to a \~110 second budget. Most calls finish here. **3. 202 fallback** If it exceeds the budget — or the endpoint is `async` — you get `202` with a `run_id` and a `poll` path (also sent as `Location`). Poll [`GET /v1/e/{slug}/results/{runId}`](/api-reference/endpoints/get-endpoint-result) until it answers `200` with the result. `X-ManyPI-Cache` on a `200` says whether the result came from the cache (`hit`) or a fresh scrape (`miss`). A `502` means the scrape failed, or it finished but did not match your `output_schema` — then `details` lists the mismatches and `raw` carries the result that was produced. That escalation is why an endpoint stays usable from a browser or a Lambda even when the target site is slow: you never hold a connection open indefinitely, and you never lose the work. ## Your OpenAPI spec ManyPI generates a live OpenAPI 3.1 document covering **your** endpoints: ``` https://app.manypi.com/v1/openapi.json ``` Feed it to a client generator, an API gateway, or an AI agent that consumes tool specs — the types come from the schemas you defined, so the generated client is correctly typed with no hand-written models. ## Endpoint limits The number of endpoints you can publish depends on your plan; creating one past the limit returns `403` with the reason. Everything else — caching, validation, the OpenAPI spec — is the same on every paid tier. # Scrapers Source: https://docs.manypi.com/scraping/scrapers Reusable, schema-validated extractors for any page. A **scraper** is a saved extraction: a target URL, a schema describing the shape of the data you want, and the AI instructions to get it. Once saved you can run it from the dashboard, the API, a workflow, the agent, or an MCP client — and every run returns the same validated shape. Scrapers are unlimited on every plan, including Free. What you spend is crawl credits per page. ## Creating one **1. Point at a URL** Paste the page you want to extract from. **2. Describe the data** In plain English: *"Extract the product title, price, rating and whether it's in stock."* ManyPI generates a JSON schema from that. **3. Review the schema** Adjust field names and types, or write the schema yourself: ```json theme={null} { "type": "object", "properties": { "title": { "type": "string" }, "price": { "type": "string" }, "rating": { "type": "number" }, "inStock": { "type": "boolean" } }, "required": ["title", "price"] } ``` **4. Test** Run it once and check the output before you wire anything to it. ## Running a scraper Runs are **asynchronous**. The API accepts the job and returns immediately with a `runId`, so a slow page never times your request out. ```bash Start a run theme={null} curl -X POST https://app.manypi.com/api/scrape/{scraperId} \ -H "Authorization: Bearer mpi_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com/product/42" }' ``` ```json 202 Accepted theme={null} { "success": true, "data": { "runId": "…", "status": "pending", "message": "Scraping job queued." }, "metadata": { "scraperId": "…", "timestamp": "2026-08-14T09:12:44.000Z", "creditsRemaining": 812 } } ``` `url` is optional — omit it to use the scraper's saved target, pass it to point the same extractor at a different page. It is the only field the body takes. Requires the **`scraper`** permission on your API key. ### Getting the result Poll the run until `status` is `completed` (or `failed`): ```bash theme={null} curl https://app.manypi.com/api/runs/{runId} \ -H "Authorization: Bearer mpi_your_api_key" ``` Then read the extracted data. This returns the full result however large it is, but it carries no status — it answers `null` until the run has completed: ```bash theme={null} curl https://app.manypi.com/api/{scraperId}/data/{runId} \ -H "Authorization: Bearer mpi_your_api_key" ``` Or stop polling and add a [webhook](/integrations/webhooks) for `scraper_run.completed`, for one scraper or all of them. ManyPI posts the run and its result to your server when it finishes. `GET /api/runs?limit=20` lists recent runs across all your scrapers with their status and extracted data — the shape polling-based integrations like Zapier expect. ## Errors and credits | Status | Meaning | | - | - | | `202` | Queued. Poll for the result. | | `401` | Missing, invalid or expired API key. | | `402` | Out of credits. | | `403` | The key lacks the `scraper` permission. | | `404` | No such scraper for this account. | Credits are consumed by the work actually performed, so a run that fails to fetch anything does not bill you for pages it never retrieved. ## When to use a scraper vs the agent | Use a **scraper** when | Use the **agent** when | | - | - | | The page shape is known and stable | You do not know where the data is yet | | You need the same fields every time | The task spans many sites | | Something automated consumes the output | You want judgement, not just extraction | | You want it as a REST endpoint | It is a one-off question | > [card] [Publish a scraper as an API](/scraping/endpoints) > > Turn any scraper into a typed REST endpoint at `app.manypi.com/v1/e/{slug}`.