Learn · Setup guides

Connect Instantly API to Outloop

Last updated:

In short

Connect the Instantly API without exposing your API key to your agents.

Outloop lets your agents use approved Instantly (instantly.ai) API access through a secure local bridge. You create a scoped Instantly v2 API key and store it in Outloop — the key stays in your local secret store (macOS Keychain), and agents call the Instantly API through Outloop without ever seeing the raw key.

Summarize this setup guide with AI ChatGPTClaudePerplexity

What this setup gives you

Agents that run cold-email work in Instantly — reading campaigns and accounts, pulling analytics, or building lead lists — usually get a raw API key pasted into a tool, a chat, or a .env file. With Outloop, the v2 API key stays in your local secret store and the agent requests the action through the API Bridge instead, so it never sees the raw key. The credential is used on the wire host-side; the agent uses its capability without ever seeing its value.

Security rule. Never paste API keys, Authorization headers, or personal emails into chat, screenshots, docs, .env files, project folders, or generated artifacts. The key's only destination is the Outloop API key field.

What you need before starting

1. Confirm your account and open Settings

If you manage multiple Instantly accounts, first make sure you are in the right one (top-right account switcher). Then open the account menu and click Settings.

Instantly Settings with the account menu open and the Settings link highlighted.

2. Integrations → API Keys → Create

Open the Integrations tab, select API Keys, and stay on Version 2 (Version 1 is deprecated). Click Create API Key.

Instantly Settings Integrations tab with API Keys selected on Version 2 and the Create API Key button.
Use API v2. Instantly v1 was deprecated on January 19, 2026 and v1 keys do not work on v2 endpoints. Generate a fresh Version 2 key.

3. Name the key and choose scopes

Give the key an identifiable name — match the name Outloop suggests so the same key is easy to recognize on both sides. Then choose scopes. Instantly v2 keys are scoped per resource and action (for example campaigns:read, leads:create). Selecting all:all grants full access to every endpoint.

Instantly Create API Key dialog showing the key name field and the all:all scope selected.
Tip. Scopes cannot be changed after the key is created, and all:all grants full access — pick the minimum the agent needs. For a read-only proof, an all:read key is enough; you can mint a separate write key later.

4. Add the Instantly key in Outloop

In Outloop, choose Instantly and pick the client workspace that should get access. Outloop suggests a key name — copy it so you can name the key the same on both sides. Paste the Instantly key into the API key field and add it; Outloop stores it in macOS Keychain for that client workspace and never shows it again.

Outloop Add an API key panel with Instantly selected, a client workspace chosen, and the suggested key name copied.

5. Enable the bounded API bridge

Instantly has a quick adapter check, but adapter actions are not the full API. Click Enable bridge with recommended settings so agents can do broader approved Instantly work under its allowed host. The bridge is bounded to https://api.instantly.ai with Bearer auth, and the key is injected host-side — agents never see it.

Outloop Enable bridge with recommended settings for Instantly, bounded to api.instantly.ai with bearer auth.

6. Allow Keychain access

The first time the broker reads the key, macOS asks for permission to access instantly_api_key in your Keychain. Enter your login Keychain password and click Always Allow so the prompt does not appear on every run.

macOS Keychain prompt asking to access the instantly_api_key, with Always Allow highlighted.
Important. This is your local macOS login Keychain password — it stays on your Mac. Outloop never sends it anywhere, and it is not the Instantly API key.

7. First safe proof (read-only)

Always prove access with a read first. Copy the test prompt from the Instantly key row and run it in your agent. The safe proof calls:

GET /api/v2/workspaces/current
Outloop workspace showing the Instantly API bridge enabled, runtime-verified, secret exposed false, with the Copy test prompt button highlighted.

Paste the prompt into your agent and wait for the result.

An AI agent running the pasted Outloop Instantly API proof prompt.

A successful, verified Outloop proof looks like this:

Outloop Instantly proof — SUCCESS
GET /api/v2/workspaces/current
HTTP 200
decision: allow / OK
secret_exposed: false
runtime_verified: yes
audit entry present
Agent chat showing the Outloop Instantly proof results: decision allow, HTTP 200, service instantly, secret exposed false, runtime verified through the Outloop bridge.

We use GET /api/v2/workspaces/current for the first proof because it confirms access without changing any Instantly data.

8. What the Instantly API can do

The first proof is read-only, but the integration is not limited to reads. The Instantly API (v2) covers a broad surface. Common reads include:

