Mailbase
FeaturesPricingDocsBlogComparisonsChangelog
Sign inStart free
Home/Blog/Developer API and MCP Access in Mailbase
ProductUpdated May 27, 20266 min read

Developer API and MCP Access in Mailbase

A product guide to Mailbase's REST API, scoped tokens, signed webhooks, and the optional MCP server.

By Mailbase Team · Target keyword: email API and webhooks
AI assistant interface on a laptop — Developer API and MCP Access in Mailbase
Photo from Unsplash
Updated May 2026: The MCP server is now 100% MCP-driven — `draft_variant` and `get_ai_policy` were removed because the connected AI client is itself the LLM and writes variants directly. `use_workspace` on OAuth-scoped sessions now returns a friendly "already operating in X" message instead of an error.
On this page
OverviewThe REST APIWebhooks And MCPCommon MistakesRelated guidesFAQRelated reading

Overview

Everything the app does is reachable over a REST API scoped to one workspace. Tokens carry explicit scopes, the contract is published as OpenAPI, and webhooks report what happens after a send.

The REST API

Abstract AI illustration — neural network on screen — The REST API
Photo from Unsplash

Contacts, audiences, templates, campaigns, events and sending are all addressable under /api/v1, and the full contract is served at /api/v1/openapi.json so clients can be generated rather than hand-written. Every call is bearer-authenticated with a scoped token and rate-limited per token, with the limits reported in response headers.

Writes accept an idempotency key so a retried request replays the original response instead of sending twice. Workspace resolution is explicit: a token resolves exactly one workspace, and a request that cannot resolve one fails rather than guessing.

  • OpenAPI contract at /api/v1/openapi.json
  • Scoped, expiring API tokens
  • Per-token rate limits in response headers
  • Idempotency keys on writes
  • One token, one workspace

Webhooks And MCP

Open laptop on a wooden desk — email workflow — Webhooks And MCP
Photo from Unsplash

Outgoing webhooks deliver workspace events with a signature and a delivery log you can inspect and replay, so an endpoint that was down does not silently lose history.

An MCP server is also available for people who want to drive Mailbase from an editor. It is not how the product expects to be used, and it is not required for anything: OAuth-scoped clients stay pinned to the workspace they were authorized for, and a session that cannot resolve a workspace fails safely.

  • Signed outgoing webhooks
  • Delivery logs and replay
  • Optional MCP server
  • OAuth-scoped workspace pinning
  • No automatic sending

Common Mistakes

  • Choosing a tool before deciding who owns deliverability.
  • Treating DNS authentication as a one-time checkbox instead of an operating baseline.
  • Mixing product-critical transactional email with experimental marketing sends, with no clear boundary.
  • Trusting headline metrics (like open rate) that privacy proxies now inflate.

Related guides

More on email api and webhooks and the surrounding product workflow:

reply inbox workflow
scheduled email campaigns
cron setup docs
durable email send jobs
AI email task workflow
MCP OAuth docs
Mailbase deliverability controls
Try Mailbase free
Send 200 emails a month on us. Paid plans start at €9 — or bring your own useSend for €5.
See plans

FAQ

Where is the API contract?

At /api/v1/openapi.json. It is kept in sync with the implemented routes by a test that fails when they diverge.

Do I need MCP?

No. It is optional, and the REST API covers the same ground. MCP exists for people who prefer driving the product from an editor.

Does access stay workspace-scoped?

Yes. A token resolves exactly one workspace, and OAuth-scoped MCP clients stay pinned to the workspace they were authorized for.

Related reading

Product6 min read
Reply Inbox Email Workflow in Mailbase
A product guide to the Mailbase reply inbox for teams that want campaign replies, support context, and follow-up work in one place.
Product5 min read
Scheduled Email Campaigns in Mailbase
A product guide to scheduled campaigns now that Mailbase can schedule, reschedule, cancel, and execute sends through durable jobs.
Product6 min read
Durable Email Send Jobs in Mailbase
A product guide to Mailbase's durable send-job pipeline for reliable campaign launches and scheduled sends.
Product6 min read
AI Email Workflow in Mailbase
A product guide to in-context AI drafting, the assistant's task queue, and proposal-first inbox triage.
Product6 min read
Mailbase Deliverability Controls
A product guide to the deliverability controls Mailbase exposes across sending, analytics, compliance, and Settings.
Product6 min read
Transactional Email API Service in Mailbase
A product guide to Mailbase's `/api/v1/send` endpoint and developer platform controls for transactional email.
Mailbase
Product
FeaturesPricinguseSend integrationChangelog
Learn
BlogDocsAPI referenceResources
Compare
ComparisonsAlternatives
Guides
Transactional email servicesSelf-hosted useSend stackSelf-hosted email marketingSPF, DKIM & DMARCEmail deliverability
Legal
TermsPrivacy
© 2026 Mailbase · french-webEmail workflow for builders.