Skip to main content
Use MailBluster through Corsair: one client, typed API calls, local DB sync. Create a key in MailBluster under Brand settings → API keys. It goes in the Authorization header as is, with no Bearer prefix. Each key belongs to one brand. MailBluster allows 10 requests per second and 100 per minute; core retries a 429 after Retry-After. Custom fields are a paid feature: on the free Starter plan fields.create, fields.update and fields.delete answer 403 FeatureLocked (fields.list still works). Leads are addressed by the MD5 hash of their email: leads.get, leads.update and leads.delete take either email (the plugin trims and lower-cases it, then takes its MD5 hash) or leadHash, which must be the MD5 of the trimmed, lower-case address; leads.create takes the email itself. Product and order ids are ones you choose. Errors keep MailBluster’s reason (“Lead not found”, “The API key is invalid”) but not the request, the response body or the lead’s URL. The local database keeps lead ids, subscription state and tags, field definitions, products, and order totals; emails, names, IP addresses and field values are not stored. What you get:
  • 18 typed API operations
  • 4 synced entities (fields, leads, orders, products) for fast .search() / .list()

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

Look up a lead by email
Add an unsubscribed lead with a tag
See the full list on the API page.

Query synced data

Synced entities support tenant.mailbluster.db.<entity>.search() and .list(): fields, leads, orders, products. See Database for filters and operators.

What’s next

API reference

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

Database

Synced entities, search filters, and operators.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.