Connect an AI agent (MCP)

AI & MCP

Connect an AI agent (MCP)

Sendcore exposes a Model Context Protocol server, so any MCP-compatible assistant (Claude, ChatGPT, Cursor and others) can read your reports, draft campaigns, forms and automations, and manage contacts in plain language. One setup works with every client. Prefer zero setup? The same capabilities are already in the dashboard's AI chat.

On this page8 sections

Server URL#

https://www.sendcore.me/api/mcp

Recommended: connect with sign-in (OAuth)#

The simplest path: no API key to manage. In a client with a connector UI (like Claude):

  1. Open Settings → Connectors → Add custom connector and paste the server URL above. Leave Client ID / Secret empty.
  2. You'll be sent to Sendcore's authorization page. Sign in, choose the workspaces (All my workspaces or Only this workspace, see below) and the permissions (Full access or Read-only).
  3. Done: the assistant is connected. Manage or revoke it anytime from your settings.

Full access is offered only when your role in the account is Owner, Admin or Manager. An Analyst sees Read-only alone, with the note "Your role in this account is read-only, so this assistant can only read. Full access needs the Owner, Admin or Manager role.", and their assistant can only read. The connection works on the whole account: who can do what is in Team & roles.

For clients configured with a JSON file, the OAuth flow is triggered by the URL alone:

JSON
{
  "mcpServers": {
    "sendcore": {
      "url": "https://www.sendcore.me/api/mcp"
    }
  }
}

The steps for ChatGPT, Gemini, Cursor, VS Code, n8n, Make and the other apps are in Connect from your AI app.

One connection, all your workspaces#

If you work in several Sendcore workspaces (your own store, client stores, a second shop), one connection is enough. On the authorization page choose All my workspaces (the default): the assistant works in every workspace you can access with your email, including the ones you join later. With Only this workspace the connection stays in the workspace you are working in, as before.

  1. Ask the assistant which workspaces you have: it uses list_workspaces, which shows each one's id, store name, domains (Shopify, WooCommerce, website), your role and which one is active.
  2. Choose where to work, for example "work on myshop.com": the assistant uses select_workspace with the id, the store name or the domain. From then on every request works in that workspace until you change it. At first, the active one is the workspace you were in when you approved the connection.
  3. For a single request in another workspace there is no need to switch: every tool takes the workspace argument, which applies to that call only.
  • Your role in each workspace. In each one the assistant has the role you hold there, checked on every request: where you are an Owner, Admin or Manager it can write (if you chose Full access), where you are an Analyst it can only read.
  • Only your workspaces. A workspace you cannot access is refused, whatever id or name is given. If someone removes you from a team, the connection stops working there at once; your other workspaces stay.
  • A new workspace. Ask the assistant to open one: it uses manage_team with the action create_workspace, you become its Owner, it starts empty on the Free plan and becomes the connection's active workspace. From the dashboard it is New workspace in the account menu.
  • No blind changes. If the active workspace is no longer yours and you have more than one, the assistant changes nothing until you choose one.
  • Revoking. In Settings → AI / MCP the connection shows in every workspace it reaches, labelled All their workspaces. Revoke everywhere removes it from every workspace, because it is one connection. An Owner or an Admin of the workspace can do it, and so can you.
  • Older connections and API keys. Connections approved before this choice existed, and every API key, stay on one workspace. To switch to a connection for all your workspaces, remove the Sendcore connector from your assistant and add it again.

Alternative: connect with an API key#

For clients or scripts without an OAuth flow, authenticate with an API key sent as a Bearer token. Create one under Settings → API keys. Only an Owner or an Admin can create one. A Full access key sees the Read and Write tools; a Read-only (AI agents / MCP) key only the Read tools; a Contact intake only (Zapier, external forms) key cannot connect to the MCP server.

JSON
{
  "mcpServers": {
    "sendcore": {
      "url": "https://www.sendcore.me/api/mcp",
      "headers": {
        "Authorization": "Bearer sc_live_xxxxxxxxxxxxxxxx"
      }
    }
  }
}

Connect from your AI app#

The same steps in every app: paste the server URL, sign in to Sendcore and approve. Below is where to do it in each one. Menu names are the app's own and can change between versions.

AppHow it connects
Claude (claude.ai, Desktop, mobile)Sign-in (OAuth)
Claude CodeSign-in (OAuth) or API key
ChatGPTSign-in (OAuth)
OpenAI DotsThrough ChatGPT
Codex (CLI and IDE extension)Sign-in (OAuth) or API key
CursorSign-in (OAuth) or API key
VS Code (GitHub Copilot)Sign-in (OAuth) or API key
Visual Studio (GitHub Copilot)Sign-in (OAuth) or API key
Microsoft Copilot StudioSign-in (OAuth) or API key
Gemini CLISign-in (OAuth) or API key
Gemini (app and web)Sign-in (OAuth)
Grok and Grok BotSign-in (OAuth)
PerplexitySign-in (OAuth) or API key
Meta MuseNot in every version
Hermes AgentSign-in (OAuth) or API key
OpenClawSign-in (OAuth) or API key
n8nSign-in (OAuth) or API key
MakeAPI key
Other AI agentsSign-in (OAuth) or API key

Claude (claude.ai, Desktop, mobile)

Any plan; Claude may limit how many custom connectors a Free plan adds. On Team and Enterprise an Owner may have to add the connector for the organization first.

  1. In Claude open Settings → Connectors → Add custom connector.
  2. Name it Sendcore, paste https://www.sendcore.me/api/mcp and leave the advanced Client ID / Secret empty.
  3. Click Connect, sign in to Sendcore and approve. The connector also works in the Desktop and mobile apps.

