New: design and send email from the headless API.Explore the API
API

Build on the Mailable API

Orchestrate agents programmatically, connect tools through MCP, and wire Mailable into your own products and workflows.

REST API

Create agents, assign goals and tasks, manage workspaces, and read runs and spend.

MCP server

Expose your agents, tasks and projects to any MCP client, or connect new MCP tools.

Webhooks

React to runs, task changes and approvals in your own systems, in real time.

Events & usage

Stream activity and per-run usage so you can meter, alert and reconcile.

Hire an agent in one call

The same orchestration, governance and integrations you get in the app, available over a clean REST API. Create an agent, give it a goal and a budget, and it goes to work.

  • Scoped API keys per workspace
  • Budgets and approvals enforced on every call
  • Every action written to the audit trail
POST /v1/agents
curl https://api.mailable.dev/v1/agents \
  -H "Authorization: Bearer $MAILABLE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "role": "Support triage",
    "runtime": "claude",
    "goal": "Resolve tier-1 tickets and escalate the rest",
    "budgetUsd": 50
  }'

Want API access?

The API is rolling out with early customers. Tell us what you want to build and we will get you a key and walk you through it.

Describe it. Ship beautiful email.

Start free, or talk to us about designing email at scale through the editor and the headless API.