GET /api/v2/workspaces/current   — the current workspace (the safe proof)
GET /api/v2/campaigns            — list campaigns
GET /api/v2/accounts             — list sending email accounts
GET /api/v2/emails               — list messages (unibox)
GET /api/v2/campaigns/analytics  — campaign analytics
Gotcha. List endpoints use cursor pagination (limit + starting_after; pass the returned next_starting_after). Rate limits are 100 requests/second and 6,000/minute, shared across the whole workspace — extra keys do not raise the ceiling. Build only on v2.

9. Write actions and the safe next proof

Instantly also supports write actions, and the Outloop bridge can route approved POST/PATCH requests when the workspace policy allows them. Notable writes:

POST /api/v2/lead-lists   — create a lead list (safe: empty, deletable)
POST /api/v2/campaigns    — create a campaign (draft sends nothing)
POST /api/v2/leads        — create a lead
POST /api/v2/emails/test  — send a test email

The safest write to test first is POST /api/v2/lead-lists: it creates an empty, self-contained lead list, sends no email, and is trivially deleted with DELETE /api/v2/lead-lists/<id>.

Do not test with campaign activation. Activating a campaign begins real sending to real recipients — it is high-impact, hard to undo, and a deliverability risk. A created campaign is only safe while it stays in draft. Test write actions only when you explicitly approve them, and never auto-run a write during an access check.

10. Verified vs not claimed yet

To keep this honest, here is exactly what is proven and what is not:

Do not claim yet. "Instantly write actions are runtime-verified through Outloop" — only after one approved write proof (such as creating then deleting an empty lead list) succeeds with an expected success status, decision allow, secret_exposed: false, and an audit entry.

11. Instantly API Bridge vs Instantly MCP

Instantly offers both an API and an official MCP. In this workspace, the live, verified path is the Instantly API through Outloop. The API through Outloop is usually more stable, auditable, tenant-scoped, and governable; an MCP can be useful, but we only mark it verified when it is actually connected and tested here — and it is not.

API Bridge: Live now Verified in this guide Audited Secret-safe Workspace-scoped
MCP: Official MCP exists Not connected here Not verified in this guide
For this workspace, the Instantly API through Outloop is the only Instantly path that is live and verified right now.
Area Instantly API through OutloopInstantly MCP
Live in this workspace Live now The API path is the only Instantly path connected here. Not connected here An official MCP exists at mcp.instantly.ai/mcp, but it is not connected in this workspace.
Verified in this guide Verified in this guide Proven with a real Outloop read proof. Not verified here
Auth model API v2 key stored in Outloop / macOS Keychain, injected host-side as a Bearer token. Your Instantly API key over HTTPS; the MCP inherits that key’s scopes.
Raw secret exposure to the agent Secret-safe Outloop keeps the raw key out of chat, files, and agent context. The connector holds the API key in its session.
Audit trail Audited Every API Bridge request is auditable through Outloop. Not through Outloop.
Workspace / tenant routing Workspace-scoped Outloop enforces per-client workspace boundaries. Not through Outloop.
Read actions Verified GET /api/v2/workspaces/current proven live here. Not verified here
Write actions Supported, not verified yet Bridge permits POST/PATCH; not runtime-verified until a safe write proof succeeds. Likely supported 31 official tools include writes, but nothing is verified here.
API surface The full documented Instantly v2 REST surface. A curated tool set (31 tools across 5 categories).
Stability Predictable key-based access. Can depend on connector/session state.
Best fit Governed, repeatable client and workspace workflows. Convenience when a connected MCP is already working.
Honesty note. This comparison is intentionally conservative. The official Instantly MCP exposes a broad toolset (31 tools), but it is not connected in this workspace, so this guide does not mark MCP capabilities as verified. By contrast, the Outloop API Bridge is live and verified here.

12. Troubleshooting

If the proof fails, check:

Common mistake. Assuming a result from the Instantly UI, an MCP, an SDK, or a browser connector proves Outloop access. A connection is only verified if the request goes through Outloop and returns an API Bridge result with an audit entry, decision allow, an HTTP success, and secret_exposed: false.

Outloop is in commercial beta (controlled design-partner prep). Outloop is an independent tool and is not affiliated with or endorsed by Instantly. See the security model, or the Calendly API setup guide.

Summarize this setup guide with AI ChatGPTClaudePerplexity

Once the read proof succeeds, your agent can use the Instantly API through Outloop — without seeing the raw key.

Outloop is accepting qualified AI agencies, operators, and dev shops into commercial beta.

Frequently Asked Questions

Instantly API + Outloop — FAQ