Omnisend MCP server
107 operations0 webhooks
Email and SMS marketing with Omnisend: contacts and tags, campaigns (send, A/B tests, UTM), automations, segments, email templates and layouts, forms, products, categories, events, images, analytics and batches (107 operations).
Try Omnisend with your agent
Connect Omnisend, 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 Omnisend on my account, then run one read-only example and show me the result.
Omnisend tools and triggers
Tools are what your agent can do in Omnisend through Corsair's MCP server. Triggers are the Omnisend events a routine can start from.
Automations
- CopyWrite
Copy automation workflow. Create a copy of an existing automation workflow. The copy is always created in a disabled state, regardless of the source automation's status. The request body is optional. When provided, you can specify a custom name for the copy.
automations.copy
- CreateWrite
Create automation workflow. Create a new automation workflow.
automations.create
- DeleteDestructive
Delete automation workflow. Delete a single automation workflow by ID. This operation is idempotent — deleting a non-existent automation returns a success response. Cannot be undone.
automations.delete
- Delete ScheduleDestructive
Delete automation workflow schedule. Remove the scheduled start and end of an automation workflow. isEnabled is not changed. This operation is idempotent — deleting a schedule that does not exist returns a success response. Cannot be undone.
automations.deleteSchedule
- DisableWrite
Disable automation workflow. Disable an automation workflow. Once disabled, the workflow stops accepting new trigger events. Use contactsInWorkflow to control what happens to contacts currently progressing through the workflow: - keep: contacts remain and continue through the remaining blocks until completion.
automations.disable
- EnableDestructive
Enable automation workflow. Enable an automation workflow. Once enabled, the workflow starts processing trigger events in real time. The request body is optional. Use enrollExisting to also enroll contacts who already qualify at the time of enabling. An enabled automation emails or texts contacts on its own whenever its trigger fires.
automations.enable
- GetRead-only
Get automation workflow. Get a single automation workflow by ID.
automations.get
- Get Block UtmRead-only
Get UTM tags for an automation block. Retrieve UTM tracking tags for a specific send-action block. Missing or cleared tags are returned with their default values.
automations.getBlockUtm
- Get ScheduleRead-only
Get automation workflow schedule. Get the scheduled start and end of an automation workflow. Returns 204 No Content when the workflow has no schedule.
automations.getSchedule
- Get UtmRead-only
Get aggregated UTM tags for all blocks. Retrieve UTM tracking tags for all send-action blocks in an automation. Each block's tags include default-value synthesis for missing fields.
automations.getUtm
- ListRead-only
List automation workflows. List automation workflows with filtering, sorting, and cursor-based pagination.
automations.list
- Replace BlocksWrite
Replace automation workflow blocks. Replace the full block tree for an automation workflow. Blocks identified by id are updated in place. Blocks identified by temporaryID are created as new blocks. Existing blocks not included in this array are removed. Enabled automations cannot be restructured.
automations.replaceBlocks
- Send Block Test EmailDestructive
Send test email. Send the saved email content of a specific email block as a test email to up to 5 recipients. The email is rendered and delivered asynchronously. Sends a real email to the given addresses.
automations.sendBlockTestEmail
- Set Block UtmWrite
Update UTM tags for an automation block. Set UTM tracking tags for a specific send-action block. All three tag fields are replaced atomically. Send an empty string to clear a field — the next read will return its default value.
automations.setBlockUtm
- Set ScheduleWrite
Save automation workflow schedule. Schedule when an automation workflow is enabled (startAt), disabled (endAt), or both. The request replaces the whole schedule. Saving a schedule does not change isEnabled. - startAt can be set only for a disabled workflow. At startAt the workflow is enabled the same way as with the enable action.
automations.setSchedule
- UpdateWrite
Patch automation workflow. Partially update an automation workflow. Only the fields provided in the request body are updated. Enabled automations cannot be patched. Disable the automation via POST /automations/{id}/disable, make changes, then re-enable via POST /automations/{id}/enable when ready.
automations.update
Campaigns
- CancelWrite
Cancel a scheduled, paused or started-email campaign; sent campaigns cannot be canceled.
campaigns.cancel
- CopyWrite
Duplicate a campaign as a new draft.
campaigns.copy
- CreateWrite
Create a draft campaign. A regular email campaign needs content.email.templateID and senderName (Omnisend answers 400 without them), and creating with no verified sender answers 422.
campaigns.create
- DeleteDestructive
Delete a campaign; it cannot be restored.
campaigns.delete
- GetRead-only
Read one campaign by id, with its content and sending settings.
campaigns.get
- Get UtmRead-only
Read the UTM tags stamped on a campaign links.
campaigns.getUtm
- ListRead-only
Page the campaigns, filtered by status, channel, type, name or dates.
campaigns.list
- Restore To DraftWrite
Move a scheduled campaign back to draft.
campaigns.restoreToDraft
- Resume Ab TestDestructive
Resume A/B test. Resume a stopped A/B test. Automatic winner selection becomes eligible to pick this campaign again. Available only while the campaign is in stopped status. Sending to the test audience starts again.
campaigns.resumeAbTest
- Select Ab Test WinnerDestructive
Select A/B test winner. Manually pick a variant as the winner. The chosen variant is routed into the send pipeline immediately. Sends the chosen variant to the rest of the audience.
campaigns.selectAbTestWinner
- SendDestructive
Send a draft campaign to its audience. This cannot be undone, and it answers 402 when the audience exceeds the billing tier. Sends the campaign to its whole audience; it cannot be undone.
campaigns.send
- Send Test EmailDestructive
Render a campaign and email it to 1-5 addresses. Omnisend sends to exactly the addresses given, so use internal test inboxes, not customers.
campaigns.sendTestEmail
- Set UtmWrite
Set the UTM tags stamped on a campaign links. Send tags for a regular campaign or variants for an A/B test campaign, not both.
campaigns.setUtm
- Stop Ab TestWrite
Stop A/B test. Halt the A/B test winner-selection phase. While stopped, automatic winner selection no longer considers this campaign until it is resumed. Available only while the campaign is in started status.
campaigns.stopAbTest
- UpdateWrite
Change a draft campaign; started or scheduled campaigns answer 409.
campaigns.update
Forms
- CreateWrite
Create form. Create a form with its full content and styling. New forms start in draft status and are not shown to visitors until enabled via POST /forms/{formID}/enable. Choosing a display type: - popup — modal centered over the page that dims the background.
forms.create
- DeleteDestructive
Delete form. Delete a single form by ID. Forms can be deleted in any state (draft, enabled, disabled). Deleting a non-existent form succeeds (idempotent). When the form owns an A/B test setup, the setup and its version forms are deleted as well. Cannot be undone.
forms.delete
- DisableWrite
Disable form. Disable a single form by ID. Disabling stops serving the form to visitors and moves it to disabled status; the form and its content are preserved and can be enabled again later. Disabling an already disabled form succeeds (idempotent).
forms.disable
- EnableWrite
Enable form. Enable a single form by ID. Enabling publishes the form and starts serving it to visitors according to its targeting rules; the form moves to enabled status. Enabling an already enabled form succeeds (idempotent).
forms.enable
- GetRead-only
Get form. Get a single form by ID, including its content, styling, targeting rules, and status. When the form is part of an A/B test, abSetupID and abStatus identify the setup it belongs to.
forms.get
- Get Periodic ReportRead-only
Get form periodic report. Get a time series of form performance statistics within a date range.
forms.getPeriodicReport
- Get ReportRead-only
Get form report. Get aggregated performance statistics for a single form within a date range. The response contains statistics (totals across all devices) and statisticsByDevice, the same counters split into the desktop, mobile, and tablet buckets. Device buckets with no activity in the range are omitted.
forms.getReport
- ListRead-only
List forms. List forms with sorting and cursor-based pagination support.
forms.list
- List Ab Setup ReportsRead-only
List A/B setup reports for a form. Returns the results of the A/B tests of the given form. Each report covers one A/B setup and contains the period it ran for (startedAt, and completedAt once it finished), the winning version, and per-version statistics.
forms.listAbSetupReports
- List ContactsRead-only
Get form submitted contacts. Get the contacts that signed up through the given form, most recent first by default, together with the values they submitted (email, phone, name, address fields, discount code, and custom properties). Pagination: results are cursor-based.
forms.listContacts
- RenderRead-only
Render a form. Render a single form by ID and return its display steps as HTML. The form is rendered from its current stored content without enabling it or serving it to visitors, so the response can be used to preview how the form will look.
forms.render
- UpdateWrite
Update form. Partially update a form. Only the fields present in the request body are changed; omitted fields are left unchanged. Nested objects must be sent complete, as they fully replace the stored value. Sending null for an optional field clears it, while sending null for a mandatory field is rejected.
forms.update
Contacts
- Add TagsWrite
Queue tags onto up to 250 contacts by id, email or phone, or every contact in a segment; the route answers 202 and the tags appear shortly after.
contacts.addTags
- GetRead-only
Read one contact by id, with its identifiers and consents.
contacts.get
- ListRead-only
Page the brand contacts, filtered by email, phone, status, segment or tag.
contacts.list
- Remove TagsDestructive
Queue tag removal for up to 250 contacts by id, email or phone, or every contact in a segment; the route answers 202 and the tags disappear shortly after.
contacts.removeTags
- UpdateWrite
Change a contact by id; sent tags replace the existing ones, so removing one tag means sending the rest.
contacts.update
- Update By EmailWrite
Change the contact an email address matches; sent tags replace the existing ones.
contacts.updateByEmail
- UpsertWrite
Create a contact, or update the one an identifier already matches; sent tags replace the existing ones.
contacts.upsert
Templates
- CreateWrite
Create an email template. Omnisend requires name, generalSettings (with its 3 default button presets and 5 default text presets) and at least one section. Simplest: templates.importFromHtml, or copy generalSettings and sections from templates.get of an existing template.
templates.create
- DeleteDestructive
Delete an email template.
templates.delete
- GetRead-only
Read one email template by id, with its sections and styles.
templates.get
- Import From HtmlWrite
Import raw HTML, up to 1 MB, as a new email template Omnisend converts to editor sections.
templates.importFromHtml
- ListRead-only
Page the email templates, filtered by name.
templates.list
- RenderRead-only
Render a template to its HTML for preview; nothing is sent and no state changes.
templates.render
- ReplaceWrite
Replace an email template in full. Takes the same body as templates.create: name, generalSettings with the default presets and at least one section.
templates.replace
Form Ab Setups
- CreateWrite
Create a form A/B setup. Create a draft form A/B setup from an existing popup, flyout or fullscreen form. Only those display types are eligible; the source form becomes the setup's main form and its two variants start as identical copies that can be edited independently afterward.
formAbSetups.create
- DeleteDestructive
Delete a form A/B setup. Delete a single form A/B setup by ID. Only draft form A/B setups can be deleted; enabled or completed setups cannot. Deleting a non-existent form A/B setup succeeds (idempotent).
formAbSetups.delete
- GetRead-only
Get a form A/B setup. Get a single form A/B setup by ID, including its main form, variant forms with their weights, status, lifecycle timestamps, and the auto-close policy configured when the test was started (if any).
formAbSetups.get
- ListRead-only
List form A/B setups. List form A/B setups with sorting and cursor-based pagination support. Each setup includes the auto-close policy configured when the test was started (if any).
formAbSetups.list
- Select WinnerWrite
Select a form A/B setup winner. Select a winning variant for a form A/B setup by its version form ID. A winner can only be selected for an enabled (started) setup; selecting one concludes the test in favor of the chosen variant.
formAbSetups.selectWinner
- StartWrite
Start a form A/B setup. Start a form A/B test by ID. Launches the A/B setup so its variants begin serving to visitors according to their weights, moving the setup to enabled status. Starting a form A/B setup that has already been started returns a conflict.
formAbSetups.start
Segments
- CreateWrite
Create segment. Creates a new segment. (POST /segments)
segments.create
- DeleteDestructive
Delete segment. Permanently deletes a segment by its unique identifier. The segment must not be in a building state to be deleted. If the segment is currently being built, a 409 Conflict error is returned. Cannot be undone.
segments.delete
- GetRead-only
Get segment. Returns a segment by its unique identifier.
segments.get
- Get StatisticsRead-only
Get segment statistics. Returns statistics for a segment, including the total number of matching contacts. Returns 409 Conflict (segment-building) while the segment is building; retry once it is ready.
segments.getStatistics
- ListRead-only
List segments. List segments with sorting and cursor-based pagination support.
segments.list
- ReplaceWrite
Update segment. Updates an existing segment by ID. The segment must not be in a building state to be updated. If the segment is currently being built, a 409 Conflict error is returned.
segments.replace
Categories
- CreateWrite
Create a product category under your own category ID.
categories.create
- DeleteDestructive
Delete a product category.
categories.delete
- GetRead-only
Read one product category by your own category ID.
categories.get
- ListRead-only
Page the product categories.
categories.list
- UpdateWrite
Rename a product category.
categories.update
Images
- DeleteDestructive
Delete image. With this endpoint you can delete an image by ID. Cannot be undone.
images.delete
- GetRead-only
Get image. With this endpoint you can get a single image by ID.
images.get
- ListRead-only
List images. With this endpoint you can get a paginated list of images for a brand.
images.list
- UploadWrite
Upload image file. With this endpoint you can upload an image file directly from your computer. File Requirements: - Supported formats: JPEG, PNG, GIF, WebP - Maximum file size: 5MB. Sends the file as multipart form data.
images.upload
- Upload From UrlWrite
Upload image by URL. With this endpoint you can upload an image from a publicly accessible URL. If the name is not provided, the filename will be extracted from the URL.
images.uploadFromUrl
Products
- CreateWrite
Create a catalog product with at least one variant; prices are floats in the store currency.
products.create
- DeleteDestructive
Delete a product from the catalog.
products.delete
- GetRead-only
Read one product by your own product ID, with its variants and prices.
products.get
- ListRead-only
Page the catalog products, filtered by title or dates.
products.list
- ReplaceWrite
Replace a product in full; omitted fields drop to their defaults.
products.replace
Universal Layouts
- CreateWrite
Create universal layout. With this endpoint you can create a new universal layout. content is one section: rows (columns of blocks) and styleProperties; copy one from templates.get to start.
universalLayouts.create
- DeleteDestructive
Delete universal layout. With this endpoint you can delete a universal layout by ID. Cannot be undone.
universalLayouts.delete
- GetRead-only
Get universal layout. With this endpoint you can get a universal layout by ID.
universalLayouts.get
- ListRead-only
Get universal layouts. With this endpoint you can get a paginated list of universal layouts. Sorting: Items are returned in descending order by creation time (newest first). This is based on the internal document ID which contains a timestamp.
universalLayouts.list
- ReplaceWrite
Update universal layout. With this endpoint you can update (fully replace) a universal layout by ID. content is one section: rows (columns of blocks) and styleProperties.
universalLayouts.replace
Batches
- CreateDestructive
Queue up to 100 contact, product, category or event writes that Omnisend applies one by one, and read the batch back with batches.get until it is finished or stopped. An events batch can start automations that message customers, like events.send.
batches.create
- GetRead-only
Read a batch status and counts; pending and inProgress mean it still runs, finished and stopped mean it ended.
batches.get
- ListRead-only
Page the batches for one endpoint; categories batches cannot be listed.
batches.list
- List ItemsRead-only
Read the per-item requests, responses and errors of a batch.
batches.listItems
Events
- Define SchemaWrite
Declare a custom event schema and its property types; a type, once declared, cannot change.
events.defineSchema
- Query MetadataRead-only
List the event schemas the brand knows, per category, with their declared property types.
events.queryMetadata
- SendDestructive
Record an event for a contact, which creates or updates that contact and can trigger automations that email real customers. The event is queued (202) and append-only: it cannot be edited, read back or deleted. Omnisend's events guide asks for an origin on every event: use "api" unless your integration has its own origin.
events.send
- Update SchemaWrite
Merge changes into an event schema; the properties present change and none are deleted, and a declared type cannot change.
events.updateSchema
Email Content
- GetRead-only
Read the content of a campaign email by id.
emailContent.get
- RenderRead-only
Render a campaign email to its HTML for preview; nothing is sent and no state changes.
emailContent.render
- ReplaceWrite
Replace a campaign email content in full; omitted fields drop to their defaults.
emailContent.replace
Form Templates
- GetRead-only
Get template. Get a single form template by ID.
formTemplates.get
- ListRead-only
List form templates. List form templates with sorting, filtering and cursor-based pagination support. Only templates available in the brand's library are returned, each with its full content and brand assets applied.
formTemplates.list
- RenderRead-only
Render a form template. Render a single form template by ID and return its display steps as HTML.
formTemplates.render
Analytics
- Generate ReportRead-only
Generate report. Returns aggregated marketing analytics grouped by message send date. Covers delivery, engagement, and revenue attribution metrics for campaigns and automations. Supports optional dimensions (timestamp, channel, activity), filters, and up to 4 queries per request. Limited to 10 calls a minute and 55 a day per brand; a 429 comes back as is, without retries.
analytics.generateReport
- Generate StatisticsRead-only
Generate report. Returns aggregated marketing analytics grouped by event date (when opens, clicks, orders actually occurred). Covers delivery, engagement, revenue attribution, and audience growth metrics. Requires a timestamp dimension. Limited to 10 calls a minute and 55 a day per brand; a 429 comes back as is, without retries.
analytics.generateStatistics
Brands
- Get CurrentRead-only
Get information about brand. With this endpoint you can get brand's information.
brands.getCurrent
Content Translations
- List LanguagesRead-only
Get store languages. Returns the languages available for the store's content together with the store's default language.
contentTranslations.listLanguages
Connect Omnisend to Claude, ChatGPT or Cursor
- 1
Connect Omnisend in Corsair
Add your Omnisend API key once in Corsair. Corsair stores the credential encrypted and makes the Omnisend API calls for your agent, so it never goes into a prompt or a config file. Connect Omnisend
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Omnisend. On a ChatGPT personal plan, connect Omnisend here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.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, Omnisend's read and write operations run right away and its 20 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/omnisend, add the Omnisend plugin, and connect with an API key. Then call methods like corsair.omnisend.api.analytics.generateReport() from your app. Corsair keeps each tenant isolated.
Yes. Omnisend requires an API key from your Omnisend 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 Omnisend, GitHub, Notion, Stripe, and the rest. Trigger Omnisend from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for email and SMS marketing with Omnisend: contacts and tags, campaigns (send, A/B tests, UTM), automations, segments, email templates and layouts, forms, products, categories, events, images, analytics and batches (107 operations). Common builds include sync jobs, admin tooling, and agents that call Omnisend APIs from your backend.
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 Omnisend 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/omnisend in the open repo. When Omnisend 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 Omnisend data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Omnisend 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 Omnisend 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 20 destructive Omnisend operations. You can change a link's mode at hub.corsair.dev/me.