Claude Code

  1. Run the command below in a terminal.
  2. Start Claude Code, type /mcp, choose sendcore and Authenticate: the browser opens Sendcore's approval page.
  3. With an API key instead, add --header "Authorization: Bearer sc_live_…" to the command and skip the sign-in.
Shell
claude mcp add --transport http sendcore https://www.sendcore.me/api/mcp

ChatGPT

Developer mode. OpenAI documents full (read and write) MCP apps for Business, Enterprise and Edu, where a workspace admin turns it on; on Plus and Pro, OpenAI limits custom apps to read and fetch actions.

  1. In ChatGPT open Settings → Apps → Advanced settings and turn on Developer mode (on Business, an admin does it in the workspace settings).
  2. Create an app: name Sendcore, MCP server URL https://www.sendcore.me/api/mcp, authentication OAuth.
  3. Sign in to Sendcore and approve. In a chat, pick Sendcore from the tools menu; ChatGPT asks you to confirm before every write.

OpenAI Dots

  1. Dots uses the apps of your ChatGPT account: add Sendcore to ChatGPT first (above).
  2. Dots then finds the Sendcore tools it needs on its own. It is rolling out to some ChatGPT plans only.

Codex (CLI and IDE extension)

  1. Run the two commands below: the second opens Sendcore's approval page in the browser.
  2. With an API key instead: codex mcp add sendcore --url … --bearer-token-env-var SENDCORE_API_KEY, and set SENDCORE_API_KEY to your sc_live_ key.
Shell
codex mcp add sendcore --url https://www.sendcore.me/api/mcp
codex mcp login sendcore

Cursor

  1. Open Cursor Settings → MCP → Add new MCP server, or edit ~/.cursor/mcp.json, and paste the configuration below.
  2. Next to sendcore click Connect (or Needs login), sign in to Sendcore and approve.
  3. With an API key instead, add "headers": { "Authorization": "Bearer sc_live_…" } next to the url.
JSON
{
  "mcpServers": {
    "sendcore": { "url": "https://www.sendcore.me/api/mcp" }
  }
}

Cursor may cap how many MCP tools the agent sees at once. If a Sendcore tool seems missing, turn off the tools you do not use in Cursor's MCP settings.

VS Code (GitHub Copilot)

  1. Run MCP: Add Server from the Command Palette, choose HTTP, paste the URL and name it sendcore, or put the configuration below in .vscode/mcp.json.
  2. Start the server and allow the sign-in when VS Code asks: Sendcore's approval page opens in the browser.
  3. Use the tools from Copilot Chat in Agent mode. On a company GitHub plan, an admin may have to allow MCP servers in Copilot.
JSON
{
  "servers": {
    "sendcore": { "type": "http", "url": "https://www.sendcore.me/api/mcp" }
  }
}

Visual Studio (GitHub Copilot)

Visual Studio 2022 17.14 or later, or Visual Studio 2026.

  1. Put the configuration below in %USERPROFILE%\.mcp.json (every solution) or in .mcp.json next to your solution.
  2. In Copilot Chat switch to Agent, open the tools list, select sendcore and authenticate when asked.
JSON
{
  "servers": {
    "sendcore": { "type": "http", "url": "https://www.sendcore.me/api/mcp" }
  }
}

Microsoft Copilot Studio

  1. In your agent open Tools → Add a tool → New tool → Model Context Protocol.
  2. Name Sendcore, server URL https://www.sendcore.me/api/mcp, authentication OAuth 2.0 with Dynamic discovery, then create the connection and sign in to Sendcore.
  3. With an API key instead: authentication API key, sent as a header named x-api-key, value your sc_live_ key.

Gemini CLI

  1. Add the configuration below to ~/.gemini/settings.json. Use httpUrl: url means the older SSE transport, which Sendcore does not serve.
  2. Start gemini and run /mcp auth sendcore: Sendcore's approval page opens in the browser.
  3. With an API key instead, add "headers": { "Authorization": "Bearer sc_live_…" } next to httpUrl.
JSON
{
  "mcpServers": {
    "sendcore": { "httpUrl": "https://www.sendcore.me/api/mcp" }
  }
}

Gemini (app and web)

Google currently offers custom apps only on personal Google accounts with Keep Activity on, in English, and not in every country or plan.

  1. On gemini.google.com open Settings → Connected apps → Add a custom app.
  2. Paste https://www.sendcore.me/api/mcp, continue, sign in to Sendcore and approve.

Work and school Google accounts do not have this option; there, Gemini Enterprise adds MCP servers from the admin console.

Grok and Grok Bot

A paid Grok plan.

  1. Open grok.com/connectors → New Connector → Custom.
  2. Paste https://www.sendcore.me/api/mcp, sign in to Sendcore and approve. On Business and Enterprise, a team admin can add it for everyone.

Perplexity

Pro, Max or Enterprise. On Enterprise an admin must allow members to add custom connectors.

  1. Open Settings → Connectors → Add custom connector.
  2. Name Sendcore, URL https://www.sendcore.me/api/mcp, transport Streamable HTTP, authentication OAuth.
  3. Sign in to Sendcore and approve, and finish in the browser tab before closing it.

Meta Muse

  1. The Muse app does not offer a way to add any MCP server in every version: if yours shows Add custom connector in Settings, paste the URL there and sign in.
  2. Muse Code, Meta's coding agent, takes MCP servers in its settings file like the agents above.

Hermes Agent

  1. Add the entry below under mcp_servers in ~/.hermes/config.yaml.
  2. Run hermes mcp login sendcore to approve in the browser, then /reload-mcp in the chat.
  3. With an API key instead, replace auth: oauth with headers: { Authorization: "Bearer ${SENDCORE_API_KEY}" }.
