Skip to main content
Use Omnisend through Corsair: one client, typed API calls. Create an API key in Omnisend under Store settings > API keys and give it the scopes you need (contacts, campaigns, automations, products and so on). Things to know before you write:
  • Sending is final. campaigns.send emails or texts the campaign’s whole audience and campaigns.selectAbTestWinner sends the winning variant to the rest; both are destructive. campaigns.sendTestEmail and automations.sendBlockTestEmail send real mail to the addresses you give. automations.enable turns on a flow that messages contacts whenever its trigger fires.
  • Events trigger automations. events.send records a customer event (placed order, custom events) and creates or updates the contact; it can start automations that email real customers and cannot be edited or deleted afterwards.
  • Tags replace. contacts.update, contacts.updateByEmail and contacts.upsert replace a contact’s tag list with the one you send. Use contacts.addTags / contacts.removeTags to change tags on up to 250 contacts or a whole segment (queued, 202).
  • Batches. batches.create queues up to 100 contact, product, category or event writes; read progress with batches.get and per-item results with batches.listItems.
  • Paging. Most lists page with after / before cursors from paging.cursors and stop when paging.hasMore is false; a few take offset and limit.
What you get:
  • 107 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

List contacts
Tag contacts
See the full list on the API page.

What’s next

API reference

Every omnisend.api.* operation with input and output types.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.