Instantly MCP server
165 operations19 webhooks
Instantly API v2 for cold email - campaigns, subsequences and leads, the Unibox, sending accounts and warmup, inbox placement tests, email verification, the blocklist, webhooks and workspace admin.
Try Instantly with your agent
Connect Instantly, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Instantly on my account, then run one read-only example and show me the result.
Instantly tools and triggers
Tools are what your agent can do in Instantly through Corsair's MCP server. Triggers are the Instantly events a routine can start from.
Campaigns
- ActivateWrite
Start or resume a campaign. This SENDS REAL EMAIL to the campaign's leads from the connected accounts, on its schedule
campaigns.activate
- Add VariablesWrite
Add custom variable names to a campaign, for use as `{{variable}}` in its copy
campaigns.addVariables
- Count LaunchedRead-only
Count the campaigns ever launched in the workspace
campaigns.countLaunched
- CreateWrite
Create a campaign as a draft: schedule, one sequence of email steps with A/B variants, sending accounts, daily limit and stop rules (stop_on_reply, stop_for_company). Sends nothing until campaigns.activate
campaigns.create
- Create From SharedWrite
Create a campaign in this workspace from one shared with campaigns.share
campaigns.createFromShared
- DeleteDestructive
Delete a campaign permanently
campaigns.delete
- DuplicateWrite
Copy a campaign into a new one, optionally with a new name
campaigns.duplicate
- ExportRead-only
Export a campaign's settings and sequence as JSON; changes nothing
campaigns.export
- GetRead-only
Get one campaign with its schedule, sequence steps and settings
campaigns.get
- Get AnalyticsRead-only
Per-campaign totals: leads, contacted, sent, opens, replies, clicks, bounces, unsubscribes, completed and opportunities, for all campaigns or chosen ones, optionally in a date range
campaigns.getAnalytics
- Get Analytics OverviewRead-only
Combined totals across one, several or all campaigns: sent, opens, replies, clicks, bounces, interested, meetings booked and closed
campaigns.getAnalyticsOverview
- Get Daily AnalyticsRead-only
Per-day sent, opens, replies and clicks for one campaign or all, optionally in a date range
campaigns.getDailyAnalytics
- Get Sending StatusRead-only
Explain why a campaign is not sending, or sending slower than expected
campaigns.getSendingStatus
- Get Step AnalyticsRead-only
Sent, opens, replies and clicks per sequence step and A/B variant, for one campaign or all
campaigns.getStepAnalytics
- ListRead-only
List campaigns with status, schedule, sending accounts and daily limit; filter by name, status or tag
campaigns.list
- PauseWrite
Pause a campaign: it stops sending until activated again
campaigns.pause
- Search By LeadRead-only
Find the campaigns a lead is in, by their email address
campaigns.searchByLead
- ShareWrite
Share a campaign for 7 days so other Instantly users can copy it with campaigns.createFromShared
campaigns.share
- UpdateWrite
Change a campaign's name, schedule, sequence steps, sending accounts, daily limit or stop rules; only the fields passed change
campaigns.update
Accounts
- CreateWrite
Connect a sending account with its IMAP and SMTP login (Google and Microsoft OAuth connections are not covered by this plugin). The passwords are sent to Instantly and never logged
accounts.create
- DeleteDestructive
Remove a sending account from the workspace; it stops sending and warming up
accounts.delete
- Disable WarmupWrite
Turn warmup off for up to 100 sending accounts (runs as a background job; returns the job)
accounts.disableWarmup
- Enable WarmupWrite
Turn warmup on for up to 100 sending accounts (runs as a background job; returns the job)
accounts.enableWarmup
- GetRead-only
Get one sending account by email address
accounts.get
- Get Daily AnalyticsRead-only
Emails sent per day by each sending account. Pass emails or a short date range: on a large workspace Instantly answers 413 otherwise
accounts.getDailyAnalytics
- Get Tracking Domain StatusRead-only
Check a custom tracking domain's DNS setup
accounts.getTrackingDomainStatus
- Get Warmup AnalyticsRead-only
Get warmup results for up to 100 sending accounts: daily sent, received and landed-in-inbox counts and a 0-100 health score
accounts.getWarmupAnalytics
- ListRead-only
List sending accounts (mailboxes) with status, warmup status, daily limit and warmup score; filter by status, provider, tag or search
accounts.list
- List CampaignsRead-only
List the campaigns a sending account sends for
accounts.listCampaigns
- Mark FixedWrite
Set a sending account back to active and clear its error message, after fixing its connection
accounts.markFixed
- Move To WorkspaceWrite
Move sending accounts to another workspace in the same workspace group. Needs the admin workspace's API key
accounts.moveToWorkspace
- PauseWrite
Pause a sending account: it stops sending campaign emails until resumed
accounts.pause
- Pause ManyWrite
Pause up to 100 sending accounts at once; returns which were paused and which failed
accounts.pauseMany
- ResumeWrite
Resume a paused sending account so it sends campaign emails again
accounts.resume
- Test VitalsRead-only
Check the health ("vitals") of sending accounts' domains; changes nothing
accounts.testVitals
- UpdateWrite
Change a sending account's name, daily limit, sending gap, signature, reply-to, tracking domain or warmup settings
accounts.update
Leads
- Add BulkWrite
Add up to 1,000 leads to one campaign or list, with custom variables. Skips leads already in the workspace unless skip_if_in_workspace is false, and is never retried automatically. Every lead uploaded counts toward the plan's lifetime contact limit, including re-uploads and the same person in a second campaign; re-adding or moving a lead who already replied restarts their sequence at step 1
leads.addBulk
- AssignWrite
Assign leads (by IDs or filters) to workspace users. Runs in the background
leads.assign
- CreateWrite
Add one lead to a campaign or list. Skips leads already in the workspace unless skip_if_in_workspace is false. Every lead uploaded counts toward the plan's lifetime contact limit, including re-uploads and the same person in a second campaign; re-adding or moving a lead who already replied restarts their sequence at step 1
leads.create
- DeleteDestructive
Delete a lead from the workspace. Its upload still counts toward the lifetime contact limit
leads.delete
- Delete ManyDestructive
Delete leads from one campaign or list, optionally only some IDs or a status. Their uploads still count toward the lifetime contact limit
leads.deleteMany
- GetRead-only
Get one lead with status, interest status, open/reply/click counts and custom variables
leads.get
- ListRead-only
List leads in a campaign or list, or across the workspace; filter by email, status (replied, interested, bounced and more) or search
leads.list
- MergeDestructive
Merge one lead into another (destination_lead_id); the first lead is removed
leads.merge
- MoveWrite
Move or copy leads (by IDs or filters) to another campaign or list, as a background job; returns the job. Moving a lead who already replied restarts their sequence at step 1
leads.move
- Move To SubsequenceWrite
Put a lead into a subsequence. This SENDS REAL EMAIL: the subsequence starts emailing the lead
leads.moveToSubsequence
- Remove From SubsequenceDestructive
Take a lead out of the subsequence it is in; it stops getting that subsequence's emails
leads.removeFromSubsequence
- UpdateWrite
Update a lead's name, company, job title, phone, website, personalization or custom variables. Its status is read-only: to stop follow-ups use leads.updateInterestStatus
leads.update
- Update Interest StatusWrite
Set a lead's interest status by email (Interested, Meeting booked, Not interested, Wrong person and so on, or null to reset). In a campaign this completes the lead, which stops its follow-ups: use it when a lead answered on another channel. Applied in the background
leads.updateInterestStatus
Subsequences
- CreateWrite
Create a subsequence: follow-up emails for a campaign's leads who meet its conditions (a reply, a lead status, an email opened...). While the campaign runs, matching leads get its emails
subsequences.create
- DeleteDestructive
Delete a subsequence; its leads stop getting its emails
subsequences.delete
- DuplicateWrite
Copy a subsequence, with the same trigger conditions, into a campaign
subsequences.duplicate
- GetRead-only
Get one subsequence with its conditions, schedule and steps
subsequences.get
- Get AnalyticsRead-only
Emails sent, unique opens and unique replies for each of a campaign's subsequences
subsequences.getAnalytics
- Get Sending StatusRead-only
Explain why a subsequence is not sending, or sending slower than expected
subsequences.getSendingStatus
- Get Step AnalyticsRead-only
Sent, opens, replies and clicks per step and A/B variant of one subsequence
subsequences.getStepAnalytics
- ListRead-only
List subsequences, by parent campaign or name
subsequences.list
- PauseWrite
Pause a subsequence: it stops sending until resumed
subsequences.pause
- ResumeWrite
Resume a paused subsequence. This SENDS REAL EMAIL to the leads that meet its conditions
subsequences.resume
- UpdateWrite
Change a subsequence's name, conditions, schedule, steps or daily limit
subsequences.update
Blocklist
- AddWrite
Block an email (jane@acme.com) or a whole domain (acme.com) from every campaign
blocklist.add
- Add ManyWrite
Block many emails and domains at once
blocklist.addMany
- Delete AllDestructive
Delete EVERY blocklist entry (or every domain entry, or every entry matching search). Campaigns can then email those addresses again
blocklist.deleteAll
- Download CsvRead-only
Download the blocklist as CSV text
blocklist.downloadCsv
- GetRead-only
Get one blocklist entry by ID
blocklist.get
- ListRead-only
List blocked emails and domains
blocklist.list
- RemoveDestructive
Remove a blocklist entry, so campaigns can email that address or domain again
blocklist.remove
- Remove ManyDestructive
Remove blocklist entries by ID, so campaigns can email those addresses again
blocklist.removeMany
- UpdateWrite
Change the email or domain a blocklist entry blocks
blocklist.update
Emails
- Count UnreadRead-only
Count unread emails in the Unibox
emails.countUnread
- DeleteDestructive
Delete an email from the Unibox
emails.delete
- ForwardWrite
Forward an email from the Unibox to other recipients. This SENDS REAL EMAIL from the chosen sending account, and is never retried automatically
emails.forward
- GetRead-only
Get one email with its full body and thread_id
emails.get
- ListRead-only
List Unibox emails; email_type received lists replies from leads, the way to read replies on plans without webhooks. Filter by lead, campaign, sending account, unread or date. Limited to 20 requests a minute
emails.list
- Mark Thread ReadWrite
Mark every email in a thread as read
emails.markThreadRead
- ReplyWrite
Reply to an email in its thread. This SENDS A REAL EMAIL from the chosen sending account to the lead, and is never retried automatically
emails.reply
- Send TestWrite
Send a test email from a sending account. This SENDS REAL EMAIL to the given addresses (it does not appear in the Unibox). Limited to 10 a minute
emails.sendTest
- UpdateWrite
Mark an email read or unread, or set a Unibox reminder on it
emails.update
Webhooks
- CreateWrite
Subscribe a URL to an event (reply_received, email_bounced, lead_interested...) or all_events, for one campaign or all. Attaches the plugin's webhook secret so Corsair can verify deliveries. Webhooks need Instantly's Hypergrowth plan or higher
webhooks.create
- DeleteDestructive
Delete a webhook subscription; Instantly stops sending its events
webhooks.delete
- GetRead-only
Get one webhook subscription (header values redacted)
webhooks.get
- ListRead-only
List webhook subscriptions with their URL, event type, campaign and status (header values redacted)
webhooks.list
- List Event TypesRead-only
List the event types a webhook can subscribe to, including the workspace's custom labels
webhooks.listEventTypes
- ResumeWrite
Turn a webhook back on after Instantly disabled it for failed deliveries
webhooks.resume
- TestWrite
Send a test payload to the webhook's URL
webhooks.test
- UpdateWrite
Change a webhook's URL, event type, campaign or headers. Passing headers replaces them all, including the x-corsair-webhook-secret Corsair verifies deliveries with
webhooks.update
Workspace
- Cancel RemovalWrite
Cancel a scheduled workspace deletion
workspace.cancelRemoval
- Change OwnerDestructive
Make another user the owner of the workspace. The current owner loses ownership, so this cannot be undone from this API key
workspace.changeOwner
- Delete Whitelabel DomainDestructive
Remove the agency (white-label) domain
workspace.deleteWhitelabelDomain
- GetRead-only
Get the workspace this API key belongs to: ID, name and plan
workspace.get
- Get Whitelabel DomainRead-only
Get the agency (white-label) domain and its verification state
workspace.getWhitelabelDomain
- Schedule RemovalDestructive
Schedule the WHOLE WORKSPACE for deletion in 24 hours. workspace.cancelRemoval stops it before then
workspace.scheduleRemoval
- Set Whitelabel DomainWrite
Set the agency (white-label) domain clients see
workspace.setWhitelabelDomain
- UpdateWrite
Rename the workspace or change its logo
workspace.update
Custom Tags
- CreateWrite
Create a tag for organizing sending accounts and campaigns
customTags.create
- DeleteDestructive
Delete a tag; the accounts and campaigns that had it lose it
customTags.delete
- GetRead-only
Get one tag by ID
customTags.get
- ListRead-only
List the workspace's tags
customTags.list
- Toggle ResourceWrite
Assign tags to, or remove them from, sending accounts or campaigns (by IDs or all matching a filter)
customTags.toggleResource
- UpdateWrite
Rename a tag or change its description
customTags.update
Inbox Placement Tests
- CreateWrite
Create an inbox placement test: a test email sent to seed inboxes to see where it lands (inbox, spam or a category tab). With sending_method 1, Instantly SENDS REAL EMAIL from the given accounts; with 2, you send it from outside Instantly
inboxPlacementTests.create
- DeleteDestructive
Delete an inbox placement test
inboxPlacementTests.delete
- GetRead-only
Get one inbox placement test
inboxPlacementTests.get
- ListRead-only
List inbox placement tests
inboxPlacementTests.list
- List Esp OptionsRead-only
List the email providers an inbox placement test can send to (for recipients_labels)
inboxPlacementTests.listEspOptions
- UpdateWrite
Rename an inbox placement test, change its schedule or automations, or pause or resume it
inboxPlacementTests.update
Lead Labels
- CreateWrite
Create a custom lead label (a status such as "Demo requested") marked positive, negative or neutral
leadLabels.create
- DeleteDestructive
Delete a custom lead label; its leads move to reassigned_status
leadLabels.delete
- GetRead-only
Get one custom lead label by ID
leadLabels.get
- ListRead-only
List the workspace's custom lead labels
leadLabels.list
- Test Ai Reply LabelRead-only
Ask which label Instantly's AI would give a reply text, to test custom labels. Changes nothing, but the workspace gets 500 of these tests per 30 days
leadLabels.testAiReplyLabel
- UpdateWrite
Rename a custom lead label or change its description, sentiment or AI use
leadLabels.update
Lead Lists
- CreateWrite
Create a lead list to hold leads outside any campaign (add to it with leads.addBulk list_id)
leadLists.create
- DeleteDestructive
Delete a lead list permanently
leadLists.delete
- GetRead-only
Get one lead list by ID: name, owner and enrichment setting
leadLists.get
- Get Verification StatsRead-only
Counts of a lead list's leads by email verification result
leadLists.getVerificationStats
- ListRead-only
List lead lists (leads stored outside any campaign)
leadLists.list
- UpdateWrite
Rename a lead list, change its owner or turn enrichment of new leads on or off
leadLists.update
Custom Prompt Templates
- CreateWrite
Create a custom AI prompt template; `{{property}}` placeholders take lead fields
customPromptTemplates.create
- DeleteDestructive
Delete a custom AI prompt template
customPromptTemplates.delete
- GetRead-only
Get one custom AI prompt template
customPromptTemplates.get
- ListRead-only
List custom AI prompt templates, including public ones
customPromptTemplates.list
- UpdateWrite
Change a custom AI prompt template
customPromptTemplates.update
Inbox Placement Analytics
- GetRead-only
Get one inbox placement result
inboxPlacementAnalytics.get
- Get Deliverability InsightsRead-only
Deliverability insights for one inbox placement test, optionally against an earlier period; changes nothing
inboxPlacementAnalytics.getDeliverabilityInsights
- Get Stats By DateRead-only
Inbox, spam and category counts per day for a scheduled inbox placement test; changes nothing
inboxPlacementAnalytics.getStatsByDate
- Get Stats By TestRead-only
Inbox, spam and category counts for inbox placement tests; changes nothing
inboxPlacementAnalytics.getStatsByTest
- ListRead-only
Where each inbox placement test email landed, per recipient; filter by test, date, provider or sender
inboxPlacementAnalytics.list
Workspace Group Members
- CreateWrite
Invite another workspace into this admin workspace's group; it joins once its owner accepts
workspaceGroupMembers.create
- DeleteDestructive
Remove a workspace from this admin workspace's group
workspaceGroupMembers.delete
- GetRead-only
Get one workspace group member
workspaceGroupMembers.get
- Get AdminRead-only
Get the admin workspace this workspace belongs to
workspaceGroupMembers.getAdmin
- ListRead-only
List the workspaces in this admin workspace's group
workspaceGroupMembers.list
Workspace Members
- CreateWrite
Add a user to the workspace by email, with a role
workspaceMembers.create
- DeleteDestructive
Remove a member from the workspace
workspaceMembers.delete
- GetRead-only
Get one workspace member by ID
workspaceMembers.get
- ListRead-only
List the workspace's members
workspaceMembers.list
- UpdateWrite
Change a member's nickname or role
workspaceMembers.update
Webhook Events
- GetRead-only
Get one webhook delivery with its payload and response
webhookEvents.get
- Get SummaryRead-only
Totals and success rate of webhook deliveries, optionally in a date range
webhookEvents.getSummary
- Get Summary By DateRead-only
Webhook delivery totals and success rate per day
webhookEvents.getSummaryByDate
- ListRead-only
List webhook deliveries with their payload, status code and retries; filter by success, date or search
webhookEvents.list
Api Keys
- CreateWrite
Create an API key with the given scopes. The response holds the key itself, the only time it is returned in full
apiKeys.create
- DeleteDestructive
Revoke an API key; anything using it stops working
apiKeys.delete
- ListRead-only
List the workspace's API keys with their scopes (key values redacted)
apiKeys.list
Domain Forwarding
- GetRead-only
Get the web forwarding set on a domain ordered through Instantly
domainForwarding.get
- RemoveDestructive
Remove a domain's web forwarding. Limited to 10 requests a minute
domainForwarding.remove
- SetWrite
Forward web visits to a domain ordered through Instantly to another domain
domainForwarding.set
Email Templates
- CreateWrite
Save an email template (name and body)
emailTemplates.create
- DeleteDestructive
Delete a saved email template
emailTemplates.delete
- ListRead-only
List saved email templates
emailTemplates.list
Background Jobs
- GetRead-only
Get one background job, e.g. the one leads.move or accounts.enableWarmup returned
backgroundJobs.get
- ListRead-only
List background jobs (lead moves, imports, warmup changes) with status and progress
backgroundJobs.list
Billing
- Get Plan DetailsRead-only
Get the workspace's plans and their limits
billing.getPlanDetails
- Get Subscription DetailsRead-only
Get the workspace's subscriptions and billing state
billing.getSubscriptionDetails
Crm Actions
- Delete Phone NumberDestructive
Release a phone number from the workspace and its provider
crmActions.deletePhoneNumber
- List Phone NumbersRead-only
List the workspace's phone numbers
crmActions.listPhoneNumbers
Email Verification
- Get StatusRead-only
Get the result of an email verification started with emailVerification.verify
emailVerification.getStatus
- VerifyWrite
Verify one email address. SPENDS Instantly email-verification credits (the response reports credits and credits_used) and is never retried automatically. A slow check answers pending; read the result with emailVerification.getStatus
emailVerification.verify
Engage Items
- Delete ManyDestructive
Delete up to 100 AI agents or automations from Engage at once
engageItems.deleteMany
- ListRead-only
List Engage items: campaigns, AI agents, automations, broadcasts and journeys in one list
engageItems.list
Inbox Placement Reports
- GetRead-only
Get one blacklist and SpamAssassin report
inboxPlacementReports.get
- ListRead-only
List blacklist and SpamAssassin reports for inbox placement tests
inboxPlacementReports.list
Audit Logs
- ListRead-only
List audit log records (who did what, when); filter by activity type, search or date
auditLogs.list
Custom Tag Mappings
- ListRead-only
List which tags are assigned to which accounts and campaigns
customTagMappings.list
Connect Instantly to Claude, ChatGPT or Cursor
- 1
Connect Instantly in Corsair
Add your Instantly API key once in Corsair. Corsair stores the credential encrypted and makes the Instantly API calls for your agent, so it never goes into a prompt or a config file. Connect Instantly
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Instantly. On a ChatGPT personal plan, connect Instantly here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Customize → Connectors → Add custom connector, paste the address, then select Connect.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Instantly's read and write operations run right away and its 27 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/instantly, add the Instantly plugin, and connect with an API key. Then call methods like corsair.instantly.api.accounts.create() from your app. Corsair verifies webhooks, and syncs data per tenant.
Yes. Instantly requires an API key from your Instantly account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Instantly, GitHub, Notion, Stripe, and the rest. Trigger Instantly from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for instantly API v2 for cold email - campaigns, subsequences and leads, the Unibox, sending accounts and warmup, inbox placement tests, email verification, the blocklist, webhooks and workspace admin. Common builds include sync jobs, admin tooling, and agents that call Instantly APIs from your backend. Webhook handlers react to Instantly events and fan out to Slack, email, or other plugins in the same tenant. Local DB entities let you query synced Instantly records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Instantly API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/instantly in the open repo. When Instantly ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Instantly data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Instantly data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Instantly on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 27 destructive Instantly operations. You can change a link's mode at hub.corsair.dev/me.