YAML
mcp_servers:
  sendcore:
    url: "https://www.sendcore.me/api/mcp"
    auth: oauth

OpenClaw

  1. Run the two commands below. --transport streamable-http is required: OpenClaw's default is the older SSE transport, which Sendcore does not serve.
  2. With an API key instead, drop --auth oauth and set an Authorization: Bearer sc_live_… header on the server in OpenClaw's config.
Shell
openclaw mcp add sendcore --url https://www.sendcore.me/api/mcp --transport streamable-http --auth oauth
openclaw mcp login sendcore

n8n

n8n 1.119 or later for the sign-in (1.104 for an API key).

  1. In an AI Agent node add the tool MCP Client Tool.
  2. Endpoint https://www.sendcore.me/api/mcp, Server Transport HTTP Streamable.
  3. Authentication MCP OAuth2 (sign in to Sendcore when n8n asks), or Bearer Auth with your sc_live_ key.

Make

  1. Add the MCP Client module to a scenario and create a connection.
  2. In MCP Server choose + New MCP Server and paste https://www.sendcore.me/api/mcp.
  3. Put a Sendcore API key (sc_live_…) in API Key / Access token. Use a Read-only key if the scenario only reads.

Other AI agents

  1. Any agent that speaks MCP over Streamable HTTP connects with the server URL: with OAuth sign-in if it supports it, otherwise with an Authorization: Bearer sc_live_… header (or x-api-key: sc_live_… when it lets you name the header but not add Bearer).
  2. An agent that runs only local (stdio) servers can reach Sendcore through the mcp-remote bridge: npx mcp-remote https://www.sendcore.me/api/mcp.
  3. Agents that speak only the older SSE transport cannot connect.

Safety model#

  • Sends after your yes. An agent sends or schedules a campaign to your audience (send_campaign, schedule_campaign) only after it showed you the recipients, the time and the cost in a preview and you said yes in the chat, with the same checks as Review & send. It never pays: it gives you the link where you pay the difference, then the campaign goes out by itself. The same goes for deciding an A/B test (decide_ab_test). An automation is turned on with enable_automation only after you have seen its preview and confirmed. Form publishing stays a human decision, in the dashboard.
  • Per-connection permissions. A read-only connection sees only the Read tools; write operations require full access, checked again before every Write tool runs. A connection works on the whole account but follows the current role of the person who approved it, checked on every request: if that person becomes an Analyst, the connection can only read; if they leave the team, it stops working. The same goes for an API key and the person who created it. Connections approved before November 2026, and keys that show a dash instead of an email after Created by, do not follow these changes: revoke them and set them up again in Settings → AI / MCP and Settings → API keys (see API keys and AI assistants).
  • Preview with `plan`. Every write tool that changes something accepts plan: true: it returns exactly what would happen (changes, preview, reversibility) without writing anything. Repeating the same call without plan executes it.
  • Full audit trail. Every agent write operation (preview or execution, success or failure) is recorded: who, what, when, from which surface, and how it went.
  • Destructive operations. delete_campaign and delete_automation delete data, and disable_automation stops a live workflow, while enable_automation starts one and sends real emails: in the in-app chat they require an explicit user confirmation before running. The two workflow tools ask what happens to the contacts inside, just like the dashboard does. generate_campaign_email deletes nothing but replaces a campaign's content, including edits made by hand in the editor. On a campaign that already has content, preview with plan first.

Read and write an email's content#

An agent reads and changes an email's content the way the editor holds it, block by block: a campaign (campaign_id), an automation email (automation_id with step_id, or its email_id from list_automations) or a form's confirmation email (form_id). Words stay exactly as written, merge tags such as {{ contact.first_name | "there" }} included.

  1. get_campaign_email returns the settings, the blocks in order with their ids, every text in full, the links and the editor's checks (empty links, merge tags, unsubscribe link).
  2. edit_campaign_email applies a batch of operations on those ids: all of them or none. With plan: true it first shows the block-by-block diff.
  3. write_campaign_email writes the whole email from a list of blocks, or (mode: "texts") puts new words into the existing blocks: for example after copy_campaign, with the approved copy.

Blocks an agent creates and edits, with the same settings as their panel in the editor: layout, text, image, button, lineSpace, discount, menu, socialMedia, countdown, htmlCode, productListing, productRecommender, abandonedProducts, orderTotal. get_email_block_catalog lists every property.

The ready-made sections of the editor's Images, Header and Footer lists are a Layout created with {type: "layout", properties: {preset: "headerLogoMenu"}}: the catalog's presets list them with their names in the editor. They are written as a drop writes them, with the brand kit's logo, font and primary colour and the email's language; the footer keeps the preferences and unsubscribe links. The blocks inside are edited where they are, not moved out.

A campaign that is sending or already sent cannot change: copy it. If the email is open in the editor, reload that tab before working there again: the editor keeps its own copy and the last save wins. The same operations are in the API: GET, POST and PUT /api/v1/campaigns/content.

In an A/B test, version: "b" with the campaign's campaign_id reads, writes and tests version B, in the same tools and routes; "a" is the campaign itself and the default. When B uses A's email (content_source variant_a), writing it is refused: first give it an email of its own with update_email_settings and ab_test: {version_b: {content_source: "own"}}. See A/B test a campaign.

A Product listing's products come from the connected store: search_store_products finds them by name and gives their ids; edit_campaign_email puts them into the cards with the block's products property, as the product picker does (name, picture, price, old price and product page from the store). Without a connected store a card can only be given an address (card_links).

Tool reference#

Read tools are available on every connection. Write tools require a full-access connection; only send_campaign and schedule_campaign reach your audience, after your yes. The Plan column marks tools that support a no-execution preview.

ToolAccessPlanDescription
list_workspacesRead–Every workspace (account / store) this connection can act on: id, store name, store domains, your role there, and which one is active. An older connection or an API key lists its one workspace.
select_workspaceRead–Make one of your workspaces the active one, by id, store name or store domain: every later call acts on it until you change it. Only on a connection approved with All my workspaces.
get_account_overviewRead–Store name/website, sending domain and verification, the domain's DMARC record as it is published today, sender identity, and email usage for the current period.
list_campaignsRead–List email campaigns with status and performance (sent, opens, clicks, rates, revenue and the number of orders it came from). An A/B test comes with ab_test: its settings, phase, numbers per version, winner and confidence.
get_campaign_reportRead–Full report for one campaign: settings plus performance metrics, with its orders and revenue per store (sales). store: that store's only. An A/B test adds ab_test, as the report's A/B panel shows it (also GET /api/v1/campaigns/ab-test).
check_campaign_sendRead–Whether a campaign fits what the account paid for: ok, send_limit, or upgrade_required with the tier that fits, the amount due now and the monthly price from the renewal. Never pays: it returns payment_url, the page where an Owner pays the difference on Stripe or Shopify; the campaign is then sent by itself. An A/B test adds ab_test: the test group per version, the rest, when the winner is expected, and refusal when the test cannot go out.
analyze_campaignRead–One campaign's metrics side-by-side with the account averages, plus concrete findings (subject length, missing preheader, above/below-average rates). An A/B test adds ab_test and findings on the two versions.
get_audience_statsRead–List health: total contacts, subscribed vs unsubscribed, new in last 30 days, suppressed.
get_reportRead–One of the report pages, with its own numbers, picked by report: sales (Reports → Sales: revenue, the part From Sendcore split between campaigns and automations, the previous period, a series), products (Reports → Products: best sellers and the units Sendcore drove), customer_breakdown (Audience → Customer breakdown), goals (the Goals checklist, the last 30 days' KPIs and top campaigns; nothing to set) or live_view (the last 7 days of store activity). Days are UTC, as on the pages.
start_contact_exportWrite✓Export contacts as Audience → Exports does (all, subscribed, a segment or a tag, with the columns you choose) and get a download link to the CSV, valid for one hour. Needs a Full access connection and a role that may export contacts.
get_contact_exportRead–The status of a contact export (ready, running, success with the rows exported, error, expired) and a fresh download link while it is valid; without an id, the recent exports.
search_contactsRead–Search contacts by free text, tag or consent state (up to 50 matches). Requires the audience-export permission in the in-app Copilot.
get_contactRead–One contact's profile, as the contact page shows it: fields, tags, custom properties, consent per channel, suppression, segments, attributed revenue and the last 30 days of store activity. Also GET /api/v1/contacts?email=.
list_audience_tagsRead–The account's tags, as the Tags page lists them: contacts per tag and when each was last applied. Search and sort.
update_contactWrite✓Change one contact's first name, last name, phone, birthday or custom properties. Never changes consent, never adds a contact.
list_segmentsRead–List audience segments (manual, filter-based, or Shopify-imported) with their rules, in words and as stored, and how many members each has, or whether they are still being calculated.
get_segment_filter_optionsRead–The vocabulary for building a filter segment on this account: rule types and their values, plus your custom property keys, tags and sent campaigns, and whether a store is connected.
list_automationsRead–List every automation workflow with status, trigger type and its performance (sent, opens, clicks, orders, revenue) for a period, all time by default, and its emails (step_id, email_id) for get_campaign_email. Orders and revenue per store in sales_by_store; store: that store's only, as the dashboard with that store open.
list_formsRead–List signup forms (popup, flyout, embedded) with views and submissions, and the id of each form's double opt-in confirmation email.
get_brand_kitRead–Brand kit: store info, brand context, fonts, colors (primary, secondary, accent, text, background), logo, social and header links, in the fields update_brand_kit takes. Grounds on-brand copy. Also GET /api/v1/brand-kit.
list_media_imagesRead–List the images of the media library, newest first: id, url, name, kind, size, width and height, date. Search by name, filter by kind, page. With link_id, only the photos uploaded through one upload link, and whether the link still accepts more. Also GET /api/v1/media.
list_saved_blocksRead–List the layouts and elements saved from the email editor: id, name, layout or element, block type, first words, where it fits. Also GET /api/v1/saved-blocks.
list_email_templatesRead–List the templates an email can start from: Sendcore's built-in designs in your logo and colours, in Italian or English, and your saved templates, with what each is for and whether it fits a campaign or an automation.
search_knowledgeRead–Search the official Sendcore documentation and get back matching sections with a link to cite.
manage_partnerconfirmWrite✓For partner agencies, the partner portal: acts for the partner who connected the assistant, in any workspace. action status (pending or approved, your referral link, your tier), terms (the programme rules: rates, tier, 60-day hold, clawbacks, payouts; anyone), list_stores (your stores with status, plan and earnings), list_link_requests, create_store (a draft for a client), transfer_store (send or resend the Owner invitation; only drafts and pending transfers), cancel_transfer, request_link (by the client's workspace code), remove_store / restore_store (only workspaces you own). A pending partner reads only status and terms. Also /api/v1/partner. How to connect: sendcore.me/docs/partners#ai-assistant.
partner_earningsWrite✓For partner agencies, the Earnings page: action summary (this month, outstanding, payable, on hold, lifetime, tier), statement (a month's lines: held until, payable, paid with date and reference, clawed back, failed with reason), export_csv (a month as the portal's CSV), payout_status (Stripe Connect), payout_link (Stripe's single-use link to connect or update the payout account: you finish it in the browser). Also /api/v1/partner/earnings and /api/v1/partner/payouts.
create_campaign_draftWrite✓Create a new DRAFT campaign (name, optional subject/preheader/language). With template_id the email starts from a template from list_email_templates. With ab_test it starts as an A/B test (the fields of update_email_settings). Never sends.
update_email_settingsWrite✓Change the settings of an existing campaign or automation email: subject, preheader, sender name and email, reply-to, internal name, language and UTM, and a campaign's audience (all, or included segments, minus excluded ones). Only the fields sent change. ab_test turns a campaign's A/B test on or off (enabled) and sets test_size_pct, winner_metric (click_rate, open_rate, revenue_per_recipient), decision_minutes and version_b (subject, preheader, sender_name, sender_email, reply_to, content_source own or variant_a). Also POST /api/v1/campaigns/settings. Refused on a campaign that is sending or sent. Never schedules or sends.
add_media_imageWrite✓Add an image to the media library from a public https address, from a file ChatGPT attaches, or from base64 (small images only), with the limits and optimization of an upload. Private-network addresses are refused. With upload_link it creates a 30-minute upload link instead: page_url for you to open and pick your photos, upload_url for an AI with code execution to send the file itself. Also POST /api/v1/media and POST /api/v1/media/upload-links.
delete_media_imageconfirmWrite✓Permanently delete an image of the media library, with its file. Emails and forms still using it show a broken picture. Also DELETE /api/v1/media.
save_email_templateWrite✓Save the current content of a campaign, an automation email or a form's confirmation email (form_id) as one of your templates; with block_id, one of its blocks as a saved layout or element. The email does not change. Also POST /api/v1/email-templates.
apply_email_templateWrite✓Apply a template to an existing campaign, automation email or form confirmation email (form_id). Replaces its whole content, editor edits included: preview with plan first. Subject, sender and audience stay. Also POST /api/v1/email-templates/apply. version "b": version B of an A/B test.
rename_saved_templateWrite✓Rename one of your saved templates, layouts or elements. Also PATCH /api/v1/email-templates.
delete_saved_templateconfirmWrite✓Permanently delete one of your saved templates, layouts or elements. Emails that used it keep their copy. Also DELETE /api/v1/email-templates.
update_brand_kitWrite✓Change the brand kit: colours (primary, secondary, accent, text, background), fonts, logo (an image of the library), brand context, social and header links. Only the fields sent change. Owner or Admin. Also PATCH /api/v1/brand-kit.
generate_campaign_emailWrite✓Generate a draft campaign's content with Sendcore AI using the account's brand kit, as editor blocks (the same as the editor's Generate with AI): read them with get_campaign_email, change them with edit_campaign_email. Replaces the campaign's current content, editor edits included: preview with plan first. A sent campaign is refused. version "b": version B of an A/B test.
get_campaign_emailRead–Read an email's content exactly as the editor holds it: a campaign, an automation email or a form's confirmation email. Settings, every block in order with its id and properties, every text in full, the whole email as plain text, its links, the editor's checks and the merge tags it can use. Also GET /api/v1/campaigns/content. version "b": version B of an A/B test.
edit_campaign_emailWrite✓Change an email block by block: insert, insert a saved layout or element, update properties, set text, move, duplicate, delete, change the document settings. One batch, all or nothing; everything else stays as it is. Also POST /api/v1/campaigns/content. Refused on a campaign that is sending or sent. version "b": version B of an A/B test.
write_campaign_emailWrite✓Write an email's whole content from a list of blocks, with the words exactly as given; or, with mode "texts", put new words into the blocks it already has and keep its design. Also PUT /api/v1/campaigns/content. version "b": version B of an A/B test.
get_email_block_catalogRead–The block types an agent can read and write, with what each can do and its properties, the document settings, the operations, how merge tags are written and the ready-made sections of the editor's Images, Header and Footer lists (presets). Also GET /api/v1/campaigns/content/catalog.
search_store_productsRead–Find products of the connected store (Shopify or WooCommerce) by name, or look them up by id or handle: the catalogue the editor's product picker searches. Each comes with the id a Product listing takes, its price as a card shows it, old price, picture, page and variants. Also GET /api/v1/store/products.
generate_subject_linesWrite–Generate alternative subject lines (with matching preheaders) from a brief. Nothing is saved.
send_campaign_test_emailWrite✓Send a TEST version of a campaign, an automation email or a form's confirmation email to up to 5 explicit addresses (excluded from reports). Not the audience. Until the sending domain is verified, only to the account owner's inbox. The addresses are remembered. Also POST /api/v1/campaigns/test-send. version "b": version B of an A/B test.
manage_saved_test_recipientsWrite✓List, remove or replace the remembered test addresses (the Send test dialog's quick picks, at most 10, shared by the account). Sends nothing. Also GET, DELETE and PUT /api/v1/campaigns/test-recipients.
send_campaignconfirmWrite✓Send a campaign now to its saved audience, through Review & send's own checks: the plan's emails and contacts tier, an account pause, the content review, a sample first for a risky send, consent and unsubscribed contacts. plan: true answers the recipients after exclusions, the cost or the upgrade needed (with the payment link, never a payment) and the verification. The agent sends only after you say yes in the chat. A sent campaign is sent again only with resend. For an A/B test the plan adds ab_test (the test group, the rest, when the winner is expected). Also POST /api/v1/campaigns/send.
schedule_campaignconfirmWrite✓Schedule a campaign, move its time, or put it back to draft (unschedule), with the same checks as a send now; they run again when it leaves. scheduled_at is ISO 8601, or YYYY-MM-DDTHH:mm in the store's time zone; plan: true shows that time in the store's time zone. Only after you confirm in the chat. Also POST and DELETE /api/v1/campaigns/schedule.
decide_ab_testconfirmWrite✓Decide a running A/B test, as the report's buttons do: action select_winner with variant "a" or "b" sends that version to the rest now, end_test finishes without sending to the rest, resume sends the rest of a test whose send stopped. plan: true answers who would receive it, the results so far and what blocks it. Only after your yes in the chat; never pays. Also POST /api/v1/campaigns/ab-test.
delete_campaignconfirmWrite✓Permanently delete a campaign by id. A campaign that is currently sending can't be deleted.
create_contactWrite✓Add a subscribed contact (deduped by email). An existing contact is never re-subscribed.
add_contact_tagWrite✓Add a tag to one or more existing contacts by email.
create_segmentWrite✓Create a manual segment from a list of contact emails (max 1000).
create_filter_segmentWrite✓Create a filter segment from rules (subscription, tags, signup form, orders, engagement, dates, birthday, spend, lifecycle stage, source, deliverability, and a final 'keep only the first N' row). Membership is computed and kept refreshed. With plan, shows the rules in words and how many contacts match. A single 'has tag X' rule works like Save as segment: if that segment already exists, it is returned with already_exists instead of a copy.
create_form_draftWrite✓Create a DRAFT signup form (popup, flyout or embedded). Never published on its own.
get_formRead–Read one signup form whole: content (pages, fields, buttons, success views, style, language), display settings (trigger, frequency, devices, pages, scheduling, targeting, redirect, tags, double opt-in, tracking), status and the confirmation email's id.
update_formWrite✓Change a form's name, type, content or settings (only the settings sent change). Turning double opt-in on creates the confirmation email, which the email tools edit and test with form_id. Never publishes.
set_form_statusconfirmWrite✓Publish (enabled) or unpublish (disabled) a form, like Enable form and Disable form in the editor. The agent asks you first.
duplicate_formWrite✓Duplicate a form as a new draft with the same content and settings.
delete_formsconfirmWrite✓Permanently delete forms and their confirmation emails. Captured contacts stay.
set_automation_paid_coverageWrite✓On a size-ladder email set to Price paid, choose only the first sample, the sum of the samples, or one code per sample. Percentage and Fixed amount stay as they are.
set_automation_discount_code_sourceWrite✓On an automation email with a Discount block, choose a new code for each contact, or The same code as the previous email: the code the contact already received from an earlier email of the workflow, with its expiry date. Allowed only when an earlier email on the same path creates a code. hide_expiry set to true leaves the expiry line out, like Hide the expiry date in the panel.
set_automation_small_formatWrite✓On an order automation, set the Small format filter: the variant option and unit, which purchased sizes enter, and which sizes of the same product the code covers. Only the fields sent change.
set_automation_order_totalWrite✓On an order automation, set the Order total or Order subtotal filter: only orders whose amount is more than, less than, at least, at most, between or equal to an amount enter. amount is total (the default: shipping and taxes included) or subtotal (the products after discounts, without shipping and taxes), in your store's currency. With filter ships_to_different_address it sets Ships to a different address instead: value true (ships elsewhere, a gift for example) or false, unknown exclude (default) or include for orders without an address. remove takes the filter away.
set_automation_audience_filtersWrite✓Set who may enter an automation, whatever its trigger: only contacts in a segment, or only contacts not in it. Replace the whole list, add one filter or remove one. Contacts already inside are not affected.
edit_automation_stepsWrite✓Add, remove or move an email step or a delay of an automation while it is off. A new email step gets its email at once, from your default sender: write it with write_campaign_email and give it a subject with update_email_settings. Removing an email step deletes its email (the assistant asks you first when it has content). It also adds a split on Ships to a different address (order triggers only) and fills its YES and NO paths with branch. Other splits and tag steps stay in the editor.
create_automation_draftWrite✓Create a DRAFT automation from a preset (welcome, abandoned cart/checkout, birthday), or an empty one from scratch on the trigger you pass (trigger_type), to build in the editor. On Enters a segment (segment_entered) or Exits a segment (segment_exited), segment_id names one of your segments and include_existing_members also enrols who is already in it when you turn it on. With a preset, template_id makes its first email start from a template. The emails are written in Italian or English (language, or the language most of your emails use) and go out from your default sender. Never activates on its own.
enable_automationconfirmWrite✓Turn an automation on, with the same checks as Start workflow in the editor: an empty workflow, or an email without subject, sender or content, cannot start. The preview says who will enter (with the counts known in advance), the first emails and when they go out, and whether the people already in a segment are enrolled. The assistant shows it to you and turns the workflow on only after you confirm.
update_automation_settingsWrite✓Rename an automation and change its trigger settings: the entry frequency, who receives its emails (subscribed contacts only, or also non-subscribed), a segment trigger's segment and whether the people already in it enter, and on an order trigger the Purchased product, Brand and Collection filters (for example: exclude a brand from the sample discount). Only what you ask changes.
get_automation_reportRead–One automation's report, as on its report page: contacts entered, in progress, completed and exited, emails sent, opens, clicks, orders and revenue, each step's numbers and the last 30 days. Orders and revenue per store in salesByStore; store: that store's only, as the report page with that store open.
disable_automationconfirmWrite✓Turn a live automation off. The contacts currently inside either finish it or exit it now (contacts_in_workflow). enable_automation turns it on again.
delete_automationconfirmWrite✓Permanently delete an automation with its emails and report. The contacts inside finish it first or exit it now. Cannot be undone.
copy_automation_to_storesWrite✓Copy an automation into other stores you can open, as a new draft with the same steps. Same ecommerce platform only. The name you pass is stored exactly. Product ids, discount ids and secrets are not copied. The original is unchanged.
get_loyalty_programRead–The loyalty programme with every setting: on/off, earning rate, rounding, rewards, tiers, referrals, point expiry, points name, earning rules, widget and the headline figures. Requires the Pro or Enterprise plan.
get_loyalty_balanceRead–One contact's points: balance, the rewards they can afford, their last movements.
list_loyalty_membersRead–The programme's members, as Loyalty → Members lists them: balance, lifetime points, tier, multiplier override, referrer. Search by email or filter by tier, one page at a time. Also GET /api/v1/loyalty/members.
list_loyalty_activityRead–The points ledger, as Loyalty → Activity shows it: every movement, newest first, filtered by email, kind or dates, one page at a time. Also GET /api/v1/loyalty/activity.
configure_loyalty_programWrite✓Switch the programme on or off, set the earning rate and rounding, replace the rewards catalogue, the tiers and the earning rules, set up referrals, point expiry, the points name and the widget. Points start from switching on. Also GET and PATCH /api/v1/loyalty/program.
adjust_loyalty_pointsWrite✓Credit or debit points to a contact by hand. The note is optional. A debit that would pass zero is refused, and marketing consent is not changed.
import_loyalty_balancesWrite✓Import balances from another programme (CSV with email and points): one credit per contact, idempotent per import id.
redeem_loyalty_rewardWrite✓Redeem a reward for a contact: debits the points and mints a single-use code on the connected store (Shopify discount or WooCommerce coupon), returned to hand over. An account with both stores mints on Shopify.
list_crm_pipelinesRead–List CRM pipelines with their stages (open/won/lost) and the CRM custom fields. Card operations start here. Requires a plan with CRM access.
list_crm_templatesRead–List the starter CRM templates (B2B sales, ecommerce sales, support, customer onboarding) with their stages. The same ids start a pipeline or the CRM Board. Requires a plan with CRM access.
list_crm_cardsRead–List CRM cards for a pipeline or for a contact (by email), with stage, amount, priority and follow-up.
get_crm_cardRead–One CRM card in full, including custom fields.
create_crm_from_templateWrite✓Create a pipeline and its stage board from a starter template (template_id from list_crm_templates). One column per stage. The same template_id on create_crm_board_from_template creates the board on CRM → Board. Does not create a contact or a subscription.
create_crm_board_from_templateWrite✓Create the CRM → Board from a starter template (the same template_id as list_crm_templates). Columns are the template stages, and the board is ready to use. Customers already in the account show in the first column. Moving a card does not change the contact outcome. Does not create a pipeline, a contact, or a subscription.
create_crm_cardWrite–Create a card in a pipeline for a contact by email (contact created if missing, never subscribed as a side effect), optionally with its company, rating, win probability and opening date.
move_crm_cardWrite–Move a card to another stage of its pipeline (e.g. advance a deal to Won).
add_crm_noteWrite–Add a note to a contact's CRM timeline, visible on the contact page and board panel.
update_crm_cardWrite✓Update a card's title, amount, priority, follow-up, company, rating, win probability, opening date, archive flag or custom fields.
manage_crm_companiesWrite✓List, read, create, edit, archive, restore and merge the companies of CRM → Companies, and link or unlink contacts. Never duplicates a company with the same name or domain; linking never changes consent. Also customer revenue by week or month: read a customer's periods, list declining customers, import an ERP export (idempotent per customer and period), read or change the alert rule.
edit_crm_pipelineWrite✓Create a pipeline from scratch with its stages, rename it, archive or restore it, or delete it while it has no cards. Owner or Admin.
edit_crm_stagesWrite✓Add, rename, re-kind (open, won, lost, postponed), set the default win probability or an automatic reminder, reorder or remove a pipeline's stages. A stage with cards cannot be removed. Owner or Admin.
edit_crm_fieldWrite✓Define, edit or archive a CRM custom field. Key and type never change; values stay readable after archiving. Owner or Admin.
list_crm_boardsRead–The boards of CRM → Board with their columns and filters. Requires the CRM Board (Enterprise).
edit_crm_boardWrite✓Create a board (by outcome or with free columns), rename it, change its filters, or delete it. Contacts, outcomes and notes are never deleted.
edit_crm_board_columnsWrite✓Add, rename, reorder or remove a board's columns. Contacts in a removed custom column move to the initial one.
move_crm_board_contactWrite✓Move a contact to a board column. On a board by outcome this sets the contact's outcome; consent never changes.
set_crm_contact_stateWrite✓A customer's outcome, priority, follow-up and assignee, as the Operations panel of their CRM page. Logged on the timeline.
list_crm_activitiesRead–A customer's CRM entries: notes, tasks, logged calls, emails and meetings, outcome changes.
edit_crm_activityWrite✓Add a task, complete or reopen it, log a call, email or meeting that happened, or delete an entry. Nothing is sent to the customer.
list_crm_syncsRead–Import & Sync: connected sources, saved syncs, run history; and the documents, tabs and columns of a connected sheet.
edit_crm_syncWrite✓Save a sync with its mapping and schedule, run it now, delete it, or disconnect a source. Connecting a source needs the browser.
remove_contact_tagWrite✓Remove one tag from emails, a segment, or the whole audience. Does not create contacts and does not change consent.
delete_audience_tagsconfirmWrite✓Delete tags from the account: the label comes off every contact that carries it. Contacts stay.
set_contact_consentconfirmWrite✓Subscribe or unsubscribe contacts (emails, a segment, or everyone). Subscribe is an explicit consent change: it lifts an unsubscribe, never a spam complaint, a hard bounce or a manual block (those contacts are skipped and reported). Addresses that are not your contacts are left alone. The same change over the API: POST /api/v1/contacts/consent.
delete_contactsconfirmWrite✓Permanently delete contacts from the Sendcore audience. Store customers can come back on the next sync.
import_contactsWrite✓Import up to 1000 contacts (rows or CSV) with the same rules as Audience → Imports. Contacts are imported subscribed only with consent_attestation=true, after you confirm they opted in. A file does not re-subscribe anyone. existing_contacts (update_all, update_properties, update_status, skip) and overwrite_empty_fields make the Finalize import choices.
resolve_import_holdWrite✓Legacy: imports are no longer held since 21 November 2026. Resolves an import held before that still waits: keep it up to the limit, or request a review. For any other import it answers that imports are no longer held.
rename_segmentWrite✓Rename a segment. Members, rules and the id stay, so campaigns keep targeting it.
update_filter_segmentWrite✓Replace the rules of an existing filter segment without changing its id.
delete_segmentconfirmWrite✓Permanently delete a segment. Contacts are not deleted.
copy_segmentWrite✓Duplicate a segment as a new one (filter rules or the manual email list). A Shopify-linked segment becomes a manual snapshot of its members. The source is unchanged.
copy_campaignWrite✓Duplicate a campaign as a new draft. Nothing is sent. To put new words in the copy and keep its design: write_campaign_email with mode "texts".
set_loyalty_multiplierWrite✓Set or clear one contact's points multiplier (0 to 10, or empty to use the tier). Requires Pro or Enterprise.
get_website_connectionsRead–The websites connected for forms (Settings → Integrations → Website): host, site key, snippet, whether the installation is verified, last check and last activity. Also GET /api/v1/integrations/website.
connect_websiteWrite✓Connect a website (WordPress without WooCommerce, Wix, Webflow, custom) so forms appear on it. Returns the site key and the snippet. Owner or Admin. Also POST /api/v1/integrations/website.
verify_website_installationWrite✓Check that a connected website carries its snippet or the plugin's key: installed, or not detected with the reason. Owner or Admin. Also POST /api/v1/integrations/website/verify.
disconnect_websiteconfirmWrite✓Disconnect a website: forms stop appearing there and its key stops working; contacts and forms stay. Owner or Admin. Also DELETE /api/v1/integrations/website.
get_migration_reportRead–The Omnisend migration (Settings → Integrations → Migration): whether Omnisend is connected, the latest run and, per automation, segment and campaign, what was imported and what needs a manual check. Owner or Admin. Also GET /api/v1/migrations.
start_migrationWrite✓Analyze the connected Omnisend account and prepare the plan. Imports nothing. The merchant connects Omnisend with their API key in the dashboard. Owner or Admin. Also POST /api/v1/migrations.
confirm_migrationconfirmWrite✓Confirm the plan and start the import: contacts through the consent gate, automations and campaigns as drafts, sent campaigns as saved templates. Re-running never duplicates. Owner or Admin. Also POST /api/v1/migrations/confirm.
cancel_migrationWrite✓Stop a migration that is analyzing, waiting or importing. What was imported stays. Owner or Admin. Also POST /api/v1/migrations/cancel.
manage_teamconfirmWrite✓action list (any member: members, roles, pending invitations), invite, change_role, remove, cancel_invitation, leave or create_workspace. Changes: Owner or Admin; only an Owner invites or grants Owner or Admin; nobody changes their own role; the workspace always keeps an Owner. leave: the connected member leaves the workspace themselves, whatever their role (not its creator, not its only Owner, not a partner before the handover); their keys and connections to it stop working. create_workspace (any role; optional name and request_id): opens a new, empty workspace of your own with the same login, on Free, with you as its Owner and nothing copied; repeat request_id on a retry to get the same one back; on an All my workspaces connection it becomes the active one; through an API key, only on a key the Owner created. An invite's answer carries the invite link. Also /api/v1/team (leave: DELETE with {"leave": true}) and POST /api/v1/workspaces.
manage_sending_domainconfirmWrite✓action get (any member: domain, verified or not, DNS records, DMARC), set (add or replace the domain; replacing a verified one needs confirm_replace with the current domain) or verify (the Verify domain button). Changes: Owner or Admin. Also /api/v1/sending-domain.
manage_api_accessconfirmWrite✓action list (any member: API keys without secrets, AI connections), create_key (its secret is in the answer ONCE: store it safely; the key follows the role of the member behind the connection), revoke_key or revoke_ai_connection. Changes: Owner or Admin; any member can revoke their own AI connection in Settings → AI / MCP. Also /api/v1/api-keys.
manage_whatsappconfirmWrite✓action status or templates (any member, no token), connect (paste the access token, Phone number ID and WhatsApp Business account ID from Meta API Setup; the token is stored sealed and never returned), disconnect, or send_test (one approved template, such as hello_world in en_US, to a number you type; no contact is created and consent does not change). Changes: Owner or Admin. Also /api/v1/integrations/whatsapp.
manage_store_connectionconfirmWrite✓action status (any member: Shopify, WooCommerce, websites, Meta Conversions API), connect (the link to connect a Shopify or WooCommerce store: you open it and approve in the browser, the tool cannot) or disconnect (contacts and history stay). Changes: Owner or Admin. Also /api/v1/integrations.
manage_billingconfirmWrite✓action overview (any member: plan, price and contact band for your list, this month's usage, what the next renewal will cost) or change_plan (returns the Stripe Checkout or Shopify approval link you open to pay or approve; never charges by itself; Owner only). Also /api/v1/billing.

An end-to-end example, from your assistant: "Create a campaign for the restock, write the content on my brand kit, propose 5 subject lines and send me a test": four tools chained, without opening the editor. The same capabilities, plus per-role team permissions, live in the dashboard's AI chat.